]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2015 16:45:43 +0000 (09:45 -0700)
commit0cf10d95efb24cd901897c87218d6fc5dfc735dc
tree7f94a7140e960b03552ed71cbd51607883ad01e3
parentb0989d29acab6d7c6d6c8d3e89979b9514253995
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/namespace.c