CVS commit: src/sys/arch/x86/x86

2019-09-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 12 06:39:47 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Fix a normally harmless race: initialize several global variables only on cpu0, so we don't get eg cpu1 re-initializing them while cpu0 is us

CVS commit: src/sys/arch/x86/x86

2019-09-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 12 06:39:47 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Fix a normally harmless race: initialize several global variables only on cpu0, so we don't get eg cpu1 re-initializing them while cpu0 is us

CVS commit: src/sys/dev/pci/ixgbe

2019-09-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Sep 12 06:19:47 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.h ixgbe_vf.c ixgbe_vf.h ixv.c Log Message: - Make SIOCADDMULTI returns ENOSPC when the Ethenet multicast address list exceeds the limit. - State "Etherne

CVS commit: src/sys/dev/pci/ixgbe

2019-09-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Sep 12 06:19:47 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.h ixgbe_vf.c ixgbe_vf.h ixv.c Log Message: - Make SIOCADDMULTI returns ENOSPC when the Ethenet multicast address list exceeds the limit. - State "Etherne

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

2019-09-11 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 12 06:12:56 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc_asm_armv8.S Log Message: even if "no options MULTIPROCESSOR" requires isb after tlbi op. since it should be harmless, dsb is also added. fixed a prob

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

2019-09-11 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 12 06:12:56 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc_asm_armv8.S Log Message: even if "no options MULTIPROCESSOR" requires isb after tlbi op. since it should be harmless, dsb is also added. fixed a prob

Re: CVS commit: src/bin/ps

2019-09-11 Thread Martin Husemann
On Thu, Sep 12, 2019 at 04:33:40AM +0700, Robert Elz wrote: > Does anyone really want to make the shell, or other programs, run slower > just so someone can say that all memory was nicely (but pointlessly) freed > before exit ? I strongly support Robert's view here. There should be *NO* performanc

Re: CVS commit: src/bin/ps

2019-09-11 Thread Kamil Rytarowski
On 12.09.2019 02:52, Roy Marples wrote: > On 11/09/2019 20:03, Robert Elz wrote: >> Date:    Wed, 11 Sep 2019 17:02:53 + >> From:    "Kamil Rytarowski" >> Message-ID:  <20190911170253.d097ff...@cvs.netbsd.org> >> >>    | Free it when no longer used, just before the progr

Leak Sanitizer - how to suppress leaks

2019-09-11 Thread Kamil Rytarowski
On 11.09.2019 23:33, Robert Elz wrote: > Date:Wed, 11 Sep 2019 21:13:24 +0200 > From:Kamil Rytarowski > Message-ID: <6c853bc7-6510-459e-d451-51f988617...@gmx.com> > > | We have got even fixups in libc for such "nonsense" cases. > > Why? In 99% (or more) of libc t

CVS commit: src/sys/rump

2019-09-11 Thread Christoph Badura
Module Name:src Committed By: bad Date: Thu Sep 12 00:56:05 UTC 2019 Modified Files: src/sys/rump: listsrcdirs Log Message: Summary: ammend previous. remove pax from userspace sources. CVS: -- CVS: CVSROO

CVS commit: src/sys/rump

2019-09-11 Thread Christoph Badura
Module Name:src Committed By: bad Date: Thu Sep 12 00:56:05 UTC 2019 Modified Files: src/sys/rump: listsrcdirs Log Message: Summary: ammend previous. remove pax from userspace sources. CVS: -- CVS: CVSROO

Re: CVS commit: src/bin/ps

2019-09-11 Thread Roy Marples
On 11/09/2019 20:03, Robert Elz wrote: Date:Wed, 11 Sep 2019 17:02:53 + From:"Kamil Rytarowski" Message-ID: <20190911170253.d097ff...@cvs.netbsd.org> | Free it when no longer used, just before the program termination. Can we please avoid this kind of nons

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

2019-09-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 12 00:52:22 UTC 2019 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Attempt to obtain ACPI RSDP from the hypervisor for Xen PV There are three possible way of obtaining the ACPI RSDP - From Extended BIOS

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

2019-09-11 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Sep 12 00:52:22 UTC 2019 Modified Files: src/sys/arch/x86/acpi: acpi_machdep.c Log Message: Attempt to obtain ACPI RSDP from the hypervisor for Xen PV There are three possible way of obtaining the ACPI RSDP - From Extended BIOS

CVS commit: src/sys/rump

2019-09-11 Thread Christoph Badura
Module Name:src Committed By: bad Date: Thu Sep 12 00:17:03 UTC 2019 Modified Files: src/sys/rump: listsrcdirs Log Message: Summary: add grep and stat. CVS: -- CVS: CVSROOT cvs.NetBSD.org:/cvsroot CVS: p

CVS commit: src/sys/rump

2019-09-11 Thread Christoph Badura
Module Name:src Committed By: bad Date: Thu Sep 12 00:17:03 UTC 2019 Modified Files: src/sys/rump: listsrcdirs Log Message: Summary: add grep and stat. CVS: -- CVS: CVSROOT cvs.NetBSD.org:/cvsroot CVS: p

CVS commit: src/sys/rump

2019-09-11 Thread Christoph Badura
Module Name:src Committed By: bad Date: Wed Sep 11 22:30:16 UTC 2019 Modified Files: src/sys/rump: listsrcdirs Log Message: add src/external/public-domain/xz. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/rump/listsrcdirs Please note that diffs a

CVS commit: src/sys/rump

2019-09-11 Thread Christoph Badura
Module Name:src Committed By: bad Date: Wed Sep 11 22:30:16 UTC 2019 Modified Files: src/sys/rump: listsrcdirs Log Message: add src/external/public-domain/xz. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/rump/listsrcdirs Please note that diffs a

Re: CVS commit: src/bin/ps

2019-09-11 Thread Robert Elz
Date:Wed, 11 Sep 2019 21:13:24 +0200 From:Kamil Rytarowski Message-ID: <6c853bc7-6510-459e-d451-51f988617...@gmx.com> | We have got even fixups in libc for such "nonsense" cases. Why? In 99% (or more) of libc the fixes are relevant, as those functions can be call

CVS commit: src/sys/rump/kern/lib

2019-09-11 Thread Christoph Badura
Module Name:src Committed By: bad Date: Wed Sep 11 20:31:30 UTC 2019 Modified Files: src/sys/rump/kern/lib/libsys_cygwin: syscalls.conf src/sys/rump/kern/lib/libsys_linux: syscalls.conf src/sys/rump/kern/lib/libsys_sunos: syscalls.conf Log Message: define s

CVS commit: src/sys/rump/kern/lib

2019-09-11 Thread Christoph Badura
Module Name:src Committed By: bad Date: Wed Sep 11 20:31:30 UTC 2019 Modified Files: src/sys/rump/kern/lib/libsys_cygwin: syscalls.conf src/sys/rump/kern/lib/libsys_linux: syscalls.conf src/sys/rump/kern/lib/libsys_sunos: syscalls.conf Log Message: define s

Re: CVS commit: src/bin/ps

2019-09-11 Thread Kamil Rytarowski
On 11.09.2019 21:03, Robert Elz wrote: > Date:Wed, 11 Sep 2019 17:02:53 + > From:"Kamil Rytarowski" > Message-ID: <20190911170253.d097ff...@cvs.netbsd.org> > > | Free it when no longer used, just before the program termination. > > Can we please avoid this kind

Re: CVS commit: src/bin/ps

2019-09-11 Thread Robert Elz
Date:Wed, 11 Sep 2019 17:02:53 + From:"Kamil Rytarowski" Message-ID: <20190911170253.d097ff...@cvs.netbsd.org> | Free it when no longer used, just before the program termination. Can we please avoid this kind of nonsense. Everything is freed when every progra

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

2019-09-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 11 18:23:31 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: Define PRIxPTE To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/include/pte.h Please note that diffs

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

2019-09-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 11 18:23:31 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: Define PRIxPTE To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/include/pte.h Please note that diffs

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

2019-09-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 11 18:19:35 UTC 2019 Modified Files: src/sys/arch/aarch64/include: armreg.h pte.h Log Message: Move the TCR and TTBR defines into armreg.h where they below. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.26 -r

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

2019-09-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 11 18:19:35 UTC 2019 Modified Files: src/sys/arch/aarch64/include: armreg.h pte.h Log Message: Move the TCR and TTBR defines into armreg.h where they below. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.26 -r

CVS commit: src/bin/ps

2019-09-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 11 17:02:53 UTC 2019 Modified Files: src/bin/ps: ps.c Log Message: Plug memory leak in ps(1) pinfo is allocated in setpinfo() with calloc(3). Free it when no longer used, just before the program termination. Detected wit

CVS commit: src/bin/ps

2019-09-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 11 17:02:53 UTC 2019 Modified Files: src/bin/ps: ps.c Log Message: Plug memory leak in ps(1) pinfo is allocated in setpinfo() with calloc(3). Free it when no longer used, just before the program termination. Detected wit

CVS commit: [netbsd-9] src/doc

2019-09-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Sep 11 16:37:07 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: Ammend ticket #192 for additional pullups To generate a diff of this commit: cvs rdiff -u -r1.1.2.47 -r1.1.2.48 src/doc/CHANGES-9.0 Pleas

CVS commit: [netbsd-9] src/doc

2019-09-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Sep 11 16:37:07 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: Ammend ticket #192 for additional pullups To generate a diff of this commit: cvs rdiff -u -r1.1.2.47 -r1.1.2.48 src/doc/CHANGES-9.0 Pleas

CVS commit: [netbsd-9] src/sys/kern

2019-09-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Sep 11 16:36:13 UTC 2019 Modified Files: src/sys/kern [netbsd-9]: kern_time.c Log Message: Additionally pull up the following revision for ticket #192, to fix the build: src/sys/kern/kern_time.c1.199 mark a v

CVS commit: [netbsd-9] src/sys/kern

2019-09-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Sep 11 16:36:13 UTC 2019 Modified Files: src/sys/kern [netbsd-9]: kern_time.c Log Message: Additionally pull up the following revision for ticket #192, to fix the build: src/sys/kern/kern_time.c1.199 mark a v

Re: CVS commit: src/sys/sys

2019-09-11 Thread Christos Zoulas
In article <20190911145625.450a3f...@cvs.netbsd.org>, Christos Zoulas wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: christos >Date: Wed Sep 11 14:56:25 UTC 2019 > >Modified Files: > src/sys/sys: atomic.h > >Log Message: >Be consistent about semicolons in macros: always

Re: CVS import: src/external/bsd/openresolv/dist

2019-09-11 Thread Kamil Rytarowski
On 08.09.2019 22:46, Roy Marples wrote: > Module Name: src > Committed By: roy > Date: Sun Sep 8 20:46:17 UTC 2019 > > Update of /cvsroot/src/external/bsd/openresolv/dist > In directory ivanova.netbsd.org:/tmp/cvs-serv12058 > > Log Message: > Import openresolv-3.9.2 with the following c

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

2019-09-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Sep 11 15:03:53 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c Log Message: Switch to fdtbus_attach_spibus(), so spi slaves defined in the device tree have a chance to be found. To generate a diff of this commi

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

2019-09-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Sep 11 15:03:53 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c Log Message: Switch to fdtbus_attach_spibus(), so spi slaves defined in the device tree have a chance to be found. To generate a diff of this commi

CVS commit: src/sys/sys

2019-09-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 11 14:56:25 UTC 2019 Modified Files: src/sys/sys: atomic.h Log Message: Be consistent about semicolons in macros: always put them in the macro definitions and in the macro invocations so that the invocations look like st

CVS commit: src/sys/sys

2019-09-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 11 14:56:25 UTC 2019 Modified Files: src/sys/sys: atomic.h Log Message: Be consistent about semicolons in macros: always put them in the macro definitions and in the macro invocations so that the invocations look like st

CVS commit: xsrc/external/mit/twm/dist/man

2019-09-11 Thread Maya Rashish
Module Name:xsrc Committed By: maya Date: Wed Sep 11 14:11:56 UTC 2019 Modified Files: xsrc/external/mit/twm/dist/man: twm.man Log Message: Use the correct path for the twm.systemrc file. Thanks robert for the heads up. To generate a diff of this commit: cvs rdiff -u -r

CVS commit: xsrc/external/mit/twm/dist/man

2019-09-11 Thread Maya Rashish
Module Name:xsrc Committed By: maya Date: Wed Sep 11 14:11:56 UTC 2019 Modified Files: xsrc/external/mit/twm/dist/man: twm.man Log Message: Use the correct path for the twm.systemrc file. Thanks robert for the heads up. To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/external/mit/xorg/bin/twm

2019-09-11 Thread Maya Rashish
Module Name:src Committed By: maya Date: Wed Sep 11 14:10:36 UTC 2019 Modified Files: src/external/mit/xorg/bin/twm: Makefile Log Message: Use the more obviously replaced name __TWMDIR__ TWMDIR isn't currently used. We should patch to use it, though. To generate a diff

CVS commit: src/external/mit/xorg/bin/twm

2019-09-11 Thread Maya Rashish
Module Name:src Committed By: maya Date: Wed Sep 11 14:10:36 UTC 2019 Modified Files: src/external/mit/xorg/bin/twm: Makefile Log Message: Use the more obviously replaced name __TWMDIR__ TWMDIR isn't currently used. We should patch to use it, though. To generate a diff

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

2019-09-11 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Sep 11 11:43:15 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: - Fix TCR_TG0 field definitions to match Armv8 ARM - Rename TCR_IPS_64TB to TCR_IPS_16TB, add TCR_IPS_4PB - Whitespace fixes To gene

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

2019-09-11 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Sep 11 11:43:15 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: - Fix TCR_TG0 field definitions to match Armv8 ARM - Rename TCR_IPS_64TB to TCR_IPS_16TB, add TCR_IPS_4PB - Whitespace fixes To gene

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

2019-09-11 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Sep 11 08:15:48 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: used L3 even if L2 could cover the range. fix to use larger block if possible good enough. pointed out by jmcneill@. thanks.

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

2019-09-11 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Sep 11 08:15:48 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: used L3 even if L2 could cover the range. fix to use larger block if possible good enough. pointed out by jmcneill@. thanks.