Home
last modified time | relevance | path

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

/xnu-10002.1.13/bsd/dev/dtrace/scripts/
H A Ddarwin.d204 pr_uid = P->p_proc_ro->p_ucred.__smr_ptr->cr_posix.cr_ruid;
205 pr_euid = P->p_proc_ro->p_ucred.__smr_ptr->cr_posix.cr_uid;
206 pr_gid = P->p_proc_ro->p_ucred.__smr_ptr->cr_posix.cr_rgid;
207 pr_egid = P->p_proc_ro->p_ucred.__smr_ptr->cr_posix.cr_groups[0];
/xnu-10002.1.13/bsd/sys/
H A Ducred.h172 } cr_posix; member
/xnu-10002.1.13/bsd/kern/
H A Dkern_credential.c3717 .cr_posix = *pcred, in posix_cred_create_internal()
3789 return posix_cred_create_internal(&cred->cr_posix, cred->cr_audit); in kauth_cred_create()
3796 .cr_posix = cred->cr_posix, in kauth_cred_derive()
4153 .cr_flags = model->cr_posix.cr_flags, in kauth_cred_model_setuidgid()
4163 if (memcmp(&model->cr_posix, &pcred, sizeof(struct posix_cred)) != 0) { in kauth_cred_model_setuidgid()
4164 model->cr_posix = pcred; in kauth_cred_model_setuidgid()
4428 hash = os_hash_jenkins_update(&cred->cr_posix, in kauth_cred_ro_hash()
4433 if (cred->cr_posix.cr_flags & CRF_MAC_ENFORCE) { in kauth_cred_ro_hash()
4460 const struct posix_cred *pcred1 = &cred1->cr_posix; in kauth_cred_key_equ()
4461 const struct posix_cred *pcred2 = &cred2->cr_posix; in kauth_cred_key_equ()
[all …]
/xnu-10002.1.13/tools/lldbmacros/
H A Dprocess.py117 out_string += "Cred: euid {:d} ruid {:d} svuid {:d}\n".format(ucred.cr_posix.cr_uid,
118 ucred.cr_posix.cr_ruid,
119 ucred.cr_posix.cr_svuid )
/xnu-10002.1.13/bsd/vfs/
H A Dvfs_subr.c9297 vcp->vp, cred->cr_posix.cr_uid, vap->va_uid, dvap->va_uid); in vnode_authorize_delete()