diff options
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 6c61263ff96d..74cc0fc6bb81 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c | |||
@@ -311,6 +311,7 @@ int audit_match_class(int class, unsigned syscall) | |||
311 | return classes[class][AUDIT_WORD(syscall)] & AUDIT_BIT(syscall); | 311 | return classes[class][AUDIT_WORD(syscall)] & AUDIT_BIT(syscall); |
312 | } | 312 | } |
313 | 313 | ||
314 | #ifdef CONFIG_AUDITSYSCALL | ||
314 | static inline int audit_match_class_bits(int class, u32 *mask) | 315 | static inline int audit_match_class_bits(int class, u32 *mask) |
315 | { | 316 | { |
316 | int i; | 317 | int i; |
@@ -347,6 +348,7 @@ static int audit_match_signal(struct audit_entry *entry) | |||
347 | return 1; | 348 | return 1; |
348 | } | 349 | } |
349 | } | 350 | } |
351 | #endif | ||
350 | 352 | ||
351 | /* Common user-space to kernel rule translation. */ | 353 | /* Common user-space to kernel rule translation. */ |
352 | static inline struct audit_entry *audit_to_entry_common(struct audit_rule *rule) | 354 | static inline struct audit_entry *audit_to_entry_common(struct audit_rule *rule) |