Lines Matching refs:gid
79 unsigned int gid;
99 mode_t perm, unsigned int uid, unsigned int gid,
117 node->dp.gid = gid;
151 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm);
152 chown(buf, dp->uid, dp->gid);
157 static mode_t get_device_perm(const char *path, unsigned *uid, unsigned *gid)
179 *gid = dp->gid;
184 *gid = 0;
193 unsigned gid;
200 mode = get_device_perm(path, &uid, &gid) | (block ? S_IFBLK : S_IFCHR);
208 /* Temporarily change egid to avoid race condition setting the gid of the
211 * racy. Fixing the gid race at least fixed the issue with system_server
212 * opening dynamic input devices under the AID_INPUT gid. */
213 setegid(gid);