kernel/built-in.o: In function `audit_update_watch':
include/asm/current.h:9: undefined reference to `audit_filter_inodes'
include/asm/current.h:9: undefined reference to `audit_set_auditable'
This fix applies to lspp.b18 commit
54e10ac15f9176a2d86c9068fccbdb400b0b58df
"fix missing records when watched files removed".
Signed-off-by: Amy Griffis <amy.griffis(a)hp.com>
---
kernel/audit.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
4182d90fde19384226e4798efcad4b3a92dce03d
diff --git a/kernel/audit.h b/kernel/audit.h
index f337845..58fa44c 100644
--- a/kernel/audit.h
+++ b/kernel/audit.h
@@ -126,9 +126,6 @@ extern void audit_free_parent(struct ino
extern void audit_handle_ievent(struct inotify_watch *, u32, u32, u32,
const char *, struct inode *);
extern int selinux_audit_rule_update(void);
-extern enum audit_state audit_filter_inodes(struct task_struct *,
- struct audit_context *);
-extern void audit_set_auditable(struct audit_context *);
#ifdef CONFIG_AUDITSYSCALL
extern void __audit_signal_info(int sig, struct task_struct *t);
@@ -137,6 +134,11 @@ static inline void audit_signal_info(int
if (unlikely(audit_pid && t->tgid == audit_pid))
__audit_signal_info(sig, t);
}
+extern enum audit_state audit_filter_inodes(struct task_struct *,
+ struct audit_context *);
+extern void audit_set_auditable(struct audit_context *);
#else
#define audit_signal_info(s,t)
+#define audit_filter_inodes(t,c) AUDIT_DISABLED
+#define audit_set_auditable(c)
#endif
--
1.3.0