Merge git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
[linux-2.6-block.git] / security / lsm_audit.c
index e04566a2c4e59338aa0da445bc720f0b3aba0ce3..acba3dfc8d297dfcd7a787839dac3cfff11663c6 100644 (file)
@@ -354,6 +354,10 @@ static void dump_common_audit_data(struct audit_buffer *ab,
                }
                break;
 #endif
+       case LSM_AUDIT_DATA_KMOD:
+               audit_log_format(ab, " kmod=");
+               audit_log_untrustedstring(ab, a->u.kmod_name);
+               break;
        } /* switch (a->type) */
 }