CVS commit: src/tests/usr.bin

2019-10-13 Thread Jason High
Module Name:src Committed By: jhigh Date: Mon Oct 14 03:47:20 UTC 2019 Modified Files: src/tests/usr.bin: Makefile Added Files: src/tests/usr.bin/argon2: Atffile Makefile t_argon2.sh Log Message: adding argon2 tests To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/usr.bin

2019-10-13 Thread Jason High
Module Name:src Committed By: jhigh Date: Mon Oct 14 03:47:20 UTC 2019 Modified Files: src/tests/usr.bin: Makefile Added Files: src/tests/usr.bin/argon2: Atffile Makefile t_argon2.sh Log Message: adding argon2 tests To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/lib/libnvmm

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 14 01:15:32 UTC 2019 Modified Files: src/tests/lib/libnvmm: h_mem_assist.c Log Message: add missing initializer To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libnvmm/h_mem_assist.c

CVS commit: src/tests/lib/libnvmm

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Oct 14 01:15:32 UTC 2019 Modified Files: src/tests/lib/libnvmm: h_mem_assist.c Log Message: add missing initializer To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libnvmm/h_mem_assist.c

CVS commit: src/sys/dev/pci

2019-10-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 14 00:20:09 UTC 2019 Modified Files: src/sys/dev/pci: pci.c Log Message: The PCI Local Bus Specification says that we should probe devices by reading PCI_ID_REG. pci_enumerate_bus was incorrectly reading PCI_BHLC_REG

CVS commit: src/sys/dev/pci

2019-10-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 14 00:20:09 UTC 2019 Modified Files: src/sys/dev/pci: pci.c Log Message: The PCI Local Bus Specification says that we should probe devices by reading PCI_ID_REG. pci_enumerate_bus was incorrectly reading PCI_BHLC_REG

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

2019-10-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 14 00:16:29 UTC 2019 Modified Files: src/sys/arch/arm/acpi: acpi_pci_machdep.c acpi_pci_machdep.h acpipchb.c Log Message: Add quirks for Amazon Graviton PCIe root ports. Configuration space for the root port is found in

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

2019-10-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 14 00:16:29 UTC 2019 Modified Files: src/sys/arch/arm/acpi: acpi_pci_machdep.c acpi_pci_machdep.h acpipchb.c Log Message: Add quirks for Amazon Graviton PCIe root ports. Configuration space for the root port is found in

CVS commit: src/sys/dev/acpi

2019-10-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 14 00:15:13 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: The MCFG base address field is the physical address of the base of mmio space relative to bus 0, not the start bus number specified in the

CVS commit: src/sys/dev/acpi

2019-10-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 14 00:15:13 UTC 2019 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: The MCFG base address field is the physical address of the base of mmio space relative to bus 0, not the start bus number specified in the

CVS commit: src/sys/external/bsd/drm2/include/linux

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 22:32:09 UTC 2019 Modified Files: src/sys/external/bsd/drm2/include/linux: timer.h Log Message: cast function pointer type. there is already an XXX there... To generate a diff of this commit: cvs rdiff -u -r1.6

CVS commit: src/sys/compat/netbsd32

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 22:31:32 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c

CVS commit: src/sys/kern

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 22:31:19 UTC 2019 Modified Files: src/sys/kern: makesyscalls.sh Log Message: cast nullop though void * To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/sys/kern/makesyscalls.sh Please note that

CVS commit: src/sys/external/bsd/drm2/include/linux

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 22:32:09 UTC 2019 Modified Files: src/sys/external/bsd/drm2/include/linux: timer.h Log Message: cast function pointer type. there is already an XXX there... To generate a diff of this commit: cvs rdiff -u -r1.6

CVS commit: src/sys/compat/netbsd32

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 22:31:32 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c

CVS commit: src/sys/kern

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 22:31:19 UTC 2019 Modified Files: src/sys/kern: makesyscalls.sh Log Message: cast nullop though void * To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/sys/kern/makesyscalls.sh Please note that

CVS commit: src/sys/modules/dtrace/dtrace

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 22:30:52 UTC 2019 Modified Files: src/sys/modules/dtrace/dtrace: Makefile Log Message: Elide function pointer cast errors To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/sys/modules/dtrace/dtrace

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 22:30:52 UTC 2019 Modified Files: src/sys/modules/dtrace/dtrace: Makefile Log Message: Elide function pointer cast errors To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

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

2019-10-13 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Oct 13 21:56:14 UTC 2019 Modified Files: src/external/bsd/pkg_install/dist/admin: main.c pkg_admin.1 src/external/bsd/pkg_install/dist/lib: license.c version.h Log Message: Merge pkg_install-20191008 To generate a

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

2019-10-13 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Oct 13 21:56:14 UTC 2019 Modified Files: src/external/bsd/pkg_install/dist/admin: main.c pkg_admin.1 src/external/bsd/pkg_install/dist/lib: license.c version.h Log Message: Merge pkg_install-20191008 To generate a

CVS import: src/external/bsd/pkg_install/dist

2019-10-13 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Oct 13 21:52:27 UTC 2019 Update of /cvsroot/src/external/bsd/pkg_install/dist In directory ivanova.netbsd.org:/tmp/cvs-serv7218 Log Message: Import pkg_install-20191008. Sync license list with pkgsrc. Add support for "pkg_admin

CVS import: src/external/bsd/pkg_install/dist

2019-10-13 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Oct 13 21:52:27 UTC 2019 Update of /cvsroot/src/external/bsd/pkg_install/dist In directory ivanova.netbsd.org:/tmp/cvs-serv7218 Log Message: Import pkg_install-20191008. Sync license list with pkgsrc. Add support for "pkg_admin

CVS commit: src/external/cddl/osnet/dist/tools/ctf/cvt

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 21:32:07 UTC 2019 Modified Files: src/external/cddl/osnet/dist/tools/ctf/cvt: ctfmerge.c Log Message: make worker thread prototype match the pthread_create signature. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/cddl/osnet/dist/tools/ctf/cvt

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 21:32:07 UTC 2019 Modified Files: src/external/cddl/osnet/dist/tools/ctf/cvt: ctfmerge.c Log Message: make worker thread prototype match the pthread_create signature. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libpam/libpam

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 21:24:38 UTC 2019 Modified Files: src/lib/libpam/libpam: Makefile Log Message: use GCC_NO_CAST_FUNCTION_TYPE. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libpam/libpam/Makefile Please note

CVS commit: src/lib/libpam/libpam

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 21:24:38 UTC 2019 Modified Files: src/lib/libpam/libpam: Makefile Log Message: use GCC_NO_CAST_FUNCTION_TYPE. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libpam/libpam/Makefile Please note

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

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 21:18:20 UTC 2019 Modified Files: src/external/gpl3/gcc/lib: Makefile.sanitizer src/external/gpl3/gcc/lib/libasan: Makefile Log Message: use sanitizer_platform_limits_netbsd.cc. link asan with libm so it can find

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

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 21:18:20 UTC 2019 Modified Files: src/external/gpl3/gcc/lib: Makefile.sanitizer src/external/gpl3/gcc/lib/libasan: Makefile Log Message: use sanitizer_platform_limits_netbsd.cc. link asan with libm so it can find

CVS commit: src/usr.bin/mklocale

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 21:12:33 UTC 2019 Modified Files: src/usr.bin/mklocale: yacc.y Log Message: use strlcpy instead of strncpy. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.bin/mklocale/yacc.y Please note

CVS commit: src/usr.bin/mklocale

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 21:12:33 UTC 2019 Modified Files: src/usr.bin/mklocale: yacc.y Log Message: use strlcpy instead of strncpy. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.bin/mklocale/yacc.y Please note

CVS commit: src/bin/sh

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 20:55:04 UTC 2019 Modified Files: src/bin/sh: expand.c Log Message: prevent sign extension from making expression always false. To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 src/bin/sh/expand.c

CVS commit: src/bin/sh

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 20:55:04 UTC 2019 Modified Files: src/bin/sh: expand.c Log Message: prevent sign extension from making expression always false. To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 src/bin/sh/expand.c

CVS commit: src/usr.bin/error

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 20:43:26 UTC 2019 Modified Files: src/usr.bin/error: touch.c Log Message: can't happen, but gcc can't figure it out. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/error/touch.c Please

CVS commit: src/usr.bin/error

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 20:43:26 UTC 2019 Modified Files: src/usr.bin/error: touch.c Log Message: can't happen, but gcc can't figure it out. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/error/touch.c Please

CVS commit: src/libexec/ld.elf_so

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 20:18:42 UTC 2019 Modified Files: src/libexec/ld.elf_so: search.c Log Message: use strlcpy to ensure termination. the buffer is statically sized so that it works without an allocator, so truncation is the desired effect

CVS commit: src/libexec/ld.elf_so

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 20:18:42 UTC 2019 Modified Files: src/libexec/ld.elf_so: search.c Log Message: use strlcpy to ensure termination. the buffer is statically sized so that it works without an allocator, so truncation is the desired effect

CVS commit: src/usr.bin/locate/code

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 19:39:15 UTC 2019 Modified Files: src/usr.bin/locate/code: locate.code.c Log Message: fool gcc with strncpy. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/locate/code/locate.code.c

CVS commit: src/usr.bin/locate/code

2019-10-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 13 19:39:15 UTC 2019 Modified Files: src/usr.bin/locate/code: locate.code.c Log Message: fool gcc with strncpy. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/locate/code/locate.code.c

CVS commit: src

2019-10-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 13 17:32:15 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c src/tests/lib/libnvmm: h_mem_assist.c h_mem_assist_asm.S Log Message: Fix incorrect parsing: the R/M field uses a special GPR map when the address

CVS commit: src/share/mk

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 10:12:14 UTC 2019 Modified Files: src/share/mk: bsd.own.mk Log Message: make GCC_NO_STRINGOP_OVERFLOW apply to gcc 7 too. To generate a diff of this commit: cvs rdiff -u -r1.1155 -r1.1156 src/share/mk/bsd.own.mk Please

CVS commit: src/share/mk

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 10:12:14 UTC 2019 Modified Files: src/share/mk: bsd.own.mk Log Message: make GCC_NO_STRINGOP_OVERFLOW apply to gcc 7 too. To generate a diff of this commit: cvs rdiff -u -r1.1155 -r1.1156 src/share/mk/bsd.own.mk Please

CVS commit: src/external/cddl/osnet/lib/libdtrace

2019-10-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 13 10:07:27 UTC 2019 Modified Files: src/external/cddl/osnet/lib/libdtrace: Makefile Log Message: This previously had -Wno-format-truncation so I am presuming it should have been converted to GCC_NO_FORMAT_TRUNCATION rather

CVS commit: src/external/cddl/osnet/lib/libdtrace

2019-10-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 13 10:07:27 UTC 2019 Modified Files: src/external/cddl/osnet/lib/libdtrace: Makefile Log Message: This previously had -Wno-format-truncation so I am presuming it should have been converted to GCC_NO_FORMAT_TRUNCATION rather

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

2019-10-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 09:42:15 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix race in t_ptrace_wait* LWP tests Increment the done variable under a mutex. This variable was updated non-atomically and

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

2019-10-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 09:42:15 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix race in t_ptrace_wait* LWP tests Increment the done variable under a mutex. This variable was updated non-atomically and

CVS commit: src/tests/net

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 07:46:16 UTC 2019 Modified Files: src/tests/net/can: h_canutils.c src/tests/net/if_vlan: siocXmulti.c Log Message: ifr_name is nul terminated. make it so. To generate a diff of this commit: cvs rdiff -u -r1.3

CVS commit: src/tests/net

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 07:46:16 UTC 2019 Modified Files: src/tests/net/can: h_canutils.c src/tests/net/if_vlan: siocXmulti.c Log Message: ifr_name is nul terminated. make it so. To generate a diff of this commit: cvs rdiff -u -r1.3

CVS commit: src/sys/dev/i2c

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 07:44:51 UTC 2019 Modified Files: src/sys/dev/i2c: adm1026reg.h Log Message: set ADM1026_ADDRMASK as 0x2f, not 0x3f8. GCC-8 complained about always false condition, which indicated the bug. patch from jdc@. To

CVS commit: src/sys/dev/i2c

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 07:44:51 UTC 2019 Modified Files: src/sys/dev/i2c: adm1026reg.h Log Message: set ADM1026_ADDRMASK as 0x2f, not 0x3f8. GCC-8 complained about always false condition, which indicated the bug. patch from jdc@. To

CVS commit: src/games/hunt/huntd

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 07:42:57 UTC 2019 Modified Files: src/games/hunt/huntd: shots.c Log Message: adjust a fallthru comment and add a missing break. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/games/hunt/huntd/shots.c

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

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 07:42:27 UTC 2019 Modified Files: src/external/bsd/top/dist: utils.c Log Message: expand a buffer size to properly handle full-size 64 bit values To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

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

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 07:42:27 UTC 2019 Modified Files: src/external/bsd/top/dist: utils.c Log Message: expand a buffer size to properly handle full-size 64 bit values To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 07:28:23 UTC 2019 Modified Files: src/bin/pax: Makefile src/crypto/external/bsd/netpgp/bin/netpgpverify: Makefile src/crypto/external/bsd/netpgp/lib/netpgp: Makefile

CVS commit: src

2019-10-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 13 07:28:23 UTC 2019 Modified Files: src/bin/pax: Makefile src/crypto/external/bsd/netpgp/bin/netpgpverify: Makefile src/crypto/external/bsd/netpgp/lib/netpgp: Makefile

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

2019-10-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 13 06:11:31 UTC 2019 Modified Files: src/sys/arch/arm/nvidia: tegra124_car.c tegra124_xusbpad.c tegra210_car.c tegra210_xusbpad.c tegra_apbdma.c tegra_cec.c tegra_com.c tegra_fuse.c tegra_gpio.c

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

2019-10-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 13 06:11:31 UTC 2019 Modified Files: src/sys/arch/arm/nvidia: tegra124_car.c tegra124_xusbpad.c tegra210_car.c tegra210_xusbpad.c tegra_apbdma.c tegra_cec.c tegra_com.c tegra_fuse.c tegra_gpio.c

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

2019-10-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 13 06:03:56 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_pwm.c Log Message: Use PRIxBUSADDR To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sunxi_pwm.c Please note that diffs

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

2019-10-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 13 06:03:56 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_pwm.c Log Message: Use PRIxBUSADDR To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sunxi_pwm.c Please note that diffs