Lines Matching refs:profile
227 struct aa_profile *profile,
231 struct aa_ruleset *rules = list_first_entry(&profile->rules,
237 aa_profile_match_label(profile, rules, peer, AA_CLASS_PTRACE, request,
239 aa_apply_modes_to_perms(profile, &perms);
240 return aa_check_perms(profile, &perms, request, ad, audit_ptrace_cb);
266 /* profile uses the old style capability check for ptrace */
293 struct aa_profile *profile;
297 return xcheck_labels(tracer, tracee, profile,
298 profile_tracer_perm(tracer_cred, profile, tracee,
300 profile_tracee_perm(tracee_cred, profile, tracer,
316 int aa_profile_ns_perm(struct aa_profile *profile,
323 ad->subj_label = &profile->label;
326 if (!profile_unconfined(profile)) {
327 struct aa_ruleset *rules = list_first_entry(&profile->rules,
337 aa_apply_modes_to_perms(profile, &perms);
338 error = aa_check_perms(profile, &perms, request, ad,