Lines Matching refs:uid
89 unsigned int uid;
103 mode_t perm, unsigned int uid, unsigned int gid,
120 node->dp.uid = uid;
155 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm);
156 chown(buf, dp->uid, dp->gid);
161 static mode_t get_device_perm(const char *path, unsigned *uid, unsigned *gid)
182 *uid = dp->uid;
187 *uid = 0;
196 unsigned uid;
201 mode = get_device_perm(path, &uid, &gid) | (block ? S_IFBLK : S_IFCHR);
205 * some device nodes, so the uid has to be set with chown() and is still
210 chown(path, uid, -1);
616 if (cred->uid != 0) {