Searched refs:model_cred (Results 1 – 1 of 1) sorted by relevance
3561 kauth_cred_alloc(kauth_cred_t parent_cred, kauth_cred_t model_cred) in kauth_cred_alloc() argument3571 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 …]