Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/conf Add KUBSAN.



details:   https://anonhg.NetBSD.org/src/rev/694d435f0d79
branches:  trunk
changeset: 971090:694d435f0d79
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Apr 13 11:44:20 2020 +0000

description:
Add KUBSAN.

diffstat:

 sys/arch/evbarm/conf/GENERIC64 |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r ed9763937bca -r 694d435f0d79 sys/arch/evbarm/conf/GENERIC64
--- a/sys/arch/evbarm/conf/GENERIC64    Mon Apr 13 11:43:27 2020 +0000
+++ b/sys/arch/evbarm/conf/GENERIC64    Mon Apr 13 11:44:20 2020 +0000
@@ -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 @@
 #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.



Home | Main Index | Thread Index | Old Index