projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] syscall class hookup for all normal targets
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
lib
/
audit.c
diff --git
a/arch/i386/kernel/audit.c
b/lib/audit.c
similarity index 96%
rename from
arch/i386/kernel/audit.c
rename to
lib/audit.c
index
3b97cff
..
8c21625
100644
(file)
--- 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: