Module Name: src Committed By: kamil Date: Mon Jun 17 19:01:18 UTC 2019
Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/arch/i386/conf: GENERIC Log Message: Register UBSAN_ALWAYS_FATAL in kernel configs for kUBSan To generate a diff of this commit: cvs rdiff -u -r1.529 -r1.530 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.1207 -r1.1208 src/sys/arch/i386/conf/GENERIC Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/conf/GENERIC diff -u src/sys/arch/amd64/conf/GENERIC:1.529 src/sys/arch/amd64/conf/GENERIC:1.530 --- src/sys/arch/amd64/conf/GENERIC:1.529 Sat Jun 15 06:40:34 2019 +++ src/sys/arch/amd64/conf/GENERIC Mon Jun 17 19:01:17 2019 @@ -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 @@ include "arch/amd64/conf/std.amd64" 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 DDB_HISTORY_SIZE=512 # enable h #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) Index: src/sys/arch/i386/conf/GENERIC diff -u src/sys/arch/i386/conf/GENERIC:1.1207 src/sys/arch/i386/conf/GENERIC:1.1208 --- src/sys/arch/i386/conf/GENERIC:1.1207 Fri May 24 14:28:48 2019 +++ src/sys/arch/i386/conf/GENERIC Mon Jun 17 19:01:17 2019 @@ -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 @@ include "arch/i386/conf/std.i386" 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 DDB_HISTORY_SIZE=512 # enable h #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)