Module Name:    src
Committed By:   maxv
Date:           Mon Apr 13 11:44:20 UTC 2020

Modified Files:
        src/sys/arch/evbarm/conf: GENERIC64

Log Message:
Add KUBSAN.


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 src/sys/arch/evbarm/conf/GENERIC64

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/evbarm/conf/GENERIC64
diff -u src/sys/arch/evbarm/conf/GENERIC64:1.151 src/sys/arch/evbarm/conf/GENERIC64:1.152
--- src/sys/arch/evbarm/conf/GENERIC64:1.151	Mon Apr 13 05:40:26 2020
+++ src/sys/arch/evbarm/conf/GENERIC64	Mon Apr 13 11:44:20 2020
@@ -1,5 +1,5 @@
 #
-#	$NetBSD: GENERIC64,v 1.151 2020/04/13 05:40:26 maxv Exp $
+#	$NetBSD: GENERIC64,v 1.152 2020/04/13 11:44:20 maxv Exp $
 #
 #	GENERIC ARM (aarch64) kernel
 #
@@ -172,6 +172,11 @@ options 	INCLUDE_CONFIG_FILE
 #makeoptions 	ARMV85_BTI=1
 #options 	ARMV85_BTI
 
+# Kernel Undefined Behavior Sanitizer (kUBSan). Use UBSAN_ALWAYS_FATAL
+# if you want panics instead of warnings.
+#options 	KUBSAN			# mandatory
+#options 	UBSAN_ALWAYS_FATAL	# optional
+
 # Kernel Address Sanitizer (kASan). The quarantine is optional and can
 # help KASAN find more use-after-frees. Use KASAN_PANIC if you want panics
 # instead of warnings.

Reply via email to