Lines Matching defs:egid
1880 * Returns: 0 The egid did not displace a member of
1882 * 1 The egid being set displaced a member
1903 /* Ignoring the first entry, scan for a match for the new egid */
3698 * there was not an egid specified
3755 /* Caller *must* specify at least the egid in cr_groups[0] */
3906 * egid The new effective GID
3924 kauth_cred_setresgid(kauth_cred_t cred, gid_t rgid, gid_t egid, gid_t svgid)
3931 DEBUG_CRED_ENTER("kauth_cred_setresgid %p %d %d %d\n", cred, rgid, egid, svgid);
3937 if (pcred->cr_groups[0] == egid &&
3949 if (egid != KAUTH_GID_NONE) {
3951 if (kauth_cred_change_egid(&temp_cred, egid)) {
5650 * no egid specified, or we failed to