]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.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)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 1 Jul 2015 15:36:35 +0000 (10:36 -0500)
commitceeb0e5d39fcdf4dca2c997bf225c7fc49200b37
tree8e005dec00f79b8176f42070c176c43b3e3bf030
parent8c6cf9cc829fcd0b179b59f7fe288941d0e31108
vfs: Ignore unlocked mounts in fs_fully_visible

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

Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/namespace.c