summaryrefslogtreecommitdiff
path: root/include/linux/lsm_hooks.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-25 21:44:41 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-28 07:47:24 +0300
commit7fd25dac9ad3970bede16f2834daf9f9d779d1b0 (patch)
tree562290ebf7e4d12a1cbadb04deb5118a3e53d773 /include/linux/lsm_hooks.h
parente6641eddf0e7f0227493e91a1d91546f6bd73525 (diff)
downloadlinux-7fd25dac9ad3970bede16f2834daf9f9d779d1b0.tar.xz
constify chown_common/security_path_chown
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 77c3bfdacf16..84f76cbc6d06 100644
--- a/include/linux/lsm_hooks.h
+++ b/include/linux/lsm_hooks.h
@@ -1375,7 +1375,7 @@ union security_list_options {
struct path *new_dir,
struct dentry *new_dentry);
int (*path_chmod)(struct path *path, umode_t mode);
- int (*path_chown)(struct path *path, kuid_t uid, kgid_t gid);
+ int (*path_chown)(const struct path *path, kuid_t uid, kgid_t gid);
int (*path_chroot)(struct path *path);
#endif