diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-05-15 20:37:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-15 18:56:37 -0700 |
commit | 327b9eebbf2b7ce632e93a9c1386d944af0dadf4 (patch) | |
tree | 00e790015e0f2b37527e866c1ff6e90ea44d15f9 /kernel | |
parent | b4e1ded3cf6e13c122f019532cb60347d6c88c8c (diff) | |
download | kernel_samsung_tuna-327b9eebbf2b7ce632e93a9c1386d944af0dadf4.zip kernel_samsung_tuna-327b9eebbf2b7ce632e93a9c1386d944af0dadf4.tar.gz kernel_samsung_tuna-327b9eebbf2b7ce632e93a9c1386d944af0dadf4.tar.bz2 |
audit_match_signal() and friends are used only if CONFIG_AUDITSYSCALL is set
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/auditfilter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index 6c61263..74cc0fc 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c @@ -311,6 +311,7 @@ int audit_match_class(int class, unsigned syscall) return classes[class][AUDIT_WORD(syscall)] & AUDIT_BIT(syscall); } +#ifdef CONFIG_AUDITSYSCALL static inline int audit_match_class_bits(int class, u32 *mask) { int i; @@ -347,6 +348,7 @@ static int audit_match_signal(struct audit_entry *entry) return 1; } } +#endif /* Common user-space to kernel rule translation. */ static inline struct audit_entry *audit_to_entry_common(struct audit_rule *rule) |