diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2018-11-16 18:16:35 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-11-19 18:26:27 +0100 |
commit | 0fe3c7fceb500de2d0adfb9dcf292580cd43ea38 (patch) | |
tree | 4a616a9e2052072545de4f42b320ff9ce94738f2 /kernel | |
parent | audit: Use 'mark' name for fsnotify_mark variables (diff) | |
download | linux-0fe3c7fceb500de2d0adfb9dcf292580cd43ea38.tar.xz linux-0fe3c7fceb500de2d0adfb9dcf292580cd43ea38.zip |
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')
-rw-r--r-- | kernel/audit.h | 2 |
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); |