Lines Matching refs:profile
120 struct aa_profile *profile = labels_profile(label); in audit_pre() local
122 if (profile->ns != root_ns) { in audit_pre()
125 profile->ns->base.hname); in audit_pre()
128 audit_log_untrustedstring(ab, profile->base.hname); in audit_pre()
166 int aa_audit(int type, struct aa_profile *profile, in aa_audit() argument
170 AA_BUG(!profile); in aa_audit()
174 if (AUDIT_MODE(profile) != AUDIT_ALL) in aa_audit()
177 } else if (COMPLAIN_MODE(profile)) in aa_audit()
182 if (AUDIT_MODE(profile) == AUDIT_QUIET || in aa_audit()
184 AUDIT_MODE(profile) == AUDIT_QUIET_DENIED)) in aa_audit()
187 if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED) in aa_audit()
190 ad->subj_label = &profile->label; in aa_audit()