diff options
Diffstat (limited to 'kernel/audit.h')
-rw-r--r-- | kernel/audit.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/kernel/audit.h b/kernel/audit.h index 0f1cf6d1878a..0d87f8ab8778 100644 --- a/kernel/audit.h +++ b/kernel/audit.h | |||
@@ -333,13 +333,7 @@ extern u32 audit_sig_sid; | |||
333 | extern int audit_filter(int msgtype, unsigned int listtype); | 333 | extern int audit_filter(int msgtype, unsigned int listtype); |
334 | 334 | ||
335 | #ifdef CONFIG_AUDITSYSCALL | 335 | #ifdef CONFIG_AUDITSYSCALL |
336 | extern int __audit_signal_info(int sig, struct task_struct *t); | 336 | extern int audit_signal_info(int sig, struct task_struct *t); |
337 | static inline int audit_signal_info(int sig, struct task_struct *t) | ||
338 | { | ||
339 | if (auditd_test_task(t) || (audit_signals && !audit_dummy_context())) | ||
340 | return __audit_signal_info(sig, t); | ||
341 | return 0; | ||
342 | } | ||
343 | extern void audit_filter_inodes(struct task_struct *, struct audit_context *); | 337 | extern void audit_filter_inodes(struct task_struct *, struct audit_context *); |
344 | extern struct list_head *audit_killed_trees(void); | 338 | extern struct list_head *audit_killed_trees(void); |
345 | #else | 339 | #else |