diff options
author | Michal Marek <mmarek@suse.cz> | 2011-06-08 16:01:34 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-06-08 16:01:34 +0200 |
commit | a61944c251c3e68c4bbf6eb96ff61c7b286351c5 (patch) | |
tree | fd9f82297805d043a45a828626dfd29bddc48b00 /lib/audit.c | |
parent | ac9a126571e76abec76e1c1f46672e82501eab1e (diff) | |
parent | 55922c9d1b84b89cb946c777fddccb3247e7df2c (diff) |
Merge commit 'v3.0-rc1' into kbuild/kconfig
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 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; |