Subject: Re: lib/30664: realpath and magic symlinks
To: YAMAMOTO Takashi <>
From: Christos Zoulas <>
List: netbsd-bugs
Date: 07/09/2005 10:35:07
On Jul 9, 11:10pm, (YAMAMOTO Takashi) wrote:
-- Subject: Re: lib/30664: realpath and magic symlinks

| > 2. Create sysctl to turn on/off readlink() return behavior. This sysctl
| >    "" (or something) defaults to 0, and is inherited
| >    across fork and exec. If, readlink returns the
| >    translated path; if ==1 then it returns the raw path.
| who is expected to toggle this sysctl?
| users, or applications?

Users. The point is not to make the whole tinh visible to applications.

| > 3. In the long term, move the whole mess to namei(), deprecate magiclinks.
| >    and rename the magiclinks mount option magicnames.
| i guess magicnames have its own weirdness...
| foreign filesystem/tarballs, remote files, etc.
| good luck. :-)

Why? The pathnames have @var's but they are otherwise valid.