Re: silent semantic changes with reiser4

From: viro
Date: Sat Aug 28 2004 - 14:55:30 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/