mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Acked-by: Richard Guy Briggs <[email protected]> Signed-off-by: Eric Paris <[email protected]>
This commit is contained in:
parent
7a01772128
commit
4b58841149
6 changed files with 88 additions and 1 deletions
|
|
@ -182,6 +182,15 @@ config AUDIT_GENERIC
|
|||
depends on AUDIT && !AUDIT_ARCH
|
||||
default y
|
||||
|
||||
config AUDIT_ARCH_COMPAT_GENERIC
|
||||
bool
|
||||
default n
|
||||
|
||||
config AUDIT_COMPAT_GENERIC
|
||||
bool
|
||||
depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
|
||||
default y
|
||||
|
||||
config RANDOM32_SELFTEST
|
||||
bool "PRNG perform self test on init"
|
||||
default n
|
||||
|
|
|
|||
Loading…
Reference in a new issue