CVS commit: src/external/bsd/flex/bin

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 07:47:15 UTC 2019 Modified Files: src/external/bsd/flex/bin: Makefile Log Message: force -O1 (unless -O0 already present) on m68k with GCC 7. avoids a "too-far" reference in scan.c. was already close with GCC 6. To

CVS commit: src/external/bsd/libpcap/lib

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 07:45:35 UTC 2019 Modified Files: src/external/bsd/libpcap/lib: Makefile Log Message: ignore a format truncation issue. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/external/bsd/libpcap/lib/Makefile

CVS commit: src/external/gpl3/gcc

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 07:43:08 UTC 2019 Modified Files: src/external/gpl3/gcc: README.gcc7 Log Message: update status: - alpha, i386, powerpc, sparc64 all seem to work too, though sparc64 has a caveat with signed vs. unsigned "fast" integer

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

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 07:27:47 UTC 2019 Modified Files: src/external/bsd/tcpdump/dist: print-hncp.c Log Message: - pass correct size of buffer to snprintf() to avoid potential truncation To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/sys/arch/m68k/m68k

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 07:18:52 UTC 2019 Modified Files: src/sys/arch/m68k/m68k: db_disasm.c Log Message: add fallthru comment. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/m68k/m68k/db_disasm.c Please note that

CVS commit: src/sys/kern

2019-02-04 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Feb 5 07:14:32 UTC 2019 Modified Files: src/sys/kern: uipc_sem.c Log Message: In ksem_close_fop(), if we get a pshared semaphore that's not already been marked dead, make sure we mark it so if the owner proc is the proc

CVS commit: src/external/gpl3/gcc

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 06:46:48 UTC 2019 Modified Files: src/external/gpl3/gcc/lib/libbacktrace/arch/m68k: backtrace-supported.h src/external/gpl3/gcc/lib/libgcc/arch/m68k: auto-target.h defs.mk

CVS commit: src/sys/net

2019-02-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Feb 5 06:43:20 UTC 2019 Modified Files: src/sys/net: if.h Log Message: Remove NOTRAILERS from IFFBITS. To generate a diff of this commit: cvs rdiff -u -r1.267 -r1.268 src/sys/net/if.h Please note that diffs are not

CVS commit: src

2019-02-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Feb 5 06:17:03 UTC 2019 Modified Files: src/share/man/man4/man4.vax: ec.4 en.4 ex.4 ix.4 vv.4 src/sys/arch/acorn32/podulebus: if_ie.c src/sys/arch/amiga/dev: if_es.c if_qn.c src/sys/arch/arm/at91:

CVS commit: src/distrib/sets/lists/comp

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 06:14:55 UTC 2019 Modified Files: src/distrib/sets/lists/comp: md.sparc64 Log Message: mark ./usr/include/g++/bits/sparc and ./usr/include/g++/bits/sparc64 subdirs as non-compat. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 06:12:39 UTC 2019 Modified Files: src/sys/dev/pci: machfb.c Log Message: add or adjust fallthru comments. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/sys/dev/pci/machfb.c Please note that diffs

CVS commit: src/sys/arch/sparc64/dev

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 06:10:53 UTC 2019 Modified Files: src/sys/arch/sparc64/dev: fdc.c psycho.c schizo.c Log Message: add or avoid fallthru comments. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/etc/mtree

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 06:11:29 UTC 2019 Modified Files: src/etc/mtree: NetBSD.dist.base Log Message: add missing ./usr/include/dev/hdmicec To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189 src/etc/mtree/NetBSD.dist.base Please

CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 04:48:47 UTC 2019 Modified Files: src/sys/netinet: tcp_usrreq.c src/sys/netinet6: in6.c Log Message: adjust fallthru comments to appease gcc7. To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224

CVS commit: src/share/mk

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 04:47:59 UTC 2019 Modified Files: src/share/mk: bsd.own.mk Log Message: re-do version 1.1098 properly: - fix OBJECT_FMTS if mips64 and !MKCOMPAT To generate a diff of this commit: cvs rdiff -u -r1.1099 -r1.1100

CVS commit: src/external/gpl3/gcc/dist/gcc

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 04:45:50 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc: config.gcc Log Message: include sparc/default64.hon netbsd/sparc64. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/external/gpl3/gcc/usr.bin/common-target

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 04:45:07 UTC 2019 Modified Files: src/external/gpl3/gcc/usr.bin/common-target: Makefile Log Message: remove 'common/' prefix from sources. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/external/gpl3/gcc

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 5 04:43:45 UTC 2019 Modified Files: src/external/gpl3/gcc/lib/libbacktrace/arch/sparc64: backtrace-supported.h src/external/gpl3/gcc/lib/libgcc/arch/sparc64: auto-target.h defs.mk

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

2019-02-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Feb 5 02:57:10 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_x86_wait.h Log Message: Add missing break keywords in t_ptrace_wait* x86 tests Add missing break in switch() cases in dbregs_trap_variable(). Reported

CVS commit: src/sys/compat/freebsd

2019-02-04 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 5 00:40:15 UTC 2019 Modified Files: src/sys/compat/freebsd: freebsd_mod.c Log Message: Update compat_freebsd requirements list to use compat_09 vs compat To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/compat

2019-02-04 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 5 00:32:18 UTC 2019 Modified Files: src/sys/compat/sunos: sunos_mod.c src/sys/compat/sunos32: sunos32_mod.c Log Message: The sunos and sunos32 modules require compat_09, not compat (the latter no longer

CVS commit: src/sys/fs/puffs

2019-02-04 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Feb 5 00:22:36 UTC 2019 Modified Files: src/sys/fs/puffs: files.puffs Log Message: It turns out we do want the puffs compat code in any kernel which has built-in compat_50 regardless of whether the kernel also has puffs.

CVS commit: src/sys/arch/arm/sunxi

2019-02-04 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Feb 5 00:21:35 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mixer.c Log Message: Add support for video layer scaling and colour space conversion. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 22:07:41 UTC 2019 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: - use __unreachable() and move 'break's around to increase consistency and correctness ok kamil@ To generate a diff of this commit: cvs

CVS commit: src/doc

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 22:00:51 UTC 2019 Modified Files: src/doc: TODO.compat-module Log Message: update the rf / netbsd32 comment. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/doc/TODO.compat-module Please note that diffs

CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 21:57:48 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c src/sys/modules: Makefile src/sys/modules/raid: Makefile src/sys/rump/dev/lib/libraidframe: Makefile Added Files:

CVS commit: src/sys/arch

2019-02-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Feb 4 18:14:54 UTC 2019 Modified Files: src/sys/arch/amd64/conf: std.xen src/sys/arch/xen/conf: std.xen src/sys/arch/xen/include: hypervisor.h xen.h src/sys/arch/xen/x86: x86_xpmap.c Log Message: Bump

CVS commit: src/sys/kern

2019-02-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Feb 4 15:13:54 UTC 2019 Modified Files: src/sys/kern: subr_kmem.c Log Message: Clobber the size when freeing a buffer. This way, if the same buffer gets freed twice, the second size check will fire. To generate a diff of

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

2019-02-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Feb 4 15:07:35 UTC 2019 Modified Files: src/sys/arch/amd64/include: asan.h Log Message: Add more symbols to the unwinder, in case we get a KASAN message inside an exception handler. To generate a diff of this commit: cvs

CVS commit: src/sys/fs/puffs

2019-02-04 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Feb 4 14:47:41 UTC 2019 Modified Files: src/sys/fs/puffs: files.puffs Log Message: try '&' instead of '&&' To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/fs/puffs/files.puffs Please note that diffs are

CVS commit: src/sys/arch/arm/arm32

2019-02-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Feb 4 13:12:03 UTC 2019 Modified Files: src/sys/arch/arm/arm32: arm32_machdep.c Log Message: Report hatched value after the atomic_or so the VERBOSE_INIT_ARM output doesn't get mangled. We start a cpu and wait for it before

CVS commit: src/sys/arch/arm/arm32

2019-02-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Feb 4 13:08:43 UTC 2019 Modified Files: src/sys/arch/arm/arm32: arm32_kvminit.c Log Message: Fix typo in VPRINTF To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/arch/arm/arm32/arm32_kvminit.c Please

CVS commit: src/sys/arch/arm/include/arm32

2019-02-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Feb 4 13:06:39 UTC 2019 Modified Files: src/sys/arch/arm/include/arm32: param.h Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arm/include/arm32/param.h Please

CVS commit: src/bin/sh

2019-02-04 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Feb 4 12:18:36 UTC 2019 Modified Files: src/bin/sh: sh.1 Log Message: Remove leading zero from date. To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/bin/sh/sh.1 Please note that diffs are not public

CVS commit: src/sys/dev/nvmm/x86

2019-02-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Feb 4 12:11:18 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c Log Message: Improvements: - Guest reads/writes to PAT land in gPAT, so no need to emulate them. - When emulating EFER, don't advance the RIP if

CVS commit: src/sys/arch/arm/sunxi

2019-02-04 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Feb 4 12:10:13 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_drm.c sunxi_drm.h sunxi_lcdc.c sunxi_mixer.c Log Message: Add support for vblank irq and RGB overlay planes. To generate a diff of this

CVS commit: src/sys

2019-02-04 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Feb 4 12:08:03 UTC 2019 Modified Files: src/sys/fs/puffs: files.puffs src/sys/modules/puffs: Makefile Log Message: Don't include puffs_compat in a kernel unless the filesystem is selected along with COMPAT_50.

CVS commit: src/bin/sh

2019-02-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Feb 4 11:16:41 UTC 2019 Modified Files: src/bin/sh: error.c error.h eval.c eval.h main.c parser.c sh.1 Log Message: PR bin/53919 Suppress shell error messages while expanding $ENV (which also causes errors while expanding $PS1

CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 10:48:46 UTC 2019 Modified Files: src/sys/netinet: ip_output.c src/sys/netinet6: ip6_output.c Log Message: rework the #ifdef IPSEC code to not use fallthru. same number of lines with more local context. To

CVS commit: src/usr.sbin

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 10:22:15 UTC 2019 Modified Files: src/usr.sbin/sysinst: Makefile.inc src/usr.sbin/syslogd: Makefile Log Message: use -Wno-error=format-truncation for code that seems particularly annoying or unlikely to actually

CVS commit: src/sys/dev/ic

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 10:09:32 UTC 2019 Modified Files: src/sys/dev/ic: aic79xx.c aic7xxx.c Log Message: add or adjust fallthru comments. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/dev/ic/aic79xx.c cvs rdiff -u

CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 10:11:34 UTC 2019 Modified Files: src/sys/kern: uipc_usrreq.c src/sys/net: if_ethersubr.c Log Message: add or adjust fallthru comments. To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190

CVS commit: src/usr.bin/stat

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 10:03:16 UTC 2019 Modified Files: src/usr.bin/stat: Makefile Log Message: rework the previous to only apply if !HOSTPROG To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/stat/Makefile Please

CVS commit: src/sys/modules/viadrmums

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 09:58:23 UTC 2019 Modified Files: src/sys/modules/viadrmums: Makefile Log Message: apply -Wno-error=implicit-fallthrough to via_dmablit.c. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/sparc/sparc

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 09:57:39 UTC 2019 Modified Files: src/sys/arch/sparc/sparc: intr.c Log Message: print the cpu number for the mutex not held xcallintr debug message. add a comment about why this case fires. To generate a diff of this

CVS commit: src/bin/sh

2019-02-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Feb 4 09:56:48 UTC 2019 Modified Files: src/bin/sh: syntax.c Log Message: Add a couple of comments. NFC. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/bin/sh/syntax.c Please note that diffs are not public

CVS commit: src/bin/sh

2019-02-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Feb 4 09:56:26 UTC 2019 Modified Files: src/bin/sh: expand.c Log Message: Fix an old bug (very old) that was made worse in 1.128 (the "${1+$@}" fixes) where a variable containing a CTL char (the only possibility used to be

CVS commit: src/usr.sbin/mmcformat

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 09:53:41 UTC 2019 Modified Files: src/usr.sbin/mmcformat: mmcformat.c Log Message: - don't make -h/-H get around the argument check by setting 'inquiry' in the fallthru case, but instead explicitly check for

CVS commit: src

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 09:51:48 UTC 2019 Modified Files: src/games/backgammon/common_source: Makefile src/games/hunt/huntd: Makefile src/usr.bin/stat: Makefile src/usr.bin/telnet: Makefile src/usr.sbin/quotacheck:

CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 09:54:47 UTC 2019 Modified Files: src/sys/kern: kern_veriexec.c src/sys/lib/libunwind: libunwind.cxx Log Message: use __builtin_unreachable() after calls that panic or switch context To generate a diff of this

CVS commit: src/external/bsd/atf/lib/tools

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 09:40:54 UTC 2019 Modified Files: src/external/bsd/atf/lib/tools: Makefile Log Message: with GCC 7, apply -Wno-error=maybe-uninitialized to parser.cpp. i don't really understand how to remove this warning, someone else

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

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 09:35:11 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_wait.c Log Message: - add __unreachable() after ATF_REQUIRE(pid > 0) where pid <= 0. - rearrange one switch so that the -1/0/default cases are the same order

CVS commit: src/sbin/raidctl

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 09:31:22 UTC 2019 Modified Files: src/sbin/raidctl: raidctl.c Log Message: - add the string length as an explicit parameter to get_time_string() - remove casts when the same type is used on both sides - expand

CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 08:36:43 UTC 2019 Modified Files: src/sys/external/isc/atheros_hal/conf: files.ath_hal src/sys/modules/ath_hal: Makefile Log Message: apply -Wno-error=implicit-fallthrough to ar5212_xmit.c and ar5416_xmit.c. To

CVS commit: src/sys/crypto

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 08:23:53 UTC 2019 Modified Files: src/sys/crypto/blowfish: bf_locl.h src/sys/crypto/des: des_locl.h Log Message: add fallthru comments. i considered patching makefiles to ignore these problems, but this code is

CVS commit: src

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 08:21:12 UTC 2019 Modified Files: src/lib/libintl: gettext.c src/sbin/iscsid: iscsid_main.c src/usr.sbin/npf/npfd: npfd_log.c Log Message: check for snprintf() truncation and fail sanely if so, rather than

CVS commit: src/sys

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 08:18:08 UTC 2019 Modified Files: src/sys/external/bsd/drm2/i915drm: files.i915drmkms src/sys/external/bsd/drm2/nouveau: files.nouveau src/sys/external/bsd/drm2/radeon: files.radeon

CVS commit: src/external/gpl3/gcc/usr.bin/backend

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 08:15:51 UTC 2019 Modified Files: src/external/gpl3/gcc/usr.bin/backend: Makefile Log Message: ira-color.c needs -Wno-error=int-in-bool-context for now. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/usr.bin/stat

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 08:07:33 UTC 2019 Modified Files: src/usr.bin/stat: stat.c Log Message: avoid a potential buffer truncation. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/usr.bin/stat/stat.c Please note that diffs

CVS commit: src/sys/kern

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 08:00:27 UTC 2019 Modified Files: src/sys/kern: subr_thmap.c Log Message: pass a pointer to atomic_cas_ptr_p(), not an (equiv) integer. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5