sysctls in kern_shutdown: add twin tunables

Robert N. M. Watson rwatson at FreeBSD.org
Thu Sep 30 18:49:09 UTC 2010


On 30 Sep 2010, at 19:19, Andriy Gapon wrote:

> http://people.freebsd.org/~avg/kern_shutdown-tunables.diff
> 
> The above patch adds twin tunables for the following (R/W) sysctls:
> - debug.debugger_on_panic
> - debug.trace_on_panic
> - kern.sync_on_panic
> 
> This seems useful to me, but I am not sure if I am not missing something
> important.  E.g. security-wise.
> It seems that I am not paranoid enough often times.


This change seems fine to me. Our trust model assumes that loader.conf will be properly protected (or rather, that if you don't protect loader.conf properly, you should expect unfortunate results).

Robert


More information about the freebsd-current mailing list