Subject: Re: kern/35675 (magiclinks implementation broken)
To: None <christos@zoulas.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 04/02/2007 07:27:38
> 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.

are you talking about PR/30705?

> 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

can you explain why realpath should be a system call?

YAMAMOTO Takashi