Lines Matching refs:profile
77 static int profile_signal_perm(struct aa_profile *profile, in profile_signal_perm() argument
84 if (profile_unconfined(profile) || in profile_signal_perm()
85 !PROFILE_MEDIATES(profile, AA_CLASS_SIGNAL)) in profile_signal_perm()
90 state = aa_dfa_next(profile->policy.dfa, in profile_signal_perm()
91 profile->policy.start[AA_CLASS_SIGNAL], in profile_signal_perm()
93 aa_label_match(profile, peer, state, false, request, &perms); in profile_signal_perm()
94 aa_apply_modes_to_perms(profile, &perms); in profile_signal_perm()
95 return aa_check_perms(profile, &perms, request, sa, audit_signal_cb); in profile_signal_perm()
100 struct aa_profile *profile; in aa_may_signal() local
105 return xcheck_labels(sender, target, profile, in aa_may_signal()
106 profile_signal_perm(profile, target, MAY_WRITE, &sa), in aa_may_signal()
107 profile_signal_perm(profile, sender, MAY_READ, &sa)); in aa_may_signal()