Add the KUBSAN options to the arm64 and amd64 GENERIC kernel config files.

As the kernel file size may be too large to run with a stock loader comment
them out for now.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Andrew Turner 2018-11-06 17:47:58 +00:00
parent f71ef9b686
commit 3869df5d71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340193
2 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,8 @@ options WITNESS # Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
options VERBOSE_SYSINIT=0 # Support debug.verbose_sysinit, off by default
# Warning: KUBSAN can result in a kernel too large for loader to load
#options KUBSAN # Kernel Undefined Behavior Sanitizer
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps

View File

@ -92,6 +92,8 @@ options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
options ALT_BREAK_TO_DEBUGGER # Enter debugger on keyboard escape sequence
options USB_DEBUG # enable debug msgs
options VERBOSE_SYSINIT=0 # Support debug.verbose_sysinit, off by default
# Warning: KUBSAN can result in a kernel too large for loader to load
#options KUBSAN # Kernel Undefined Behavior Sanitizer
# Kernel dump features.
options EKCD # Support for encrypted kernel dumps