Searched refs:cr_gid (Results 1 – 4 of 4) sorted by relevance
1119 want_rgid != cur_pcred->cr_gid && /* allow rgid = egid */ in setregid()1123 want_egid != cur_pcred->cr_gid && /* allow egid = egid */ in setregid()1130 uid_t new_egid = cur_pcred->cr_gid; in setregid()1131 if (want_egid != KAUTH_UID_NONE && cur_pcred->cr_gid != want_egid) { in setregid()1276 gid = my_target_pcred->cr_gid; in settid_with_pid()1711 audit_token->val[2] = my_pcred->cr_gid; in proc_calc_audit_token()
2000 return posix_cred_get(cred)->cr_gid; in kauth_cred_getgid()4287 pcred->cr_gid == gid && pcred->cr_rgid == gid && pcred->cr_svgid == gid) { in kauth_cred_setuidgid()4930 (pcred->cr_rgid == pcred->cr_gid)) { in kauth_cred_copy_real()
156 #define cr_gid cr_groups[0] macro
1623 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_gid && in dtrace_priv_proc_common_user()1624 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_rgid && in dtrace_priv_proc_common_user()1625 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_sgid) in dtrace_priv_proc_common_user()7249 posix_cred_get(s_cr)->cr_gid != posix_cred_get(cr)->cr_gid || in dtrace_probe()7250 posix_cred_get(s_cr)->cr_gid != posix_cred_get(cr)->cr_rgid || in dtrace_probe()7251 posix_cred_get(s_cr)->cr_gid != posix_cred_get(cr)->cr_sgid || in dtrace_probe()