CVS commit: src/external/gpl3/gcc.old/usr.bin/include/sanitizer

2018-08-02 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 2 07:47:30 UTC 2018 Modified Files: src/external/gpl3/gcc.old/usr.bin/include/sanitizer: Makefile Log Message: fix the sanitizer include path. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/external/

CVS commit: src

2018-08-02 Thread Robert Swindells
Module Name:src Committed By: rjs Date: Thu Aug 2 08:40:48 UTC 2018 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: shl.mi src/lib/libc: shlib_version src/lib/libc/net: Makefi

CVS commit: src/lib/libc/net

2018-08-02 Thread Robert Swindells
Module Name:src Committed By: rjs Date: Thu Aug 2 10:18:19 UTC 2018 Added Files: src/lib/libc/net: sctp_recvmsg.3 Log Message: Add missing SCTP manpage. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/lib/libc/net/sctp_recvmsg.3 Please note that diffs are

CVS commit: src/distrib/notes/common

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 16:22:43 UTC 2018 Modified Files: src/distrib/notes/common: contents Log Message: Remove netbsd-INSTALL_XEN3_DOMU.gz (it doesn't exist anymore), and add netbsd-XEN3PAE_DOM0.gz (has always existed, but was apparently forgo

CVS commit: src

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 16:26:09 UTC 2018 Modified Files: src/distrib/notes/common: contents src/etc/etc.amd64: Makefile.inc Log Message: Distribute GENERIC_KASLR on amd64. To generate a diff of this commit: cvs rdiff -u -r1.176 -r1.17

CVS commit: src/usr.sbin/npf

2018-08-02 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Thu Aug 2 16:42:12 UTC 2018 Modified Files: src/usr.sbin/npf: npf.7 Log Message: Use Nm macro Move history details to the HISTORY section Spelling Be less meta & clarify the website should be consulted. To generate a diff of thi

CVS commit: src/sys/arch/amd64/amd64

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 16:58:00 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: prekern.c Log Message: Don't forget to call init_slotspace when we're booted via the prekern. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/s

CVS commit: src/sys/arch/amd64

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 17:18:00 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: prekern.c src/sys/arch/amd64/stand/prekern: prekern.c Log Message: Add a "version" field in the prekern_args structure. The kernel checks it, and if it's

CVS commit: src/doc

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 17:34:51 UTC 2018 Modified Files: src/doc: TODO.kaslr Log Message: Mark two entries as done. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/doc/TODO.kaslr Please note that diffs are not public domain;

CVS commit: src/common/lib/libc/misc

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 02:05:43 UTC 2018 Added Files: src/common/lib/libc/misc: ubsan.c Log Message: Import micro-UBSan (ubsan.c) This is a reimplementation of the Undefined Behavior Sanitizer with the following properties: - pure C implemen

CVS commit: src/external/bsd/dhcpcd/dist/src

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 02:17:33 UTC 2018 Modified Files: src/external/bsd/dhcpcd/dist/src: dhcp.c Log Message: Fix build failure in dhcpcd under uUBSan GCC with -fsanitize=undefiend detects a potential overflow in the code. Cast the return va

CVS commit: src/external/mit/xorg/lib/dri7

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 02:19:12 UTC 2018 Modified Files: src/external/mit/xorg/lib/dri7: libglsl7.mk Log Message: Fix dri7 build with Clang/LLVM The register keyword is deprecated in newer C++ standards. Add a compiler flag to disable a warni

CVS commit: src/external/mit/xorg/lib/libGLU

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 02:20:21 UTC 2018 Modified Files: src/external/mit/xorg/lib/libGLU: Makefile Log Message: Fix libGLU build with Clang/LLVM The register keyword is deprecated in newer C++ standards. Add a compiler flag to disable a warn

CVS commit: src/external/mit/xorg/lib/libXfont2

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 02:23:09 UTC 2018 Modified Files: src/external/mit/xorg/lib/libXfont2: Makefile Log Message: Fix libXfont2 build with Clang/LLVM on i386 The code uses non-orthodox types in format strings. Add a compiler flag to disable

CVS commit: src/external/mit/xorg/server/drivers/xf86-video-wsfb

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 02:26:00 UTC 2018 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-wsfb: Makefile Log Message: Fix xf86-video-wsfb build with Clang/LLVM The code uses non-orthodox types in format strings. Add a compiler

CVS commit: src/lib/libc

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 02:29:35 UTC 2018 Modified Files: src/lib/libc: Makefile Log Message: Disable sanitization of -fsanitize=function in libc Generated code for the checks (in at least libunwind) depends on the C++ runtime feature of RTTI.

CVS commit: src/share/mk

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 02:34:31 UTC 2018 Modified Files: src/share/mk: bsd.sys.mk Log Message: Allow to overwrite sanitizer flags for userland Always define -fsanitize=${USE_SANITIZER} and -fsanitize=${USE_LIBCSANITIZER} before other flags de

CVS commit: src/common/lib/libc/misc

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 03:12:32 UTC 2018 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: Tidy up the comment in ubsan.c As noted, style has no impact on the comparison of a similar code. This version is a reimplementation from

CVS commit: src/common/lib/libc

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 03:35:17 UTC 2018 Modified Files: src/common/lib/libc: Makefile.inc Log Message: Register a new directory in common/lib/libc/misc Registe misc/ with ubsan.c. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.

CVS commit: src/tests/lib/libc/misc

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 04:18:40 UTC 2018 Added Files: src/tests/lib/libc/misc: Makefile t_ubsan.c t_ubsanxx.cpp Log Message: Import micro-UBSan ATF tests These tests are used only when a distribution is built without MKSANITIZER and without M

CVS commit: src

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 04:24:41 UTC 2018 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/tests/lib/libc: Makefile Log Message: Register micro-UBSan

CVS commit: src/lib/libc/misc

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 04:29:35 UTC 2018 Modified Files: src/lib/libc/misc: Makefile.inc Log Message: Add a support to build ubsan.c in libc Under the condition of MKLIBCSANITIZER==yes link ubsan.c into libc. This is a clean-room reimplement

CVS commit: src/crypto/external/bsd/openssh/dist

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 04:32:12 UTC 2018 Modified Files: src/crypto/external/bsd/openssh/dist: sshkey.c Log Message: Appease GCC in the openssh code when built with UBSan Initialize eg to NULL in sshkey_ecdsa_key_to_nid(). The compiler warns

CVS commit: src/sys

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 04:35:20 UTC 2018 Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/kern: files.kern Log Message: Register kUBSan in the GENERIC amd64 kernel config Tested with GCC. To generate a diff of this commit: c

CVS commit: src/share/man/man4

2018-08-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Aug 3 05:27:16 UTC 2018 Modified Files: src/share/man/man4: ifmedia.4 Log Message: Add some missing IFM_* entries. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/share/man/man4/ifmedia.4 Please note th

CVS commit: src/distrib/sets/lists

2018-08-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 3 06:07:02 UTC 2018 Modified Files: src/distrib/sets/lists/comp: mi src/distrib/sets/lists/man: mi Log Message: Fix distribution lists with MKCATPAGES=yes Add SCTP documentation. To generate a diff of this commi

CVS commit: src/sys/arch/usermode/usermode

2018-08-02 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Fri Aug 3 06:52:50 UTC 2018 Modified Files: src/sys/arch/usermode/usermode: pmap.c Log Message: Fix physical memory size issue. It will now happily run on more than one gb. To generate a diff of this commit: cvs rdiff -u -r1.1