Lines Matching refs:profile
79 struct aa_profile *profile, in profile_signal_perm() argument
83 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_signal_perm()
88 if (profile_unconfined(profile) || in profile_signal_perm()
89 !ANY_RULE_MEDIATES(&profile->rules, AA_CLASS_SIGNAL)) in profile_signal_perm()
98 aa_label_match(profile, rules, peer, state, false, request, &perms); in profile_signal_perm()
99 aa_apply_modes_to_perms(profile, &perms); in profile_signal_perm()
100 return aa_check_perms(profile, &perms, request, ad, audit_signal_cb); in profile_signal_perm()
107 struct aa_profile *profile; in aa_may_signal() local
112 return xcheck_labels(sender, target, profile, in aa_may_signal()
113 profile_signal_perm(subj_cred, profile, target, in aa_may_signal()
115 profile_signal_perm(target_cred, profile, sender, in aa_may_signal()