mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
constify security_path_chroot()
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
3ccee46ab4
commit
77b286c0d2
4 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue