[RFC PATCH] audit: generic compat system call support

AKASHI Takahiro takahiro.akashi at linaro.org
Tue Nov 19 07:33:50 UTC 2013


Arm64 supports 32-bit mode(AArch32) and 64-bit mode(AArch64).
To enable audit support, we want to avoid duplicating lib/audit.c
as other arch's do, and instead to use lib/audit.c and extend/re-work it 
in order to support compat system calls as well.

Changes are nothing fancy, just copying lib/audit.c and adding hooks
for compat system calls as done in other arch's.

Once this patch is accepted, my aarch64 patch will be rebased on top
of this.
(If you want, I can submit it immediately because it is already working.)

AKASHI Takahiro (1):
  audit: Add generic compat syscall support

 include/linux/audit.h |    3 +++
 lib/Makefile          |    3 +++
 lib/audit.c           |   10 ++++++++
 lib/compat_audit.c    |   64 +++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 80 insertions(+)
 create mode 100644 lib/compat_audit.c

-- 
1.7.9.5




More information about the Linux-audit mailing list