Lines Matching refs:profile
109 int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, in aa_profile_af_perm() argument
119 if (profile_unconfined(profile)) in aa_profile_af_perm()
121 state = PROFILE_MEDIATES(profile, AA_CLASS_NET); in aa_profile_af_perm()
127 state = aa_dfa_match_len(profile->policy.dfa, state, (char *) &buffer, in aa_profile_af_perm()
129 aa_compute_perms(profile->policy.dfa, state, &perms); in aa_profile_af_perm()
130 aa_apply_modes_to_perms(profile, &perms); in aa_profile_af_perm()
132 return aa_check_perms(profile, &perms, request, sa, audit_net_cb); in aa_profile_af_perm()
138 struct aa_profile *profile; in aa_af_perm() local
141 return fn_for_each_confined(label, profile, in aa_af_perm()
142 aa_profile_af_perm(profile, &sa, request, family, in aa_af_perm()
149 struct aa_profile *profile; in aa_label_sk_perm() local
158 return fn_for_each_confined(label, profile, in aa_label_sk_perm()
159 aa_profile_af_sk_perm(profile, &sa, request, sk)); in aa_label_sk_perm()