Home
last modified time | relevance | path

Searched refs:cr_gid (Results 1 – 5 of 5) sorted by relevance

/xnu-10002.1.13/bsd/kern/
H A Dkern_prot.c1123 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()
H A Dkern_credential.c1944 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()
H A Dkern_exec.c6664 pcred->cr_svgid == pcred->cr_gid) { in exec_handle_sugid()
6669 pcred->cr_svgid = pcred->cr_gid; in exec_handle_sugid()
/xnu-10002.1.13/bsd/sys/
H A Ducred.h211 #define cr_gid cr_groups[0] macro
/xnu-10002.1.13/bsd/dev/dtrace/
H A Ddtrace.c1619 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()