]> Pileus Git - ~andy/linux/blobdiff - lib/audit.c
Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...
[~andy/linux] / lib / audit.c
index 8c21625ef93823ebf7f9a574236d71e009e0bb58..3b1289fadf06bc7594cc59334f4256eabadfa676 100644 (file)
@@ -28,8 +28,10 @@ int audit_classify_syscall(int abi, unsigned syscall)
        switch(syscall) {
        case __NR_open:
                return 2;
+#ifdef __NR_openat
        case __NR_openat:
                return 3;
+#endif
 #ifdef __NR_socketcall
        case __NR_socketcall:
                return 4;