Lines Matching refs:type
117 audit_log_string(ab, aa_audit_type[sa->aad->type]);
151 * @cb: optional callback fn for type specific fields (MAYBE NULL)
153 void aa_audit_msg(int type, struct common_audit_data *sa,
156 sa->aad->type = type;
162 * @type: audit type for the message
166 * @cb: optional callback fn for type specific fields (MAYBE NULL)
172 int aa_audit(int type, struct aa_profile *profile, gfp_t gfp,
178 if (type == AUDIT_APPARMOR_AUTO) {
182 type = AUDIT_APPARMOR_AUDIT;
184 type = AUDIT_APPARMOR_ALLOWED;
186 type = AUDIT_APPARMOR_DENIED;
189 (type == AUDIT_APPARMOR_DENIED &&
193 if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED)
194 type = AUDIT_APPARMOR_KILL;
199 aa_audit_msg(type, sa, cb);
201 if (sa->aad->type == AUDIT_APPARMOR_KILL)
205 if (sa->aad->type == AUDIT_APPARMOR_ALLOWED)