Lines Matching refs:profile
80 struct aa_profile *profile = labels_profile(label); in audit_pre() local
82 if (profile->ns != root_ns) { in audit_pre()
85 profile->ns->base.hname); in audit_pre()
88 audit_log_untrustedstring(ab, profile->base.hname); in audit_pre()
125 int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, in aa_audit() argument
128 AA_BUG(!profile); in aa_audit()
132 if (AUDIT_MODE(profile) != AUDIT_ALL) in aa_audit()
135 } else if (COMPLAIN_MODE(profile)) in aa_audit()
140 if (AUDIT_MODE(profile) == AUDIT_QUIET || in aa_audit()
142 AUDIT_MODE(profile) == AUDIT_QUIET)) in aa_audit()
145 if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED) in aa_audit()
148 aad(sa)->label = &profile->label; in aa_audit()