Searched refs:model_cred (Results 1 – 1 of 1) sorted by relevance
3673 kauth_cred_alloc(kauth_cred_t parent_cred, kauth_cred_t model_cred) in kauth_cred_alloc() argument3683 found_rw = smr_shash_get(&kauth_cred_hash, kauth_cred_key(model_cred), in kauth_cred_alloc()3689 if (!parent_cred || model_cred->cr_label != parent_cred->cr_label) { in kauth_cred_alloc()3690 mac_cred_label_destroy(model_cred); in kauth_cred_alloc()3705 if (parent_cred && model_cred->cr_label == parent_cred->cr_label) { in kauth_cred_alloc()3706 mac_cred_label_init(model_cred); in kauth_cred_alloc()3707 mac_cred_label_associate(parent_cred, model_cred); in kauth_cred_alloc()3709 mac_cred_label_seal(model_cred); in kauth_cred_alloc()3713 AUDIT_SESSION_REF(model_cred); in kauth_cred_alloc()3718 model_cred->cr_rw = new_rw; in kauth_cred_alloc()[all …]