CVS commit: src/sys/miscfs/procfs

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 08:38:54 UTC 2020 Modified Files: src/sys/miscfs/procfs: procfs_linux.c Log Message: struct statvfs is too large for stack. Use malloc(9) instead. XXX Switch to kmem(9) for entire this file. Frame size, e.g. for m68k,

CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 09:42:46 UTC 2020 Modified Files: src/sys/ddb: db_kernel.c Log Message: XXX DDB can be running in the interrupt context, e.g., when activated from console. Therefore, we use kmem_intr_alloc(9) and friends in order to

CVS commit: src/sys/arch/mips/cavium/dev

2020-05-31 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun May 31 06:23:49 UTC 2020 Removed Files: src/sys/arch/mips/cavium/dev: octeon_tim.c octeon_timreg.h Log Message: Remove unused Timer Unit register definitions and stubs. Can be resurrected from the attic in the unlikely event

CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 09:40:09 UTC 2020 Modified Files: src/sys/ddb: db_command.h ddb.h Added Files: src/sys/ddb: db_alloc.h Log Message: Introduce db_alloc.h. Provide db_alloc() and friends to userland, i.e., crash(8). To generate

CVS commit: src/usr.sbin/bta2dpd/bta2dpd

2020-05-31 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun May 31 06:17:24 UTC 2020 Modified Files: src/usr.sbin/bta2dpd/bta2dpd: bta2dpd.c Log Message: Avoid running of the end of the array if a file cannot be opened. Found by plunky@. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2020-05-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 31 07:53:38 UTC 2020 Modified Files: src/sys/dev/usb: vhci.c Log Message: Add comments. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/vhci.c Please note that diffs are not public domain;

CVS commit: src/sys/dev/usb

2020-05-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 31 08:05:31 UTC 2020 Modified Files: src/sys/dev/usb: uhub.c Log Message: sc_statuspend is allocated with kmem_zalloc, so no need to memset it. To generate a diff of this commit: cvs rdiff -u -r1.145 -r1.146

CVS commit: src/sys/kern

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 08:33:48 UTC 2020 Modified Files: src/sys/kern: kern_timeout.c Log Message: db_show_callout(): struct callout_cpu and cpu_info are too much for stack. XXX DDB can be running in the interrupt context, e.g., when activated

CVS commit: src/sys/arch/mac68k/obio

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 08:59:40 UTC 2020 Modified Files: src/sys/arch/mac68k/obio: wdc_obio.c Log Message: For wdc_obio_match(), struct wdc_regs is too large for stack. Use kmem_alloc(9) instead. Frame size becomes: 3088 --> 0 To

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

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 09:00:25 UTC 2020 Modified Files: src/sys/arch/mac68k/dev: adbsysasm.s Log Message: #ifdef out debug garbage. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/mac68k/dev/adbsysasm.s Please

CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 09:51:55 UTC 2020 Modified Files: src/sys/ddb: db_command.h ddb.h Removed Files: src/sys/ddb: db_alloc.h Log Message: Revert introduction of db_alloc.h. db_alloc() and friends are already provided in crash.c.

CVS commit: src/sys/dev/usb

2020-05-31 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun May 31 11:12:36 UTC 2020 Modified Files: src/sys/dev/usb: if_bwfm_usb.c Log Message: make bwfm_usb_bus_ops static and const To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/usb/if_bwfm_usb.c

CVS commit: src/common/lib/libc/arch/m68k/gen

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 12:37:07 UTC 2020 Modified Files: src/common/lib/libc/arch/m68k/gen: muldi3.S Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/arch/m68k/gen/muldi3.S

CVS commit: [netbsd-8] src/sys/dev/usb

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:27:26 UTC 2020 Modified Files: src/sys/dev/usb [netbsd-8]: usb.c Log Message: Pull up following revision(s) (requested by skrll in ticket #1551): sys/dev/usb/usb.c: revision 1.187 Don't allow open of

CVS commit: [netbsd-9] src/sys/dev/usb

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:25:58 UTC 2020 Modified Files: src/sys/dev/usb [netbsd-9]: usb.c Log Message: Pull up following revision(s) (requested by skrll in ticket #934): sys/dev/usb/usb.c: revision 1.187 Don't allow open of

CVS commit: src/sys/arch/powerpc/oea

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 10:49:39 UTC 2020 Modified Files: src/sys/arch/powerpc/oea: pmap.c Log Message: Stop returning while PMAP_LOCK() (= KERNEL_LOCK(1, NULL)) is held. Kernel freeze with heavy load is significantly mitigated (fixed?), in

CVS commit: [netbsd-9] src/doc

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:46:21 UTC 2020 Modified Files: src/doc [netbsd-9]: CHANGES-9.1 Log Message: Tickets #933 - #937 To generate a diff of this commit: cvs rdiff -u -r1.1.2.62 -r1.1.2.63 src/doc/CHANGES-9.1 Please note that diffs are

CVS commit: [netbsd-8] src/lib/libterminfo

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:43:05 UTC 2020 Modified Files: src/lib/libterminfo [netbsd-8]: curterm.c Log Message: Pull up following revision(s) (requested by roy in ticket #1552): lib/libterminfo/curterm.c: revision 1.14 terminfo:

CVS commit: [netbsd-8] src/usr.sbin/bta2dpd/bta2dpd

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:47:02 UTC 2020 Modified Files: src/usr.sbin/bta2dpd/bta2dpd [netbsd-8]: bta2dpd.c Log Message: Pull up following revision(s) (requested by nat in ticket #1553): usr.sbin/bta2dpd/bta2dpd/bta2dpd.c: revision

CVS commit: [netbsd-9] src/lib/libterminfo

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:41:40 UTC 2020 Modified Files: src/lib/libterminfo [netbsd-9]: curterm.c Log Message: Pull up following revision(s) (requested by roy in ticket #936): lib/libterminfo/curterm.c: revision 1.14 terminfo:

CVS commit: [netbsd-8] src/doc

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:48:27 UTC 2020 Modified Files: src/doc [netbsd-8]: CHANGES-8.3 Log Message: Tickets #1551 - #1553 To generate a diff of this commit: cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/doc/CHANGES-8.3 Please note that diffs

CVS commit: [netbsd-9] src/usr.sbin/bta2dpd/bta2dpd

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:45:04 UTC 2020 Modified Files: src/usr.sbin/bta2dpd/bta2dpd [netbsd-9]: bta2dpd.c Log Message: Pull up following revision(s) (requested by nat in ticket #937): usr.sbin/bta2dpd/bta2dpd/bta2dpd.c: revision

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

2020-05-31 Thread Roy Marples
Module Name:src Committed By: roy Date: Sun May 31 12:50:48 UTC 2020 Update of /cvsroot/src/external/bsd/dhcpcd/dist In directory ivanova.netbsd.org:/tmp/cvs-serv20226 Log Message: Update to dhcpcd-9.1.0 with the following changes: * Leases are stored outside the chroot again

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

2020-05-31 Thread Roy Marples
Module Name:src Committed By: roy Date: Sun May 31 13:00:48 UTC 2020 Modified Files: src/distrib/sets/lists/base: mi Log Message: We don't install any chroot subdirs for dhcpcd anymore To generate a diff of this commit: cvs rdiff -u -r1.1246 -r1.1247

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

2020-05-31 Thread Roy Marples
Module Name:src Committed By: roy Date: Sun May 31 13:07:50 UTC 2020 Modified Files: src/distrib/sets/lists/base: mi Log Message: Revert prior - mark dirs as obsolete. Thanks wiz@ To generate a diff of this commit: cvs rdiff -u -r1.1247 -r1.1248

CVS commit: src/usr.sbin/postinstall

2020-05-31 Thread Roy Marples
Module Name:src Committed By: roy Date: Sun May 31 13:45:47 UTC 2020 Modified Files: src/usr.sbin/postinstall: postinstall.in Log Message: postinstall: Move files out of dhcpcd chroot To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: [netbsd-9] src/sys

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:39:35 UTC 2020 Modified Files: src/sys/arch/x86/include [netbsd-9]: pmap.h src/sys/arch/x86/x86 [netbsd-9]: pmap.c src/sys/arch/xen/include [netbsd-9]: xenio.h xenpmap.h src/sys/arch/xen/x86

CVS commit: src

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 11:43:38 UTC 2020 Modified Files: src/lib/libc/arch/m68k/gen: Makefile.inc src/sys/lib/libkern/arch/m68k: Makefile.inc Added Files: src/common/lib/libc/arch/m68k/gen: muldi3.S Log Message: Add m68k

CVS commit: src/etc

2020-05-31 Thread Roy Marples
Module Name:src Committed By: roy Date: Sun May 31 12:58:09 UTC 2020 Modified Files: src/etc/defaults: rc.conf src/etc/mtree: NetBSD.dist.base special src/etc/rc.d: dhcpcd Log Message: dhcpcd: Empty the chroot While here, set correct optional hooks. To

CVS commit: src/sys/arch

2020-05-31 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun May 31 14:05:21 UTC 2020 Modified Files: src/sys/arch/evbmips/cavium: machdep.c src/sys/arch/mips/cavium: octeon1p_iobus.c src/sys/arch/mips/cavium/dev: octeon_uart.c Log Message: Finish rename of all Cavium

CVS commit: src/sys/kern

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 09:59:37 UTC 2020 Modified Files: src/sys/kern: kern_timeout.c Log Message: Switch to db_alloc() from kmem_intr_alloc(9). Fix build failure as a part of crash(8). Noticed by tnn@, thanks! To generate a diff of this

CVS commit: [netbsd-9] src/distrib/amd64

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 10:21:35 UTC 2020 Modified Files: src/distrib/amd64 [netbsd-9]: Makefile src/distrib/amd64/installimage [netbsd-9]: Makefile Removed Files: src/distrib/amd64/uefi-installimage [netbsd-9]: Makefile

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

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 11:28:52 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: Avoid using excessive kernel stack. XXX maybe we should unite all "static proc_t" and "static lwp_t" in ddb into one global each?

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

2020-05-31 Thread Roy Marples
Module Name:src Committed By: roy Date: Sun May 31 12:52:11 UTC 2020 Modified Files: src/external/bsd/dhcpcd/dist/hooks: dhcpcd-run-hooks.in src/external/bsd/dhcpcd/dist/src: bpf.c dhcp.c dhcp6.c dhcpcd.8.in dhcpcd.c if-bsd.c if-options.c ipv6.c ipv6.h

CVS commit: src/sys/dev/usb

2020-05-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 31 17:52:59 UTC 2020 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: If we failed because we didn't encounter an endpoint, do not attempt to read 'ed', because its value is past the end of the buffer, and we thus

CVS commit: src/sys/dev/usb

2020-05-31 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun May 31 18:20:24 UTC 2020 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: also set ifc->ui_endpoints to NULL in usbd_free_iface_data() when the value is freed, to make it impossible to re-enter this by mistake very

CVS commit: src/sys/dev/usb

2020-05-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 31 18:33:09 UTC 2020 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Reset ud_ifaces and ud_cdesc to NULL, to prevent use-after-free in usb_free_device(). Reported-by:

CVS commit: src/external/mpl/bind/dist/lib/isc/unix

2020-05-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 31 17:45:02 UTC 2020 Modified Files: src/external/mpl/bind/dist/lib/isc/unix: socket.c Log Message: sync with regular socket code (no effect) To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/usr.sbin/npf

2020-05-31 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun May 31 15:57:15 UTC 2020 Modified Files: src/usr.sbin/npf: npf-params.7 Log Message: npf-params(7): fix the state.key defaults. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/npf/npf-params.7

CVS commit: src/usr.sbin/npf

2020-05-31 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun May 31 16:32:07 UTC 2020 Modified Files: src/usr.sbin/npf: npf-params.7 Log Message: npf-params.7: s/filer/filter/ To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/npf/npf-params.7 Please note that

CVS commit: src/tests/include/sys

2020-05-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun May 31 16:36:07 UTC 2020 Modified Files: src/tests/include/sys: Makefile Log Message: Mask NULL + 0 LLVM UBSan reports in the ATF test: t_pslist.c Pass -fno-delete-null-pointer-checks for Clang for the

CVS commit: src/sys/kern

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 23:24:20 UTC 2020 Modified Files: src/sys/kern: kern_timeout.c Log Message: Stop allocating buffers dynamically in a DDB session, in order not to disturb on-going debugged state of kernel datastructures. Since DDB is

CVS commit: src/lib/libedit

2020-05-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 31 23:24:24 UTC 2020 Modified Files: src/lib/libedit: terminal.c tty.c Log Message: use strlcpy() instead of strncpy() for gcc happiness To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 23:34:34 UTC 2020 Modified Files: src/sys/ddb: db_kernel.c Log Message: Switch from kmem_intr_alloc(sz, KM_NOSLEEP) to kmem_alloc(sz, KM_SLEEP). Clearly document these functions are *not* for DDB session, but for

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

2020-05-31 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 31 23:52:19 UTC 2020 Modified Files: src/sys/arch/arm/broadcom: bcm2835_bsc_fdt.c bcm2835_emmc.c bcm2835_sdhost.c Log Message: Remove superfluous checking for a "disable" property in the device_t properties

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

2020-05-31 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 31 23:55:18 UTC 2020 Modified Files: src/sys/arch/arm/sociox: sni_emmc.c sni_exiu.c sni_gpio.c sni_i2c.c Log Message: Remove superfluous checking for a "disable" property in the device_t properties dictionary. To

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

2020-05-31 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jun 1 00:00:37 UTC 2020 Modified Files: src/sys/arch/arm/sociox: sni_i2c.c Log Message: Oops, missed a line in the last change. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/sociox/sni_i2c.c

CVS commit: src/external/gpl2/lvm2

2020-05-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 1 00:34:25 UTC 2020 Modified Files: src/external/gpl2/lvm2: lvm2tools.mk src/external/gpl2/lvm2/dist/include: lib.h src/external/gpl2/lvm2/dist/lib/misc: lib.h Log Message: Avoid redefining _REENTRANT

CVS commit: src/external/bsd/fetch

2020-05-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 1 00:55:25 UTC 2020 Modified Files: src/external/bsd/fetch/dist/libfetch: http.c src/external/bsd/fetch/lib: Makefile Log Message: Avoid redefining _REENTRANT under sanitizers Switch away from

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

2020-05-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 1 01:03:21 UTC 2020 Modified Files: src/tests/lib/libc/net: Makefile h_nsd_recurse.c Log Message: Avoid redefining _REENTRANT under sanitizers Switch away from -Wno-macro-redefined which was Clang specific. To generate

CVS commit: src/etc

2020-05-31 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Jun 1 01:41:40 UTC 2020 Modified Files: src/etc: Makefile Removed Files: src/etc: motd.stable Log Message: Use the default motd for stable builds To generate a diff of this commit: cvs rdiff -u -r1.445 -r1.446

CVS commit: src/sys/modules/examples/ddbping

2020-05-31 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Jun 1 03:37:40 UTC 2020 Added Files: src/sys/modules/examples/ddbping: Makefile ddbping.c Log Message: Example of a kernel module that registers DDB commands. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1

CVS commit: src/tests/net

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jun 1 04:38:37 UTC 2020 Modified Files: src/tests/net/if_ipsec: t_ipsec_natt.sh src/tests/net/ipsec: t_ipsec_natt.sh Log Message: Typo in error message To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sbin/modload

2020-05-31 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Jun 1 03:18:36 UTC 2020 Modified Files: src/sbin/modload: modload.8 Log Message: Make -f description actually use the word "force" so that it can be found when searched for. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/aarch64/aarch64

2020-05-31 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Jun 1 02:42:24 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: no need to make the PTE writable to do icache_sync, enough to accessible. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76