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
assumption as Elad did.

-- 
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))