Searched refs:cr_gid (Results 1 – 5 of 5) sorted by relevance
211 #define cr_gid cr_groups[0] macro
1123 want_rgid != cur_pcred->cr_gid && /* allow rgid = egid */ in setregid()1127 want_egid != cur_pcred->cr_gid && /* allow egid = egid */ in setregid()1134 uid_t new_egid = cur_pcred->cr_gid; in setregid()1135 if (want_egid != KAUTH_UID_NONE && cur_pcred->cr_gid != want_egid) { in setregid()1658 audit_token->val[2] = my_pcred->cr_gid; in proc_calc_audit_token()
1943 return posix_cred_get(cred)->cr_gid; in kauth_cred_getgid()4075 if (egid != KAUTH_GID_NONE && pcred->cr_gid != egid) { in kauth_cred_model_setresgid()4264 .cr_gid = gid, in kauth_cred_model_setuidgid()4482 (pcred->cr_rgid == pcred->cr_gid)) { in kauth_cred_copy_real()
7116 pcred->cr_svgid == pcred->cr_gid) { in exec_handle_sugid()7121 pcred->cr_svgid = pcred->cr_gid; in exec_handle_sugid()
1620 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_gid && in dtrace_priv_proc_common_user()1621 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_rgid && in dtrace_priv_proc_common_user()1622 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_sgid) in dtrace_priv_proc_common_user()7276 posix_cred_get(s_cr)->cr_gid != posix_cred_get(cr)->cr_gid || in dtrace_probe()7277 posix_cred_get(s_cr)->cr_gid != posix_cred_get(cr)->cr_rgid || in dtrace_probe()7278 posix_cred_get(s_cr)->cr_gid != posix_cred_get(cr)->cr_sgid || in dtrace_probe()