Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2018 17:47:58 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r340193 - in head/sys: amd64/conf arm64/conf
Message-ID:  <201811061747.wA6HlwtG075048@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811061747.wA6HlwtG075048>