From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH review 0/7] Bind mount escape fixes Date: Sun, 16 Aug 2015 08:04:27 +0100 Message-ID: <20150816070427.GM14139@ZenIV.linux.org.uk> References: <87a8ts763c.fsf_-_@x220.int.ebiederm.org> <20150816021209.GI14139@ZenIV.linux.org.uk> <20150816045322.GJ14139@ZenIV.linux.org.uk> <87fv3ju4zy.fsf@x220.int.ebiederm.org> <20150816065503.GL14139@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150816065503.GL14139-3bDd1+5oDREiFSDQTTA3OLVCufUGDwFn@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: Andrey Vagin , Miklos Szeredi , Richard Weinberger , Linux Containers , Andy Lutomirski , "J. Bruce Fields" , linux-fsdevel , Jann Horn , Linus Torvalds , Willy Tarreau List-Id: containers.vger.kernel.org On Sun, Aug 16, 2015 at 07:55:03AM +0100, Al Viro wrote: > And umount-related followups are just that - I'm not asking you to do those, > especially since as I said this stuff is sensitive to fs_pin details (so far > it appears to fold nicely with the __detach_mounts()/umount_tree() stuff, > BTW). PS: it doesn't need namespace_sem taken inside __d_move() - actual detaching does, of course, but that part gets done via task_work_add(), in a reasonably sane locking environment.