aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2014-02-25 04:16:24 -0500
committerEric Paris <eparis@redhat.com>2014-03-20 10:11:10 -0400
commit7a017721283d3fd011a41884fd8e99beae8fe831 (patch)
tree9905188bc0f5c54e5e09033bfc0350f6387ecaad /init
parent015d991f7d97783f7220445960c0369b3e54ed08 (diff)
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 <takahiro.akashi@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> (arm) Acked-by: Richard Guy Briggs <rgb@redhat.com> (audit) Acked-by: Matt Turner <mattst88@gmail.com> (alpha) Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 7c3c15283e87..d10a994c40f5 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -282,9 +282,12 @@ config AUDIT
282 logging of avc messages output). Does not do system-call 282 logging of avc messages output). Does not do system-call
283 auditing without CONFIG_AUDITSYSCALL. 283 auditing without CONFIG_AUDITSYSCALL.
284 284
285config HAVE_ARCH_AUDITSYSCALL
286 bool
287
285config AUDITSYSCALL 288config AUDITSYSCALL
286 bool "Enable system-call auditing support" 289 bool "Enable system-call auditing support"
287 depends on AUDIT && (X86 || PARISC || PPC || S390 || IA64 || UML || SPARC64 || SUPERH || (ARM && AEABI && !OABI_COMPAT) || ALPHA) 290 depends on AUDIT && HAVE_ARCH_AUDITSYSCALL
288 default y if SECURITY_SELINUX 291 default y if SECURITY_SELINUX
289 help 292 help
290 Enable low-overhead system-call auditing infrastructure that 293 Enable low-overhead system-call auditing infrastructure that