Files
linux-stable-mirror/include/linux
Eric W. Biederman 1b852bceb0 mnt: Refactor the logic for mounting sysfs and proc in a user namespace
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>
2015-05-13 21:44:11 -05:00
..
2015-04-07 11:17:34 +02:00
2015-04-17 09:03:53 -04:00
2015-04-17 08:31:12 -06:00
2015-04-16 12:33:51 +09:30
2015-04-03 16:18:02 +02:00
2015-04-14 16:49:05 -07:00
2015-04-17 09:04:07 -04:00
2015-03-31 12:04:12 +02:00
2015-04-23 14:36:28 -04:00
2015-04-12 21:03:31 +02:00
2015-04-20 21:57:26 -04:00
2015-04-11 15:53:35 -04:00
2015-04-11 22:29:44 -04:00
2015-04-15 16:35:20 -07:00