diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 20:31:19 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 06:47:52 +0200 |
commit | 3b73b68c05db0b3c9b282c6e8e6eb71acc589a02 (patch) | |
tree | 3476c56eee92926db102949296804aa192a2c249 /security/tomoyo | |
parent | constify security_path_chroot() (diff) | |
download | linux-3b73b68c05db0b3c9b282c6e8e6eb71acc589a02.tar.xz linux-3b73b68c05db0b3c9b282c6e8e6eb71acc589a02.zip |
constify security_sb_pivotroot()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo')
-rw-r--r-- | security/tomoyo/tomoyo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index c7764bb747aa..75c998700190 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c @@ -429,7 +429,7 @@ static int tomoyo_sb_umount(struct vfsmount *mnt, int flags) * * Returns 0 on success, negative value otherwise. */ -static int tomoyo_sb_pivotroot(struct path *old_path, struct path *new_path) +static int tomoyo_sb_pivotroot(const struct path *old_path, const struct path *new_path) { return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path); } |