aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/tomoyo.c
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 /security/tomoyo/tomoyo.c
parentconstify security_path_{link,rename} (diff)
downloadlinux-dev-77b286c0d26a5399912f5affd90ed73e2d8b42a5.tar.xz
linux-dev-77b286c0d26a5399912f5affd90ed73e2d8b42a5.zip
constify security_path_chroot()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--security/tomoyo/tomoyo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c
index 6a858f2f4063..c7764bb747aa 100644
--- a/security/tomoyo/tomoyo.c
+++ b/security/tomoyo/tomoyo.c
@@ -385,7 +385,7 @@ static int tomoyo_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
*
* Returns 0 on success, negative value otherwise.
*/
-static int tomoyo_path_chroot(struct path *path)
+static int tomoyo_path_chroot(const struct path *path)
{
return tomoyo_path_perm(TOMOYO_TYPE_CHROOT, path, NULL);
}