Lines Matching refs:gid
75 unsigned int gid; member
96 mode_t perm, unsigned int uid, unsigned int gid, in add_dev_perms() argument
114 node->dp.gid = gid; 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
176 *gid = dp->gid; in get_device_perm()
181 *gid = 0; in get_device_perm()
190 unsigned gid; in make_device() local
195 mode = get_device_perm(path, &uid, &gid) | (block ? S_IFBLK : S_IFCHR); in make_device()
208 setegid(gid); in make_device()