In article <m0vaApK-0004ixC @
lina>, Bernd Eckenfels <lists @
>> Also, how would you patch sysctl.c in order to get write acess? just
>> change the 0444 to 0644 in the line :
>AFAIK yes. The strategy function will ensure that you can only increase the
>value. (PID 1 could decrease it). In addition to that you have to remove
>module support from kernel, this wont be blocked by securelevel.
Can you verify this? I just tried it, and it doesn't work. (I can decrease
the securelevel while in runlevel 5.) Perhaps an external program (like
the BSD sysctl) instead of patching sysctl.c should be how it is done?
Ambrose Li. acli @
Ming Pao Newspapers (Canada) Ltd., EDP
department. 1355 Huntingwood Drive, Scarborough, Ontario, M1S 3J1, Canada.
Voice +1 416 321 0088 x272 Fax +1 416 321 9663.
My favourite OS has yet no