summaryrefslogtreecommitdiffstats
path: root/include/linux/lsm_hooks.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-25 15:28:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-28 00:47:51 -0400
commit77b286c0d26a5399912f5affd90ed73e2d8b42a5 (patch)
tree93b158a02da3f193947eb46567731c6c5ed58635 /include/linux/lsm_hooks.h
parent3ccee46ab487d5b87d0621824efe2500b2857c58 (diff)
downloadop-kernel-dev-77b286c0d26a5399912f5affd90ed73e2d8b42a5.zip
op-kernel-dev-77b286c0d26a5399912f5affd90ed73e2d8b42a5.tar.gz
constify security_path_chroot()
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 52c2ac5..e2baca4 100644
--- a/include/linux/lsm_hooks.h
+++ b/include/linux/lsm_hooks.h
@@ -1376,7 +1376,7 @@ union security_list_options {
struct dentry *new_dentry);
int (*path_chmod)(const struct path *path, umode_t mode);
int (*path_chown)(const struct path *path, kuid_t uid, kgid_t gid);
- int (*path_chroot)(struct path *path);
+ int (*path_chroot)(const struct path *path);
#endif
int (*inode_alloc_security)(struct inode *inode);
OpenPOWER on IntegriCloud