summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-05-08 23:22:29 -0500
committerSasha Levin <sasha.levin@oracle.com>2015-07-12 09:49:24 -0400
commit78ee73651f6e3f0b53ca6e00615c2ca43a57174e (patch)
tree70b5f457655866b2bf20d5152e777985c02f790a /.mailmap
parent866cebe251f4fb2b435f4ecfe6d3bb4025938533 (diff)
mnt: Refactor the logic for mounting sysfs and proc in a user namespace
[ Upstream commit 1b852bceb0d111e510d1a15826ecc4a19358d512 ] Fresh mounts of proc and sysfs are a very special case that works very much like a bind mount. Unfortunately the current structure can not preserve the MNT_LOCK... mount flags. Therefore refactor the logic into a form that can be modified to preserve those lock bits. Add a new filesystem flag FS_USERNS_VISIBLE that requires some mount of the filesystem be fully visible in the current mount namespace, before the filesystem may be mounted. Move the logic for calling fs_fully_visible from proc and sysfs into fs/namespace.c where it has greater access to mount namespace state. Cc: stable@vger.kernel.org Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions