Subject: Re: kern/35276 (linux compatible /proc cannot readlink(): breaks
To: None <gnats-bugs@NetBSD.org>
From: George Michaelson <ggm@apnic.net>
List: netbsd-bugs
Date: 12/19/2006 16:15:48
On Tue, 19 Dec 2006 05:38:08 +0000 (UTC)
elad@NetBSD.org wrote:

> Synopsis: linux compatible /proc cannot readlink(): breaks java
> 
> State-Changed-From-To: open->closed
> State-Changed-By: elad@netbsd.org
> State-Changed-When: Tue, 19 Dec 2006 05:38:07 +0000
> State-Changed-Why:
> dup of 35226
> 
> 
> 

Thanks for the redirect to the originals. Sorry for a dup submit Elad.

The bug in question says you have a fix, but some concerns.
 
35226 refers to /cpuinfo. My instance was /proc/self/exe -thats the
only call in java I can see. -I'd argue that pending a more complete
fix, a reference under /proc to .../self/... should be permitted under
any kauth/security checks: its the self-referential PID reference.


-G