diff options
Diffstat (limited to 'kernel/audit.h')
-rw-r--r-- | kernel/audit.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/audit.h b/kernel/audit.h index 8948fc1e9e54..52cb1e31d522 100644 --- a/kernel/audit.h +++ b/kernel/audit.h | |||
@@ -101,3 +101,14 @@ struct audit_netlink_list { | |||
101 | int audit_send_list(void *); | 101 | int audit_send_list(void *); |
102 | 102 | ||
103 | extern int selinux_audit_rule_update(void); | 103 | extern int selinux_audit_rule_update(void); |
104 | |||
105 | #ifdef CONFIG_AUDITSYSCALL | ||
106 | extern void __audit_signal_info(int sig, struct task_struct *t); | ||
107 | static inline void audit_signal_info(int sig, struct task_struct *t) | ||
108 | { | ||
109 | if (unlikely(audit_pid && t->tgid == audit_pid)) | ||
110 | __audit_signal_info(sig, t); | ||
111 | } | ||
112 | #else | ||
113 | #define audit_signal_info(s,t) | ||
114 | #endif | ||