]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - lib/audit.c
arm: imx6: defconfig: update tx6 defconfigs
[karo-tx-linux.git] / lib / audit.c
index 50e915258515e066de2505b3dc2ce2e2f4547402..76bbed4a20e55d85ebdfc32881d436ee98592f4f 100644 (file)
@@ -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;