Searched refs:model_cred (Results 1 – 1 of 1) sorted by relevance
3675 kauth_cred_alloc(kauth_cred_t parent_cred, kauth_cred_t model_cred) in kauth_cred_alloc() argument3685 found_rw = smr_shash_get(&kauth_cred_hash, kauth_cred_key(model_cred), in kauth_cred_alloc()3691 if (!parent_cred || model_cred->cr_label != parent_cred->cr_label) { in kauth_cred_alloc()3692 mac_cred_label_destroy(model_cred); in kauth_cred_alloc()3707 if (parent_cred && model_cred->cr_label == parent_cred->cr_label) { in kauth_cred_alloc()3708 mac_cred_label_init(model_cred); in kauth_cred_alloc()3709 mac_cred_label_associate(parent_cred, model_cred); in kauth_cred_alloc()3711 mac_cred_label_seal(model_cred); in kauth_cred_alloc()3715 AUDIT_SESSION_REF(model_cred); in kauth_cred_alloc()3720 model_cred->cr_rw = new_rw; in kauth_cred_alloc()[all …]