Author: andrew
Date: Tue Nov  6 17:47:58 2018
New Revision: 340193
URL: https://svnweb.freebsd.org/changeset/base/340193

Log:
  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

Modified:
  head/sys/amd64/conf/GENERIC
  head/sys/arm64/conf/GENERIC

Modified: head/sys/amd64/conf/GENERIC
==============================================================================
--- head/sys/amd64/conf/GENERIC Tue Nov  6 17:32:25 2018        (r340192)
+++ head/sys/amd64/conf/GENERIC Tue Nov  6 17:47:58 2018        (r340193)
@@ -100,6 +100,8 @@ options     WITNESS                 # Enable checks to 
detect deadlocks
 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

Modified: head/sys/arm64/conf/GENERIC
==============================================================================
--- head/sys/arm64/conf/GENERIC Tue Nov  6 17:32:25 2018        (r340192)
+++ head/sys/arm64/conf/GENERIC Tue Nov  6 17:47:58 2018        (r340193)
@@ -92,6 +92,8 @@ options       MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) 
 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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to