From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: new ...at() flag: AT_NO_JUMPS Date: Mon, 1 May 2017 06:15:06 +0100 Message-ID: <20170501051506.GY29622@ZenIV.linux.org.uk> References: <20170429220414.GT29622@ZenIV.linux.org.uk> <20170429232504.GU29622@ZenIV.linux.org.uk> <20170430043822.GE27790@bombadil.infradead.org> <20170430161040.GW29622@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andy Lutomirski Cc: Matthew Wilcox , Linux API , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Linux FS Devel List-Id: linux-api@vger.kernel.org On Sun, Apr 30, 2017 at 09:52:37PM -0700, Andy Lutomirski wrote: > On Sun, Apr 30, 2017 at 9:10 AM, Al Viro wrote: > > On Sat, Apr 29, 2017 at 09:38:22PM -0700, Matthew Wilcox wrote: > > > >> It sounds more like AT_NO_ESCAPE ... or AT_BELOW, or something. > > > > I considered AT_ROACH_MOTEL at one point... Another interesting > > question is whether EXDEV would've been better than ELOOP. > > Opinions? > > In support of my homeland, I propose AT_HOTEL_CALIFORNIA. > > How about EXDEV for crossing a mountpoint and ELOOP for absolute > symlinks or invalid ..? (Is there a technical reason why the same AT_ > flag should trigger both cases?) You do realize that mount --bind can do everything absolute symlinks could, right? And absolute symlinks most likely do lead to (or at least through) a different fs...