diff options
author | Rob Landley <rob@landley.net> | 2013-09-11 14:26:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 15:59:36 -0700 |
commit | 137fdcc18a5979b53c0a1379b25fc68724e98a45 (patch) | |
tree | 4578399c35a509933e38e2951f46efe167012785 /kernel/exit.c | |
parent | 5e4c0d974139a98741b829b27cf38dc8f9284490 (diff) | |
download | linux-stable-137fdcc18a5979b53c0a1379b25fc68724e98a45.tar.gz linux-stable-137fdcc18a5979b53c0a1379b25fc68724e98a45.tar.bz2 linux-stable-137fdcc18a5979b53c0a1379b25fc68724e98a45.zip |
initmpfs: replace MS_NOUSER in initramfs
Mounting MS_NOUSER prevents --bind mounts from rootfs. Prevent new rootfs
mounts with a different mechanism that doesn't affect bind mounts.
Signed-off-by: Rob Landley <rob@landley.net>
Cc: Jeff Layton <jlayton@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions