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 commented out.



details:   https://anonhg.NetBSD.org/src/rev/ade24d906ab7
branches:  trunk
changeset: 1011809:ade24d906ab7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Jul 12 13:35:33 2020 +0000

description:
Add KUBSAN commented out.

diffstat:

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

diffs (22 lines):

diff -r b2693d5f1d84 -r ade24d906ab7 sys/arch/evbarm/conf/GENERIC
--- a/sys/arch/evbarm/conf/GENERIC      Sun Jul 12 13:33:44 2020 +0000
+++ b/sys/arch/evbarm/conf/GENERIC      Sun Jul 12 13:35:33 2020 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: GENERIC,v 1.81 2020/07/10 12:25:10 skrll Exp $
+#      $NetBSD: GENERIC,v 1.82 2020/07/12 13:35:33 skrll Exp $
 #
 #      GENERIC ARM (aarch32) kernel
 #
@@ -81,6 +81,11 @@
 
 #options       EARLYCONS=zynq, CONSADDR=0xe0001000
 
+# 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