cheribsd icon indicating copy to clipboard operation
cheribsd copied to clipboard

rc.d and motd warnings if WITNESS, INVARIANTS, malloc debugging, etc., are enabled

Open rwatson opened this issue 2 years ago • 0 comments

With a relatively new community of CheriBSD users forming, who are generally expected to be inexperienced with FreeBSD, we need to make it extremely clear when performance-harmful debug options are enabled by default in the kernel and userspace. Two possibilities, likely both of which should be pursued, are:

  • An rc.d script running at the very end of the boot that checks various relevant sysctls and libc options
  • An rc.d script that updates /etc/motd to include debugging feature warnings at login when they are enabled

rwatson avatar Apr 08 '22 19:04 rwatson