Subject: Re: PaX MPROTECT (Re: CVS commit: src)
To: None <tech-kern@netbsd.org>
From: Jed Davis <jdev@panix.com>
List: tech-kern
Date: 05/17/2006 17:29:45
```YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> writes:

>> > btw, i don't think pax_mprotect_enabled and pax_mprotect_global are updated
>> > at all because you are using CTLFLAG_IMMEDIATE.
>>
>> I thought you had to use CTLFLAG_IMMEDIATE if you wanted the value
>> passed as qv to be used as the initial value...?
>
> i don't think it works as you expected.  see sysctl_lookup().
> you can just initialize the variables by normal C initializers.

Someone might want to fix the man page, then, because I made the same