Subject: Re: kern/35675 (magiclinks implementation broken)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 04/01/2007 22:30:02
The following reply was made to PR kern/35675; it has been noted by GNATS.
From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: christos@zoulas.com
Cc: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, xtraeme@netbsd.org,
juan@xtrarom.org, core@netbsd.org
Subject: Re: kern/35675 (magiclinks implementation broken)
Date: Mon, 2 Apr 2007 07:27:38 +0900 (JST)
> 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