Index: usr.bin/protect/protect.1 =================================================================== --- usr.bin/protect/protect.1 +++ usr.bin/protect/protect.1 @@ -68,6 +68,11 @@ or .Fl g flags may be specified when adjusting the state of existing processes. +.Pp +Daemons can be protected on startup using +.Ao Ar name Ac Ns Va _oomprotect +option from +.Xr rc.conf 5 . .Sh EXIT STATUS .Ex -std .Sh EXAMPLES @@ -84,6 +89,7 @@ .Dl "protect -cdi -p 1" .Sh SEE ALSO .Xr procctl 2 +.Xr rc.conf 5 .Sh BUGS If you protect a runaway process that allocates all memory the system will deadlock.