Lines Matching refs:profile
84 struct aa_profile *profile = labels_profile(label); in audit_pre() local
86 if (profile->ns != root_ns) { in audit_pre()
89 profile->ns->base.hname); in audit_pre()
92 audit_log_untrustedstring(ab, profile->base.hname); in audit_pre()
129 int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, in aa_audit() argument
132 AA_BUG(!profile); in aa_audit()
136 if (AUDIT_MODE(profile) != AUDIT_ALL) in aa_audit()
139 } else if (COMPLAIN_MODE(profile)) in aa_audit()
144 if (AUDIT_MODE(profile) == AUDIT_QUIET || in aa_audit()
146 AUDIT_MODE(profile) == AUDIT_QUIET)) in aa_audit()
149 if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED) in aa_audit()
152 aad(sa)->label = &profile->label; in aa_audit()