Lines Matching refs:gid
77 unsigned int gid;
97 mode_t perm, unsigned int uid, unsigned int gid,
115 node->dp.gid = gid;
149 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm);
150 chown(buf, dp->uid, dp->gid);
155 static mode_t get_device_perm(const char *path, unsigned *uid, unsigned *gid)
177 *gid = dp->gid;
182 *gid = 0;
191 unsigned gid;
198 mode = get_device_perm(path, &uid, &gid) | (block ? S_IFBLK : S_IFCHR);
206 /* Temporarily change egid to avoid race condition setting the gid of the
209 * racy. Fixing the gid race at least fixed the issue with system_server
210 * opening dynamic input devices under the AID_INPUT gid. */
211 setegid(gid);