Subject: Re: lib/30664: realpath and magic symlinks
To: Chuck Silvers <firstname.lastname@example.org>
From: Jason Thorpe <email@example.com>
Date: 07/08/2005 10:35:29
On Jul 8, 2005, at 10:23 AM, Chuck Silvers wrote:
> I think that the real problem is having the path interpretation be
> for symlinks vs. other path lookups done in the kernel. it would make
> a lot more sense to have the tranlation done for all pathname lookups
> or none, and not this awkward halfway thing that "magic symlinks"
> then readlink() would be fine as it is.
So, the question is:
Are these magic names interpreted by lookup() before handing them off
to VFS_LOOKUP()? I would guess it would have to be, otherwise it
would just be insane.