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:40:03
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:39:27 +0900 (JST)
> YAMAMOTO Takashi wrote:
>
> > if you types '/bin/ls' and it was a symlink to '/bin/anotherls'.
>
> I just tried that:
>
> phyre:elad {6} ln -s /bin/ls myls
> phyre:elad {7} ./myls
>
> /var/log/messages:
> Dec 22 13:13:23 phyre /netbsd: Veriexec: Match. [/bin/ls]
> Dec 22 13:13:23 phyre /netbsd: Veriexec: Match. [/lib/libc.so.12]
> Dec 22 13:13:23 phyre /netbsd: Veriexec: Match. [[mmap]]
>
> or do you mean something else?
>
> -e.
i meant it.
i thought your intention was to save './myls' in that case.
(just a guess from your code in vn_open.)
if it isn't the case, no problem.
YAMAMOTO Takashi