Subject: Re: kern/35278: veriexec sometimes feeds user va to log(9)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 12/24/2006 06:55:02
The following reply was made to PR kern/35278; it has been noted by GNATS.

From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: elad@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/35278: veriexec sometimes feeds user va to log(9)
Date: Sun, 24 Dec 2006 15:54:09 +0900 (JST)

 > YAMAMOTO Takashi wrote:
 > >> ugh! any plans in sight to fix that?
 > > 
 > > that == VOP interfaces?
 > > i don't think there's a quick way.
 > 
 > specifically, fix nfs, so it works okay with SAVENAME from namei()
 > VOP_FOO...
 
 i don't think it's nfs's problem at all.
 
 > the possibilities for sys_unlink/rename_files are:
 > 
 >   - change NDINIT()/namei() to work with a pathname_t interface similar
 >     to what you suggested. if we do that, we probably don't want to
 >     pull it up to netbsd-4, and we'll have to pull up a PNBUF_GET() +
 >     copyinstr() + PNBUF_PUT() fix.
 > 
 >   - use a pathname_t interface similar to the one I suggested. this
 >     can be pulled up to netbsd-4.
 
 for short-term or netbsd-4, they are mostly same.
 the only difference is that, while the latter uses subroutines,
 the former duplicate the code instead.  right?
 
 YAMAMOTO Takashi