[PATCH] audit signal recipients
[linux-2.6-block.git] / arch / x86_64 / kernel / audit.c
index b970de66ee5990692f477802926d6f09dd4a4048..06d3e5a14d9dd70e2f709cef205c269f0a514203 100644 (file)
@@ -28,6 +28,15 @@ static unsigned signal_class[] = {
 ~0U
 };
 
+int audit_classify_arch(int arch)
+{
+#ifdef CONFIG_IA32_EMULATION
+       if (arch == AUDIT_ARCH_I386)
+               return 1;
+#endif
+       return 0;
+}
+
 int audit_classify_syscall(int abi, unsigned syscall)
 {
 #ifdef CONFIG_IA32_EMULATION