linux/fs/namespace.c
Eric W. Biederman e4102c4239 vfs: Ignore unlocked mounts in fs_fully_visible
[ Upstream commit c89d4319ae ]

commit ceeb0e5d39 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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-07-20 21:12:43 -04:00

3263 lines
80 KiB