projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/migrate: correct failure handling if !hugepage_migration_support()
[firefly-linux-kernel-4.4.55.git]
/
lib
/
audit.c
diff --git
a/lib/audit.c
b/lib/audit.c
index 50e915258515e066de2505b3dc2ce2e2f4547402..76bbed4a20e55d85ebdfc32881d436ee98592f4f 100644
(file)
--- a/
lib/audit.c
+++ b/
lib/audit.c
@@
-28,11
+28,18
@@
static unsigned signal_class[] = {
~0U
};
+int audit_classify_arch(int arch)
+{
+ return 0;
+}
+
int audit_classify_syscall(int abi, unsigned syscall)
{
switch(syscall) {
+#ifdef __NR_open
case __NR_open:
return 2;
+#endif
#ifdef __NR_openat
case __NR_openat:
return 3;