summaryrefslogtreecommitdiffstats
path: root/lib/audit.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-12 09:04:40 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2006-09-12 09:04:40 +0200
commite65e1fc2d24b09c496af76e9c5253ac30b300a89 (patch)
treeb8f88773afd81ab97d5e6b79fc307523bf6b3430 /lib/audit.c
parentMerge branch 'audit.b28' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff)
downloadlinux-e65e1fc2d24b09c496af76e9c5253ac30b300a89.tar.xz
linux-e65e1fc2d24b09c496af76e9c5253ac30b300a89.zip
[PATCH] syscall class hookup for all normal targets
Take default arch/*/kernel/audit.c to lib/, have those with special needs (== biarch) define AUDIT_ARCH in their Kconfig. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--lib/audit.c (renamed from arch/i386/kernel/audit.c)2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/kernel/audit.c b/lib/audit.c
index 3b97cff41549..8c21625ef938 100644
--- a/arch/i386/kernel/audit.c
+++ b/lib/audit.c
@@ -30,8 +30,10 @@ int audit_classify_syscall(int abi, unsigned syscall)
return 2;
case __NR_openat:
return 3;
+#ifdef __NR_socketcall
case __NR_socketcall:
return 4;
+#endif
case __NR_execve:
return 5;
default: