Lines Matching refs:uid
74 unsigned int uid; member
96 mode_t perm, unsigned int uid, unsigned int gid, in add_dev_perms() argument
113 node->dp.uid = uid; in add_dev_perms()
148 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm); in fixup_sys_perms()
149 chown(buf, dp->uid, dp->gid); in fixup_sys_perms()
154 static mode_t get_device_perm(const char *path, unsigned *uid, unsigned *gid) in get_device_perm() argument
175 *uid = dp->uid; in get_device_perm()
180 *uid = 0; in get_device_perm()
189 unsigned uid; in make_device() local
195 mode = get_device_perm(path, &uid, &gid) | (block ? S_IFBLK : S_IFCHR); in make_device()
210 chown(path, uid, -1); in make_device()