Lines Matching defs:profile
78 struct aa_profile *profile = labels_profile(label);
80 if (profile->ns != root_ns) {
83 profile->ns->base.hname);
85 audit_log_format(ab, " profile=");
86 audit_log_untrustedstring(ab, profile->base.hname);
113 * aa_audit - Log a profile based audit event to the audit subsystem
115 * @profile: profile to check against (NOT NULL)
123 int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa,
126 AA_BUG(!profile);
130 if (AUDIT_MODE(profile) != AUDIT_ALL)
133 } else if (COMPLAIN_MODE(profile))
138 if (AUDIT_MODE(profile) == AUDIT_QUIET ||
140 AUDIT_MODE(profile) == AUDIT_QUIET_DENIED))
143 if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED)
146 aad(sa)->label = &profile->label;