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