audit: Add CONFIG_HAVE_ARCH_AUDITSYSCALL

Currently AUDITSYSCALL has a long list of architecture depencency:
       depends on AUDIT && (X86 || PARISC || PPC || S390 || IA64 || UML ||
		SPARC64 || SUPERH || (ARM && AEABI && !OABI_COMPAT) || ALPHA)
The purpose of this patch is to replace it with HAVE_ARCH_AUDITSYSCALL
for simplicity.

Signed-off-by: AKASHI Takahiro <[email protected]>
Acked-by: Will Deacon <[email protected]> (arm)
Acked-by: Richard Guy Briggs <[email protected]> (audit)
Acked-by: Matt Turner <[email protected]> (alpha)
Acked-by: Michael Ellerman <[email protected]> (powerpc)
Signed-off-by: Eric Paris <[email protected]>
This commit is contained in:
AKASHI Takahiro 2014-02-25 18:16:24 +09:00 • committed by Eric Paris
commit 7a01772128
11 changed files with 14 additions and 1 deletions

View file

@ -282,9 +282,12 @@ config AUDIT
logging of avc messages output). Does not do system-call
auditing without CONFIG_AUDITSYSCALL.
config HAVE_ARCH_AUDITSYSCALL
bool
config AUDITSYSCALL
bool "Enable system-call auditing support"
depends on AUDIT && (X86 || PARISC || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || (ARM && AEABI && !OABI_COMPAT) || ALPHA)
depends on AUDIT && HAVE_ARCH_AUDITSYSCALL
default y if SECURITY_SELINUX
help
Enable low-overhead system-call auditing infrastructure that