From mboxrd@z Thu Jan 1 00:00:00 1970 From: viro@parcelfarce.linux.theplanet.co.uk Subject: Re: silent semantic changes with reiser4 Date: Sat, 28 Aug 2004 20:45:26 +0100 Sender: 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 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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.