Home
last modified time | relevance | path

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

/xnu-10002.1.13/bsd/kern/ !
H A Dkern_credential.c3561 kauth_cred_alloc(kauth_cred_t parent_cred, kauth_cred_t model_cred) in kauth_cred_alloc() argument
3571 found_rw = smr_shash_get(&kauth_cred_hash, kauth_cred_key(model_cred), in kauth_cred_alloc()
3577 if (!parent_cred || model_cred->cr_label != parent_cred->cr_label) { in kauth_cred_alloc()
3578 mac_cred_label_destroy(model_cred); in kauth_cred_alloc()
3593 if (parent_cred && model_cred->cr_label == parent_cred->cr_label) { in kauth_cred_alloc()
3594 mac_cred_label_init(model_cred); in kauth_cred_alloc()
3595 mac_cred_label_associate(parent_cred, model_cred); in kauth_cred_alloc()
3597 mac_cred_label_seal(model_cred); in kauth_cred_alloc()
3601 AUDIT_SESSION_REF(model_cred); in kauth_cred_alloc()
3606 model_cred->cr_rw = new_rw; in kauth_cred_alloc()
[all …]