commit | 77b286c0d26a5399912f5affd90ed73e2d8b42a5 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Mar 25 15:28:43 2016 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Mar 28 00:47:51 2016 -0400 |
tree | 93b158a02da3f193947eb46567731c6c5ed58635 | |
parent | 3ccee46ab487d5b87d0621824efe2500b2857c58 [diff] [blame] |
constify security_path_chroot() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index 6a858f2..c7764bb 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c
@@ -385,7 +385,7 @@ * * 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); }