summaryrefslogtreecommitdiffstats
path: root/kernel/audit.h
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2018-11-16 12:16:35 -0500
committerPaul Moore <paul@paul-moore.com>2018-11-19 12:26:27 -0500
commit0fe3c7fceb500de2d0adfb9dcf292580cd43ea38 (patch)
tree4a616a9e2052072545de4f42b320ff9ce94738f2 /kernel/audit.h
parentf905c2fc3980a41aeccb8673ab10ed5e616391fd (diff)
downloadlinux-0fe3c7fceb500de2d0adfb9dcf292580cd43ea38.tar.bz2
audit: localize audit_log_session_info prototype
The audit_log_session_info() function is only used in kernel/audit*, so move its prototype to kernel/audit.h Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/audit.h')
-rw-r--r--kernel/audit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/audit.h b/kernel/audit.h
index 214e14948370..9a3828bd387b 100644
--- a/kernel/audit.h
+++ b/kernel/audit.h
@@ -210,6 +210,8 @@ struct audit_context {
extern bool audit_ever_enabled;
+extern void audit_log_session_info(struct audit_buffer *ab);
+
extern void audit_copy_inode(struct audit_names *name,
const struct dentry *dentry,
struct inode *inode);