summaryrefslogtreecommitdiffstats
path: root/security/security.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/security.c
parent3ccee46ab487d5b87d0621824efe2500b2857c58 (diff)
downloadblackbird-op-linux-77b286c0d26a5399912f5affd90ed73e2d8b42a5.tar.gz
blackbird-op-linux-77b286c0d26a5399912f5affd90ed73e2d8b42a5.zip
constify security_path_chroot()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c
index 33b85a960128..cf6f31df524a 100644
--- a/security/security.c
+++ b/security/security.c
@@ -499,7 +499,7 @@ int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
return call_int_hook(path_chown, 0, path, uid, gid);
}
-int security_path_chroot(struct path *path)
+int security_path_chroot(const struct path *path)
{
return call_int_hook(path_chroot, 0, path);
}
OpenPOWER on IntegriCloud