commit | 2c981af6c8ed75640a7058473aaf42732386836c | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Fri May 08 16:36:50 2015 -0500 |
committer | Sasha Levin <sasha.levin@oracle.com> | Sat May 23 15:43:26 2015 -0400 |
tree | 95700da8a19dade77d1c6805eebac30ab00ce4bc | |
parent | d4b113a8840776191189952a9d194cf7c034af35 [diff] |
mnt: Fix fs_fully_visible to verify the root directory is visible [ Upstream commit 7e96c1b0e0f495c5a7450dc4aa7c9a24ba4305bd ] 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: Eric Windisch <ewindisch@docker.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>