by torne » Fri Sep 13, 2002 12:56 pm
If you enable sysctl support in the kernel, then all options default to off.
You then are supposed to use an init script to set the ones you want to on, and then set grsec_lock to 1, which will prevent any sysctl options from being changed (even by root).
If you don't enable sysctl support in the kernel, then all options you chose to compile in are turned on all the time and cannot be disabled.
There are one or two options which do not have a sysctl option (check their configure help text) and these will always be enabled whether sysctl support is on or not (like PaX).
Only recent version of grsecurity work this way - 1.9.5 defaulted to 1 even with sysctl enabled, as smith saw.
Hope this clears up any confusion!
Torne