Searched refs:cr_posix (Results 1 – 5 of 5) sorted by relevance
| /xnu-12377.1.9/bsd/dev/dtrace/scripts/ |
| H A D | darwin.d | 204 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-12377.1.9/bsd/sys/ |
| H A D | ucred.h | 172 } cr_posix; member
|
| /xnu-12377.1.9/bsd/kern/ |
| H A D | kern_credential.c | 3831 .cr_posix = *pcred, in posix_cred_create_internal() 3905 return posix_cred_create_internal(&cred->cr_posix, cred->cr_audit); in kauth_cred_create() 3912 .cr_posix = cred->cr_posix, in kauth_cred_derive() 4268 .cr_flags = model->cr_posix.cr_flags, in kauth_cred_model_setuidgid() 4278 if (memcmp(&model->cr_posix, &pcred, sizeof(struct posix_cred)) != 0) { in kauth_cred_model_setuidgid() 4279 model->cr_posix = pcred; in kauth_cred_model_setuidgid() 4519 hash = os_hash_jenkins_update(&cred->cr_posix, in kauth_cred_ro_hash() 4524 if (cred->cr_posix.cr_flags & CRF_MAC_ENFORCE) { in kauth_cred_ro_hash() 4551 const struct posix_cred *pcred1 = &cred1->cr_posix; in kauth_cred_key_equ() 4552 const struct posix_cred *pcred2 = &cred2->cr_posix; in kauth_cred_key_equ() [all …]
|
| /xnu-12377.1.9/tools/lldbmacros/ |
| H A D | process.py | 131 out_string += "Cred: euid {:d} ruid {:d} svuid {:d}\n".format(ucred.cr_posix.cr_uid, 132 ucred.cr_posix.cr_ruid, 133 ucred.cr_posix.cr_svuid )
|
| /xnu-12377.1.9/bsd/vfs/ |
| H A D | vfs_subr.c | 9650 vcp->vp, cred->cr_posix.cr_uid, vap->va_uid, dvap->va_uid); in vnode_authorize_delete()
|