Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Register UBSAN_ALWAYS_FATAL in kernel configs for k...



details:   https://anonhg.NetBSD.org/src/rev/c7929eea7e4a
branches:  trunk
changeset: 999750:c7929eea7e4a
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon Jun 17 19:01:17 2019 +0000

description:
Register UBSAN_ALWAYS_FATAL in kernel configs for kUBSan

diffstat:

 sys/arch/amd64/conf/GENERIC |  5 +++--
 sys/arch/i386/conf/GENERIC  |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 932257fb16cb -r c7929eea7e4a sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Mon Jun 17 18:55:37 2019 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Mon Jun 17 19:01:17 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.529 2019/06/15 06:40:34 maxv Exp $
+# $NetBSD: GENERIC,v 1.530 2019/06/17 19:01:17 kamil Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.529 $"
+#ident         "GENERIC-$Revision: 1.530 $"
 
 maxusers       64              # estimated number of users
 
@@ -116,6 +116,7 @@
 #options       KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 makeoptions    DEBUG="-g"      # compile full symbol table for CTF
 #options       KUBSAN          # Kernel Undefined Behavior Sanitizer (kUBSan)
+#options       UBSAN_ALWAYS_FATAL      # (optional) Panic on all kUBSan reports
 #options       SYSCALL_STATS   # per syscall counts
 #options       SYSCALL_TIMES   # per syscall times
 #options       SYSCALL_TIMES_HASCOUNTER        # use 'broken' rdtsc (soekris)
diff -r 932257fb16cb -r c7929eea7e4a sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Mon Jun 17 18:55:37 2019 +0000
+++ b/sys/arch/i386/conf/GENERIC        Mon Jun 17 19:01:17 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1207 2019/05/24 14:28:48 nonaka Exp $
+# $NetBSD: GENERIC,v 1.1208 2019/06/17 19:01:17 kamil Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.1207 $"
+#ident         "GENERIC-$Revision: 1.1208 $"
 
 maxusers       64              # estimated number of users
 
@@ -121,6 +121,7 @@
 #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       UBSAN_ALWAYS_FATAL      # (optional) Panic on all kUBSan reports
 #options       SYSCALL_STATS   # per syscall counts
 #options       SYSCALL_TIMES   # per syscall times
 #options       SYSCALL_TIMES_HASCOUNTER        # use 'broken' rdtsc (soekris)



Home | Main Index | Thread Index | Old Index