Skip to content
Commit 7e96c1b0 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

mnt: Fix fs_fully_visible to verify the root directory is visible



This fixes a dumb bug in fs_fully_visible that allows proc or sys to
be mounted if there is a bind mount of part of /proc/ or /sys/ visible.

Cc: stable@vger.kernel.org
Reported-by: default avatarEric Windisch <ewindisch@docker.com>
Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent b787f68c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment