/* avc_audit_pre_callback - SELinux specific information will be called by generic audit code @ab: the audit buffer  */
static void avc_audit_pre_callback(struct audit_buffer *ab, void *a)
/* avc_audit_pre_callback - SELinux specific information will be called by generic audit code @ab: the audit buffer  */
static void avc_audit_pre_callback(struct audit_buffer *ab, void *a)
{
	struct common_audit_data *ad = a;
	audit_log_format(ab, "avc:  %s ",
			 ad->selinux_audit_data.denied ? "denied" : "granted");
	avc_dump_av(ab, ad->selinux_audit_data.tclass,
			ad->selinux_audit_data.audited);
	audit_log_format(ab, " for ");
}