summaryrefslogtreecommitdiffstats
path: root/kernel/audit.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-20 20:36:51 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-05 19:00:38 -0500
commit8bd107633b64195a0748b05236c3d14db0a8bed4 (patch)
tree6716233bf0435a5acec9f1c5349736c8a14d1fb4 /kernel/audit.h
parent40212d531d4bfac48dca8cd3d794639766745cda (diff)
downloadlinux-stable-8bd107633b64195a0748b05236c3d14db0a8bed4.tar.gz
linux-stable-8bd107633b64195a0748b05236c3d14db0a8bed4.tar.bz2
linux-stable-8bd107633b64195a0748b05236c3d14db0a8bed4.zip
audit_log_{name,link_denied}: constify struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit.h')
-rw-r--r--kernel/audit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.h b/kernel/audit.h
index 431444c3708b..960d49c9db5e 100644
--- a/kernel/audit.h
+++ b/kernel/audit.h
@@ -212,7 +212,7 @@ extern void audit_copy_inode(struct audit_names *name,
extern void audit_log_cap(struct audit_buffer *ab, char *prefix,
kernel_cap_t *cap);
extern void audit_log_name(struct audit_context *context,
- struct audit_names *n, struct path *path,
+ struct audit_names *n, const struct path *path,
int record_num, int *call_panic);
extern int audit_pid;