summaryrefslogtreecommitdiffstats
path: root/lib/audit.c
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-06-08 16:01:34 +0200
committerMichal Marek <mmarek@suse.cz>2011-06-08 16:01:34 +0200
commita61944c251c3e68c4bbf6eb96ff61c7b286351c5 (patch)
treefd9f82297805d043a45a828626dfd29bddc48b00 /lib/audit.c
parentac9a126571e76abec76e1c1f46672e82501eab1e (diff)
parent55922c9d1b84b89cb946c777fddccb3247e7df2c (diff)
Merge commit 'v3.0-rc1' into kbuild/kconfig
Diffstat (limited to 'lib/audit.c')
-rw-r--r--lib/audit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/audit.c b/lib/audit.c
index 8e7dc1c63aa..76bbed4a20e 100644
--- a/lib/audit.c
+++ b/lib/audit.c
@@ -36,8 +36,10 @@ int audit_classify_arch(int arch)
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;