]> Pileus Git - ~andy/linux/commitdiff
ARM: 7453/1: audit: only allow syscall auditing for pure EABI userspace
authorWill Deacon <will.deacon@arm.com>
Fri, 6 Jul 2012 14:48:16 +0000 (15:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 9 Jul 2012 16:44:12 +0000 (17:44 +0100)
The audit tools support only EABI userspace and, since there are no
AUDIT_ARCH_* defines for the ARM OABI, it makes sense to allow syscall
auditing on ARM only for EABI at the moment.

Cc: Eric Paris <eparis@redhat.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
init/Kconfig

index d07dcf9fc8a9a8f05a570298d106c29e28f7167f..b3f55f15e1074ca90bfd1cacbba5cd0c68be9ad7 100644 (file)
@@ -357,7 +357,7 @@ config AUDIT
 
 config AUDITSYSCALL
        bool "Enable system-call auditing support"
-       depends on AUDIT && (X86 || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || ARM)
+       depends on AUDIT && (X86 || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || (ARM && AEABI && !OABI_COMPAT))
        default y if SECURITY_SELINUX
        help
          Enable low-overhead system-call auditing infrastructure that