constify security_path_chroot()

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2016-03-25 15:28:43 -04:00
commit 77b286c0d2
4 changed files with 5 additions and 5 deletions

View file

@ -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);
}