Searched refs:cr_gid (Results 1 – 5 of 5) sorted by relevance
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()1281 gid = posix_cred_get(target_cred)->cr_gid; in sys_settid_with_pid()1661 audit_token->val[2] = my_pcred->cr_gid; in proc_calc_audit_token()
1944 return posix_cred_get(cred)->cr_gid; in kauth_cred_getgid()3960 if (egid != KAUTH_GID_NONE && pcred->cr_gid != egid) { in kauth_cred_model_setresgid()4149 .cr_gid = gid, in kauth_cred_model_setuidgid()4391 (pcred->cr_rgid == pcred->cr_gid)) { in kauth_cred_copy_real()
6664 pcred->cr_svgid == pcred->cr_gid) { in exec_handle_sugid()6669 pcred->cr_svgid = pcred->cr_gid; in exec_handle_sugid()
211 #define cr_gid cr_groups[0] macro
1619 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_gid && in dtrace_priv_proc_common_user()1620 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_rgid && in dtrace_priv_proc_common_user()1621 posix_cred_get(s_cr)->cr_gid == posix_cred_get(cr)->cr_sgid) in dtrace_priv_proc_common_user()7274 posix_cred_get(s_cr)->cr_gid != posix_cred_get(cr)->cr_gid || in dtrace_probe()7275 posix_cred_get(s_cr)->cr_gid != posix_cred_get(cr)->cr_rgid || in dtrace_probe()7276 posix_cred_get(s_cr)->cr_gid != posix_cred_get(cr)->cr_sgid || in dtrace_probe()