Lines Matching refs:profile
120 struct aa_profile *profile = labels_profile(label);
122 if (profile->ns != root_ns) {
125 profile->ns->base.hname);
127 audit_log_format(ab, " profile=");
128 audit_log_untrustedstring(ab, profile->base.hname);
156 * aa_audit - Log a profile based audit event to the audit subsystem
158 * @profile: profile to check against (NOT NULL)
166 int aa_audit(int type, struct aa_profile *profile,
170 AA_BUG(!profile);
174 if (AUDIT_MODE(profile) != AUDIT_ALL)
177 } else if (COMPLAIN_MODE(profile))
182 if (AUDIT_MODE(profile) == AUDIT_QUIET ||
184 AUDIT_MODE(profile) == AUDIT_QUIET_DENIED))
187 if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED)
190 ad->subj_label = &profile->label;