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()
3928 kauth_cred_t cur_cred, free_cred, new_cred; in kauth_cred_proc_update() local3930 cur_cred = kauth_cred_proc_ref(p); in kauth_cred_proc_update()3933 new_cred = kauth_cred_derive(cur_cred, derive_fn); in kauth_cred_proc_update()3934 if (new_cred == cur_cred) { in kauth_cred_proc_update()3936 set_security_token(p, cur_cred); in kauth_cred_proc_update()3939 kauth_cred_unref(&cur_cred); in kauth_cred_proc_update()3944 if (__probable(proc_ucred_locked(p) == cur_cred)) { in kauth_cred_proc_update()3952 kauth_cred_drop(cur_cred); in kauth_cred_proc_update()3953 ucred_rw_unref_live(cur_cred->cr_rw); in kauth_cred_proc_update()3966 kauth_cred_unref(&cur_cred); in kauth_cred_proc_update()[all …]
1559 kauth_cred_t cur_cred = kauth_cred_get(); in terminate_with_payload_internal() local1575 if (!cansignal(cur_proc, cur_cred, target_proc, SIGKILL)) { in terminate_with_payload_internal()