Module Name:    src
Committed By:   kamil
Date:           Sat Feb 23 12:28:22 UTC 2019

Modified Files:
        src/sys/arch/i386/conf: GENERIC

Log Message:
Register kUBSan and KCOV in kernel=GENERIC of NetBSD/i386

Both options are disabled by default.


To generate a diff of this commit:
cvs rdiff -u -r1.1201 -r1.1202 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1201 src/sys/arch/i386/conf/GENERIC:1.1202
--- src/sys/arch/i386/conf/GENERIC:1.1201	Fri Feb 15 08:54:01 2019
+++ src/sys/arch/i386/conf/GENERIC	Sat Feb 23 12:28:22 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1201 2019/02/15 08:54:01 nonaka Exp $
+# $NetBSD: GENERIC,v 1.1202 2019/02/23 12:28:22 kamil Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1201 $"
+#ident		"GENERIC-$Revision: 1.1202 $"
 
 maxusers	64		# estimated number of users
 
@@ -120,11 +120,16 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 #makeoptions	DEBUG="-g"	# compile full symbol table
+#options	KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
 #options 	SYSCALL_STATS	# per syscall counts
 #options 	SYSCALL_TIMES	# per syscall times
 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
 options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
+# Kernel Code Coverage Driver.
+#makeoptions	KCOV=1
+#options	KCOV
+
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID

Reply via email to