diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2014-03-15 01:48:00 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2014-03-20 10:11:35 -0400 |
commit | 4b58841149dcaa500ceba1d5378ae70622fe4899 (patch) | |
tree | 0be5b9be6b140e6250a416acff517067fb6d5efd /lib/Kconfig | |
parent | 7a017721283d3fd011a41884fd8e99beae8fe831 (diff) |
audit: Add generic compat syscall support
lib/audit.c provides a generic function for auditing system calls.
This patch extends it for compat syscall support on bi-architectures
(32/64-bit) by adding lib/compat_audit.c.
What is required to support this feature are:
* add asm/unistd32.h for compat system call names
* select CONFIG_AUDIT_ARCH_COMPAT_GENERIC
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 991c98bc4a3f..1e80cb3c77a9 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
@@ -182,6 +182,15 @@ config AUDIT_GENERIC | |||
182 | depends on AUDIT && !AUDIT_ARCH | 182 | depends on AUDIT && !AUDIT_ARCH |
183 | default y | 183 | default y |
184 | 184 | ||
185 | config AUDIT_ARCH_COMPAT_GENERIC | ||
186 | bool | ||
187 | default n | ||
188 | |||
189 | config AUDIT_COMPAT_GENERIC | ||
190 | bool | ||
191 | depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT | ||
192 | default y | ||
193 | |||
185 | config RANDOM32_SELFTEST | 194 | config RANDOM32_SELFTEST |
186 | bool "PRNG perform self test on init" | 195 | bool "PRNG perform self test on init" |
187 | default n | 196 | default n |