From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karel Zak Subject: Re: read only bind mount ignores ready only Date: Fri, 13 Dec 2013 09:18:48 +0100 Message-ID: <20131213081848.GM16572@x2.net.home> References: <52A878C5.6050505@ubuntu.com> <20131212120544.GJ16572@x2.net.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Phillip Susi , util-linux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux-Fsdevel To: Miklos Szeredi Return-path: Content-Disposition: inline In-Reply-To: Sender: util-linux-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Dec 12, 2013 at 08:42:54PM +0100, Miklos Szeredi wrote: > On Thu, Dec 12, 2013 at 1:05 PM, Karel Zak wrote: > > Miklos would be possible to fix kernel to accept MS_REC for > > MS_REMOUNT|MS_BIND|MS_RDONLY operation? Please. > > I really hate the current mount(2) API. It's a gigantic hack, and it's We all hate it, but we have to use it every day.. > nearing the end of its life anyway due to flags running out. well, the current problem with MS_REC is just one small inconsistence in the current MS_REMOUNT|MS_BIND semantic. It would be really nice to fix it now. > So instead of adding more hacks, I think it would be better to think > about adding a couple of syscalls that have clearly defined semantics. Yes, but it's (very) long term goal... Karel -- Karel Zak http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html