Lines Matching defs:path
56 static int write_file(const char *path, const char *value)
60 fd = open(path, O_WRONLY|O_CREAT|O_NOFOLLOW, 0600);
79 static int _open(const char *path)
83 fd = open(path, O_RDONLY | O_NOFOLLOW);
85 fd = open(path, O_WRONLY | O_NOFOLLOW);
90 static int _chown(const char *path, unsigned int uid, unsigned int gid)
95 fd = _open(path);
113 static int _chmod(const char *path, mode_t mode)
118 fd = _open(path);
298 /* mkdir <path> [mode] [owner] [group] */
361 /* mount <type> <device> <path> <flags ...> <options> */
688 const char *path = args[1];
695 ERROR("cannot expand '%s' while writing to '%s'\n", value, path);
698 return write_file(path, prop_val);