Subject: Re: kern/35278: veriexec sometimes feeds user va to log(9)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Elad Efrat <elad@NetBSD.org>
List: netbsd-bugs
Date: 12/20/2006 09:30:05
The following reply was made to PR kern/35278; it has been noted by GNATS.

From: Elad Efrat <elad@NetBSD.org>
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/35278: veriexec sometimes feeds user va to log(9)
Date: Wed, 20 Dec 2006 11:27:47 +0200

 YAMAMOTO Takashi wrote:
 
 > i don't think it's a good idea to sprinkle these redundant pnbuf allocation
 > and copyinstr.
 > 
 > if you really want to have a functionality to keep a copy of the original
 > pathname, it should be done by making namei always use a caller-supplied
 > buffer directly (and internal buffer only for symlink handing), rather
 > than a hack like this, IMO.
 
 wouldn't that mean changes to either namei() api and/or struct nameidata
 abi?
 
 -e.