Subject: Re: veriexec by default (Re: CVS commit: src/sys/arch)
To: YAMAMOTO Takashi <email@example.com>
From: Elad Efrat <elad@NetBSD.org>
Date: 10/27/2006 17:51:06
YAMAMOTO Takashi wrote:
>> YAMAMOTO Takashi wrote:
>>>> + char *pathbuf;
>>>> + pathbuf = __UNCONST(ndp->ni_dirp);
>>> why can't you make it const?
>> I can. other than that, is it okay?
> yes, it seems better than the current code.
if pathbuf is const, btw, I have to __UNCONST it when passing to
copyinstr() and PNBUF_PUT() it seems. still okay? :)