summaryrefslogtreecommitdiff
path: root/include/linux/audit.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-21 04:36:51 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-06 03:00:38 +0300
commit8bd107633b64195a0748b05236c3d14db0a8bed4 (patch)
tree6716233bf0435a5acec9f1c5349736c8a14d1fb4 /include/linux/audit.h
parent40212d531d4bfac48dca8cd3d794639766745cda (diff)
downloadlinux-8bd107633b64195a0748b05236c3d14db0a8bed4.tar.xz
audit_log_{name,link_denied}: constify struct path
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r--include/linux/audit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 9d4443f93db6..f51fca8d0b6f 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -147,7 +147,7 @@ extern void audit_log_d_path(struct audit_buffer *ab,
extern void audit_log_key(struct audit_buffer *ab,
char *key);
extern void audit_log_link_denied(const char *operation,
- struct path *link);
+ const struct path *link);
extern void audit_log_lost(const char *message);
#ifdef CONFIG_SECURITY
extern void audit_log_secctx(struct audit_buffer *ab, u32 secid);