Searched refs:cur_cred (Results 1 – 3 of 3) sorted by relevance
579 kauth_cred_t cur_cred = kauth_cred_proc_ref(cur_procp); in cantrace() local586 my_err = mac_proc_check_debug(&cur_ident, cur_cred, &traced_ident); in cantrace()587 kauth_cred_unref(&cur_cred); in cantrace()
3932 kauth_cred_t cur_cred, free_cred, new_cred; in kauth_cred_proc_update() local3934 cur_cred = kauth_cred_proc_ref(p); in kauth_cred_proc_update()3937 new_cred = kauth_cred_derive(cur_cred, derive_fn); in kauth_cred_proc_update()3938 if (new_cred == cur_cred) { in kauth_cred_proc_update()3940 set_security_token(p, cur_cred); in kauth_cred_proc_update()3943 kauth_cred_unref(&cur_cred); in kauth_cred_proc_update()3948 if (__probable(proc_ucred_locked(p) == cur_cred)) { in kauth_cred_proc_update()3955 kauth_cred_drop(cur_cred); in kauth_cred_proc_update()3956 ucred_rw_unref_live(cur_cred->cr_rw); in kauth_cred_proc_update()3969 kauth_cred_unref(&cur_cred); in kauth_cred_proc_update()[all …]
1567 kauth_cred_t cur_cred = kauth_cred_get(); in terminate_with_payload_internal() local1583 if (!cansignal(cur_proc, cur_cred, target_proc, SIGKILL)) { in terminate_with_payload_internal()