Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/conf Register kUBSan and KCOV in kernel=GENERI...



details:   https://anonhg.NetBSD.org/src/rev/9d50492b106f
branches:  trunk
changeset: 839505:9d50492b106f
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Feb 23 12:28:22 2019 +0000

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

Both options are disabled by default.

diffstat:

 sys/arch/i386/conf/GENERIC |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 4a8979238349 -r 9d50492b106f sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Sat Feb 23 12:27:00 2019 +0000
+++ b/sys/arch/i386/conf/GENERIC        Sat Feb 23 12:28:22 2019 +0000
@@ -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 @@
 
 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       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



Home | Main Index | Thread Index | Old Index