Messages in this thread | | | Date | Thu, 11 Sep 2014 07:40:12 -0700 | From | "Michael Kerrisk (man-pages)" <> | Subject | Re: For review: user_namespace(7) man page |
| |
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/
| |