diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-27 14:29:57 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-31 18:22:32 +0200 |
commit | c2c44ec20a8496f7a3b3401c092afe96908eced1 (patch) | |
tree | e5e8123b0cca114947fbb8a453e49a26fccdea40 /Kconfig | |
parent | fix the struct mount leak in umount_tree() (diff) | |
download | linux-c2c44ec20a8496f7a3b3401c092afe96908eced1.tar.xz linux-c2c44ec20a8496f7a3b3401c092afe96908eced1.zip |
Unbreak mount_capable()
In "consolidate the capability checks in sget_{fc,userns}())" the
wrong argument had been passed to mount_capable() by sget_fc().
That mistake had been further obscured later, when switching
mount_capable() to fs_context has moved the calculation of
bogus argument from sget_fc() to mount_capable() itself. It
should've been fc->user_ns all along.
Screwed-up-by: Al Viro <viro@zeniv.linux.org.uk>
Reported-by: Christian Brauner <christian@brauner.io>
Tested-by: Christian Brauner <christian@brauner.io>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions