diff options
Diffstat (limited to 'lib/audit.c')
-rw-r--r-- | lib/audit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/audit.c b/lib/audit.c index 8c21625ef938..3b1289fadf06 100644 --- a/lib/audit.c +++ b/lib/audit.c | |||
@@ -28,8 +28,10 @@ int audit_classify_syscall(int abi, unsigned syscall) | |||
28 | switch(syscall) { | 28 | switch(syscall) { |
29 | case __NR_open: | 29 | case __NR_open: |
30 | return 2; | 30 | return 2; |
31 | #ifdef __NR_openat | ||
31 | case __NR_openat: | 32 | case __NR_openat: |
32 | return 3; | 33 | return 3; |
34 | #endif | ||
33 | #ifdef __NR_socketcall | 35 | #ifdef __NR_socketcall |
34 | case __NR_socketcall: | 36 | case __NR_socketcall: |
35 | return 4; | 37 | return 4; |