forked from Minki/linux
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>
This commit is contained in:
parent
f905c2fc39
commit
0fe3c7fceb
@ -115,8 +115,6 @@ extern int audit_classify_compat_syscall(int abi, unsigned syscall);
|
||||
|
||||
struct filename;
|
||||
|
||||
extern void audit_log_session_info(struct audit_buffer *ab);
|
||||
|
||||
#define AUDIT_OFF 0
|
||||
#define AUDIT_ON 1
|
||||
#define AUDIT_LOCKED 2
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user