Lines Matching refs:profile
132 if (sa->aad->profile) { in audit_pre()
133 struct aa_profile *profile = sa->aad->profile; in audit_pre() local
134 if (profile->ns != root_ns) { in audit_pre()
136 audit_log_untrustedstring(ab, profile->ns->base.hname); in audit_pre()
139 audit_log_untrustedstring(ab, profile->base.hname); in audit_pre()
172 int aa_audit(int type, struct aa_profile *profile, gfp_t gfp, in aa_audit() argument
176 BUG_ON(!profile); in aa_audit()
180 if (AUDIT_MODE(profile) != AUDIT_ALL) in aa_audit()
183 } else if (COMPLAIN_MODE(profile)) in aa_audit()
188 if (AUDIT_MODE(profile) == AUDIT_QUIET || in aa_audit()
190 AUDIT_MODE(profile) == AUDIT_QUIET)) in aa_audit()
193 if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED) in aa_audit()
196 if (!unconfined(profile)) in aa_audit()
197 sa->aad->profile = profile; in aa_audit()