]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vfs: Ignore unlocked mounts in fs_fully_visible
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 7 Jan 2015 14:10:09 +0000 (08:10 -0600)
committerJiri Slaby <jslaby@suse.cz>
Thu, 30 Jul 2015 12:10:44 +0000 (14:10 +0200)
commit5029d7e0b1f8fc45efdc6fad2dd688801476b505
treea048fc370bb9543b866d41e94d56476751a3b736
parent4ac11cad23835c01bc6d871b4addf04bbc03d7aa
vfs: Ignore unlocked mounts in fs_fully_visible

commit ceeb0e5d39fcdf4dca2c997bf225c7fc49200b37 upstream.

Limit the mounts fs_fully_visible considers to locked mounts.
Unlocked can always be unmounted so considering them adds hassle
but no security benefit.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/namespace.c