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/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html