Searched refs:cur_cred (Results 1 – 3 of 3) sorted by relevance
574 kauth_cred_t cur_cred = kauth_cred_proc_ref(cur_procp); in cantrace() local581 my_err = mac_proc_check_debug(&cur_ident, cur_cred, &traced_ident); in cantrace()582 kauth_cred_unref(&cur_cred); in cantrace()
3930 kauth_cred_t cur_cred, free_cred, new_cred; in kauth_cred_proc_update() local3932 cur_cred = kauth_cred_proc_ref(p); in kauth_cred_proc_update()3935 new_cred = kauth_cred_derive(cur_cred, derive_fn); in kauth_cred_proc_update()3936 if (new_cred == cur_cred) { in kauth_cred_proc_update()3938 set_security_token(p, cur_cred); in kauth_cred_proc_update()3941 kauth_cred_unref(&cur_cred); in kauth_cred_proc_update()3946 if (__probable(proc_ucred_locked(p) == cur_cred)) { in kauth_cred_proc_update()3954 kauth_cred_drop(cur_cred); in kauth_cred_proc_update()3955 ucred_rw_unref_live(cur_cred->cr_rw); in kauth_cred_proc_update()3968 kauth_cred_unref(&cur_cred); in kauth_cred_proc_update()[all …]
1560 kauth_cred_t cur_cred = kauth_cred_get(); in terminate_with_payload_internal() local1576 if (!cansignal(cur_proc, cur_cred, target_proc, SIGKILL)) { in terminate_with_payload_internal()