From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: For review: user_namespace(7) man page Date: Thu, 11 Sep 2014 07:40:12 -0700 Message-ID: <5411B44C.5050405@gmail.com> References: <53F5310A.5080503@gmail.com> <87d2bhfxvc.fsf@x220.int.ebiederm.org> <5404AD7F.4070004@gmail.com> <87sikade6s.fsf@x220.int.ebiederm.org> <540F07FD.7010106@gmail.com> <87bnqon513.fsf@x220.int.ebiederm.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87bnqon513.fsf-JOvCrm2gF+uungPnsOpG7nhyD016LWXt@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Eric W. Biederman" Cc: "linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , richard.weinberger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, lkml , Andy Lutomirski , mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org List-Id: linux-man@vger.kernel.org On 09/09/2014 09:16 AM, Eric W. Biederman wrote: >>> On a related note. One thing that has come up recently (in 3 separate >>> >> implementations is that mount(MS_REMOUNT|...,...) must include all of >>> >> the mount flags that need to be preserved. People creating read-only >>> >> bind mounts tend to miss that and the locked flags in mount namespaces. >>> >> That issue was flushed out now that the kernel is now not allowing most >>> >> mount flags to be cleared in mount namespaces. >> > >> > So, are you meaning that something needs to be added to the page >> > regarding this point? > Yes. The interface is non-intuitive and we should at least document > the weirdness. Okay -- I have added that piece to mount(2). Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/