Hi,

Here is a patch which will allow init(8) (or rather, any process with
PID 1) to lower the securelevel to 0 when going into single-user
maintenence mode.  This has no effect if securelevel is -1.

Feedback welcome -- there may be security implications I'm not aware
of.  If this is well recieved, I will tack it onto bin/20974 for
further review and commit into -CURRENT.

-Paul.

begin 644 init_securelevel.patch.gz
M'XL(")&]MSD"`VEN:71?<V5C=7)E;&5V96PN<&%T8V@`=5+;3MM`$'V.O^+P
M@A(<.TY22'`;%*KR0"4H*DA]C#;V)%GAK-W=-2$J_??.KH%R"9(UZ]V9,Y<S
M)XHBF*WIW9)6WLS6<AYGK9M5C=-Z"0R1#-+D.!T.,$B2)`C#<!<@5K3QH&NJ
M@!'ZH_1PG":C!C2=(NJ/AMT1PN:83@.T6J1UJ3%Q^3);S%9"Y07-I++M4N95
M%_L%W5'11=*%IM^=SPXC%V@WN(<'[/%S=,*E*ZL[SMO29&NM'D,8$34(GPA?
M8"BK-?E;)P@_]&%_'SYUQ=^LDCE.T']=X.SJ[.=%T])+X`3^]._O>G%<SZ7J
M226M-TSTM;#X7A=`'\DX'?;3PY=$OXE^QS)3S-L9_V?Y:)ATCQ"ZH_]$\XSN
MI6TGOMF_`7CNW@$;'.!\`;LBB'S-^8W5PC*O*V&@2LM\6._UXTF[;2:#+7F7
M#9Q_I<IE)BQQI&C"G28XS*S*NLA](ETKK.O"RMJ09L0CTTV.=9E3UP$5JOI5
M!DOKJM1"RV++(%^K`7I,[.%-CLL?-V<I;E;28%/J6X,Y98*+84,\S1WAZOP;
M\]MVU[*B#EAH#;)4G)R]!HE[Y*!,*.24:1*&=HS?E.VQ==)9DGUR>V^[@[T)
MT^.U9=XZW0;"%B_!0=M.51,LN-]VIX/)!$D'?]RZ>#ELN;EK*_3C"J1:%@3/
MGR%C9*GB77(:MWY1C@[EMAIL PROTECTED]#^4TWB6G?OKIA9R.ATY-;,=>2_%5
M%3#/SROBS3+ETJYXCEHCEXL%:5*VX<J@7#S3%P<X55N8NB(=^4$J768\BV=<
M"[F3[B[F+`I5/@4'(=UG5-D@C"_7@8<6Y<:IRL9-9Z_Q!D)3RHU_+1!9L42T
0D;EKMQ#+X!\K^["T_`0``-D@
`
end



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to