summaryrefslogtreecommitdiff
path: root/include/linux/lsm_hooks.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-25 21:22:01 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-28 07:46:54 +0300
commit81f4c50607b423a59f8a1b03e1e8fc409a1dcd22 (patch)
treeb1061fcf880915ead6fbf10e70af5d512cec3182 /include/linux/lsm_hooks.h
parent2c7661ff419580f5c06ea409e31407e0ff52cb95 (diff)
downloadlinux-81f4c50607b423a59f8a1b03e1e8fc409a1dcd22.tar.xz
constify security_path_truncate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/lsm_hooks.h')
-rw-r--r--include/linux/lsm_hooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h
index cdee11cbcdf1..77c3bfdacf16 100644
--- a/include/linux/lsm_hooks.h
+++ b/include/linux/lsm_hooks.h
@@ -1366,7 +1366,7 @@ union security_list_options {
int (*path_rmdir)(struct path *dir, struct dentry *dentry);
int (*path_mknod)(struct path *dir, struct dentry *dentry,
umode_t mode, unsigned int dev);
- int (*path_truncate)(struct path *path);
+ int (*path_truncate)(const struct path *path);
int (*path_symlink)(struct path *dir, struct dentry *dentry,
const char *old_name);
int (*path_link)(struct dentry *old_dentry, struct path *new_dir,