Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/conf style



details:   https://anonhg.NetBSD.org/src/rev/9f55d5619ba6
branches:  trunk
changeset: 934761:9f55d5619ba6
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Jun 18 16:23:43 2020 +0000

description:
style

diffstat:

 sys/arch/amd64/conf/GENERIC |  15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diffs (48 lines):

diff -r 94c2dd7d0536 -r 9f55d5619ba6 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Thu Jun 18 13:52:08 2020 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Thu Jun 18 16:23:43 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.569 2020/06/07 09:45:19 maxv Exp $
+# $NetBSD: GENERIC,v 1.570 2020/06/18 16:23:43 maxv Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.569 $"
+#ident         "GENERIC-$Revision: 1.570 $"
 
 maxusers       64              # estimated number of users
 
@@ -76,8 +76,9 @@
 # CPU-related options
 #options       USER_LDT        # User-settable LDT, used by Wine
 options        SVS             # Separate Virtual Space
-makeoptions    SPECTRE_V2_GCC_MITIGATION=1     # GCC Spectre variant 2
-                                               # migitation
+
+# GCC Spectre variant 2 migitation
+makeoptions    SPECTRE_V2_GCC_MITIGATION=1
 options        SPECTRE_V2_GCC_MITIGATION
 
 # CPU features
@@ -122,13 +123,15 @@
 #options       KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 makeoptions    DEBUG="-g"      # compile full symbol table for CTF
 options DDB_COMMANDONENTER="trace;show registers"
-#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)
 options        KDTRACE_HOOKS   # kernel DTrace hooks
 
+# Kernel Undefined Behavior Sanitizer (kUBSan).
+#options       KUBSAN                  # mandatory
+#options       UBSAN_ALWAYS_FATAL      # optional: panic on all kUBSan reports
+
 # Kernel Address Sanitizer (kASan). You need to disable SVS to use it.
 # 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