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>

authored by Al Viro and committed by Linus Torvalds 327b9eeb b4e1ded3

+2
+2
kernel/auditfilter.c
··· 311 311 return classes[class][AUDIT_WORD(syscall)] & AUDIT_BIT(syscall); 312 312 } 313 313 314 + #ifdef CONFIG_AUDITSYSCALL 314 315 static inline int audit_match_class_bits(int class, u32 *mask) 315 316 { 316 317 int i; ··· 348 347 return 1; 349 348 } 350 349 } 350 + #endif 351 351 352 352 /* Common user-space to kernel rule translation. */ 353 353 static inline struct audit_entry *audit_to_entry_common(struct audit_rule *rule)