[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1372561760.2776.161@driftwood>
Date: Sat, 29 Jun 2013 22:09:20 -0500
From: Rob Landley <rob@...dley.net>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: linux-kernel@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH 1/5] initmpfs: replace MS_NOUSER in initramfs
On 06/29/2013 08:15:40 PM, Eric W. Biederman wrote:
> Rob Landley <rob@...dley.net> writes:
>
> > From: Rob Landley <rob@...dley.net>
> >
> > Mounting MS_NOUSER prevents --bind mounts from rootfs. Prevent new
> rootfs
> > mounts with a different mechanism that doesn't affect bind mounts.
>
> I don't see patches 4 and 5 so I don't know if you have covered this
> elsewhere but a very important part of the reason for MS_NOUSER is to
> prevent unmounting of rootfs.
>
> The entire vfs breaks if you are allowed to unmount rootfs, and it
> appears this patch is allowing that.
I mean I tried "mount --move / home". (--bind worked.)
Long day...
Rob--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists