Lines Matching refs:profile
109 int aa_profile_af_perm(struct aa_profile *profile,
113 struct aa_ruleset *rules = list_first_entry(&profile->rules,
122 if (profile_unconfined(profile))
133 aa_apply_modes_to_perms(profile, &perms);
135 return aa_check_perms(profile, &perms, request, ad, audit_net_cb);
141 struct aa_profile *profile;
144 return fn_for_each_confined(label, profile,
145 aa_profile_af_perm(profile, &ad, request, family,
161 struct aa_profile *profile;
165 error = fn_for_each_confined(label, profile,
166 aa_profile_af_sk_perm(profile, &ad, request, sk));
221 static int aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid,
226 struct aa_ruleset *rules = list_first_entry(&profile->rules,
251 aa_apply_modes_to_perms(profile, &perms);
253 return aa_check_perms(profile, &perms, request, ad, audit_net_cb);
259 struct aa_profile *profile;
262 return fn_for_each_confined(label, profile,
263 aa_secmark_perm(profile, request, secid,