Subject: Re: kern/35675 (magiclinks implementation broken)
To: None <gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 02/18/2007 12:41:57
On Feb 18, 11:04am, xtraeme@netbsd.org (xtraeme@netbsd.org) wrote:
-- Subject: Re: kern/35675 (magiclinks implementation broken)

| Synopsis: magiclinks implementation broken
| 
| State-Changed-From-To: open->closed
| State-Changed-By: xtraeme@netbsd.org
| State-Changed-When: Sun, 18 Feb 2007 11:04:13 +0000
| State-Changed-Why:
| Nobody thinks it's broken, so close it. I'll re-open
| another PR about perusertmp.

I think it is broken. realpath(3) does not work with it, and programs
that use readlink to do directory normalization (csh) are broken too.
Ideally realpath should be a system call, readlink should return the
expanded path, and there should be another system call to return the
unexpanded pathname. This way userland programs will work like before.

christos