From 4efad68d703d93aa9d83040a311f6c53251aa0bd Mon Sep 17 00:00:00 2001 From: Al Viro Date: Tue, 15 May 2007 20:37:10 +0100 Subject: [PATCH] --- yaml --- r: 56465 b: refs/heads/master c: 327b9eebbf2b7ce632e93a9c1386d944af0dadf4 h: refs/heads/master i: 56463: 16feabec4120bbe2b1224e96f3352a3041323fde v: v3 --- [refs] | 2 +- trunk/kernel/auditfilter.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 8287997bf00e..13caaa944428 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b4e1ded3cf6e13c122f019532cb60347d6c88c8c +refs/heads/master: 327b9eebbf2b7ce632e93a9c1386d944af0dadf4 diff --git a/trunk/kernel/auditfilter.c b/trunk/kernel/auditfilter.c index 6c61263ff96d..74cc0fc6bb81 100644 --- a/trunk/kernel/auditfilter.c +++ b/trunk/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)