Subject: Re: kern/35276 (linux compatible /proc cannot readlink(): breaks
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: George Michaelson <ggm@apnic.net>
List: netbsd-bugs
Date: 12/19/2006 06:20:02
The following reply was made to PR kern/35276; it has been noted by GNATS.

From: George Michaelson <ggm@apnic.net>
To: gnats-bugs@NetBSD.org
Cc: elad@NetBSD.org, kern-bug-people@NetBSD.org,
	netbsd-bugs@NetBSD.org, gnats-admin@NetBSD.org
Subject: Re: kern/35276 (linux compatible /proc cannot readlink(): breaks
 java)
Date: Tue, 19 Dec 2006 16:15:48 +1000

 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