diff options
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r-- | include/linux/audit.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 9334fbef7bae..a625c29a2ea2 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -115,8 +115,6 @@ extern int audit_classify_compat_syscall(int abi, unsigned syscall); | |||
115 | 115 | ||
116 | struct filename; | 116 | struct filename; |
117 | 117 | ||
118 | extern void audit_log_session_info(struct audit_buffer *ab); | ||
119 | |||
120 | #define AUDIT_OFF 0 | 118 | #define AUDIT_OFF 0 |
121 | #define AUDIT_ON 1 | 119 | #define AUDIT_ON 1 |
122 | #define AUDIT_LOCKED 2 | 120 | #define AUDIT_LOCKED 2 |
@@ -153,8 +151,7 @@ extern void audit_log_link_denied(const char *operation); | |||
153 | extern void audit_log_lost(const char *message); | 151 | extern void audit_log_lost(const char *message); |
154 | 152 | ||
155 | extern int audit_log_task_context(struct audit_buffer *ab); | 153 | extern int audit_log_task_context(struct audit_buffer *ab); |
156 | extern void audit_log_task_info(struct audit_buffer *ab, | 154 | extern void audit_log_task_info(struct audit_buffer *ab); |
157 | struct task_struct *tsk); | ||
158 | 155 | ||
159 | extern int audit_update_lsm_rules(void); | 156 | extern int audit_update_lsm_rules(void); |
160 | 157 | ||
@@ -202,8 +199,7 @@ static inline int audit_log_task_context(struct audit_buffer *ab) | |||
202 | { | 199 | { |
203 | return 0; | 200 | return 0; |
204 | } | 201 | } |
205 | static inline void audit_log_task_info(struct audit_buffer *ab, | 202 | static inline void audit_log_task_info(struct audit_buffer *ab) |
206 | struct task_struct *tsk) | ||
207 | { } | 203 | { } |
208 | #define audit_enabled AUDIT_OFF | 204 | #define audit_enabled AUDIT_OFF |
209 | #endif /* CONFIG_AUDIT */ | 205 | #endif /* CONFIG_AUDIT */ |