From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH v2] vfs: Tighten up linkat(..., AT_EMPTY_PATH) Date: Thu, 22 Aug 2013 13:44:05 -0700 Message-ID: References: <20130822185317.GI31117@1wt.eu> <20130822201530.GL31117@1wt.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Willy Tarreau , "security@kernel.org" , Ingo Molnar , Linux Kernel Mailing List , Oleg Nesterov , Al Viro , Linux FS Devel , Brad Spengler To: Andy Lutomirski Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Aug 22, 2013 at 1:22 PM, Andy Lutomirski wrote: > > Let me rephrase that: why do we allow these types of lookup to recurse > like normal symlinks? I'm proposing that these links immediately > terminate lookup [..] It can nest *inside* a regular symlink. So there should not be any recursion of pure /proc style symlink jumps, but they live within the nesting that is normal symlink behavior. Linus