From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267671AbUH1TvW (ORCPT ); Sat, 28 Aug 2004 15:51:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267696AbUH1Ts6 (ORCPT ); Sat, 28 Aug 2004 15:48:58 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:25745 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S267671AbUH1Tp3 (ORCPT ); Sat, 28 Aug 2004 15:45:29 -0400 Date: Sat, 28 Aug 2004 20:45:26 +0100 From: viro@parcelfarce.linux.theplanet.co.uk To: Linus Torvalds Cc: Helge Hafting , Rik van Riel , Spam , Jamie Lokier , Hans Reiser , David Masover , Diego Calleja , christophe@saout.de, vda@port.imtp.ilyichevsk.odessa.ua, christer@weinigel.se, Andrew Morton , wichert@wiggy.net, jra@samba.org, hch@lst.de, linux-fsdevel@vger.kernel.org, Kernel Mailing List , flx@namesys.com, reiserfs-list@namesys.com Subject: Re: silent semantic changes with reiser4 Message-ID: <20040828194526.GL21964@parcelfarce.linux.theplanet.co.uk> References: <20040828170515.GB24868@hh.idb.hist.no> <20040828182954.GJ21964@parcelfarce.linux.theplanet.co.uk> <20040828185613.GK21964@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 28, 2004 at 12:16:47PM -0700, Linus Torvalds wrote: > So if we do support it, I think we should just make the attribute point > look exactly like a normal directory, since that path would work as-is. If > we don't support it (and at directory points), we might want to just > consider it a special root. > > NOTE! Anybody who tries to use the "getcwd()" string as a real path is > already broken - you have pathname permissions that may not make it > possible to look up the path you see. OK, forget getcwd(). What does lookup of .. do from that point? *Especially* for stuff you've got from regular files. That's the decision that needs to be made.