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/23/2006 12:15:05
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: Sat, 23 Dec 2006 21:10:51 +0900 (JST)
> YAMAMOTO Takashi wrote:
> >> YAMAMOTO Takashi wrote:
> >>>> btw: can't we solve the problem for netbsd-4 with SAVENAME?
> >>> if it's enough for you, it can. i don't know.
> >> it's the same, because namei() can already do this for us.
> >
> > same as what?
>
> namei() already does the copyinstr() for us. if we pass it SAVENAME,
> it we'll get it in the nameidata, so no need to copyinstr() again..
> see diff.
do you mean what SAVENAME does is the same as what you want for veriexec?
> > then, you don't care if it's an original pathname or not?
>
> what do you mean "an original pathname or not"?
>
> -e.
if it's a pathname which is specified by a user.
YAMAMOTO Takashi