svn commit: r356249 - head/sbin/fsck_msdosfs

2019-12-31 Thread Xin LI
Author: delphij Date: Wed Jan 1 07:43:08 2020 New Revision: 356249 URL: https://svnweb.freebsd.org/changeset/base/356249 Log: Reduce memory footprint of fsck_msdosfs. This utility was initially written for FAT12/16, which were inherently small. When FAT32 support was added, the old data

svn commit: r356248 - head/usr.sbin/inetd

2019-12-31 Thread Kyle Evans
Author: kevans Date: Wed Jan 1 04:29:08 2020 New Revision: 356248 URL: https://svnweb.freebsd.org/changeset/base/356248 Log: inetd: convert remaining bzero(3) to memset(3), NFC This change is purely in the name of noise reduction from static analyzers that want to complain that bzero(3)

svn commit: r356247 - head/usr.sbin/inetd

2019-12-31 Thread Kyle Evans
Author: kevans Date: Wed Jan 1 04:22:04 2020 New Revision: 356247 URL: https://svnweb.freebsd.org/changeset/base/356247 Log: inetd: track all child pids, regardless of maxchild spec Currently, child pids are only tracked if maxchildren is specified. As a consequence, without a maxchild

svn commit: r356246 - head/usr.sbin/inetd

2019-12-31 Thread Kyle Evans
Author: kevans Date: Wed Jan 1 03:59:54 2020 New Revision: 356246 URL: https://svnweb.freebsd.org/changeset/base/356246 Log: inetd: add some macros for checking child limits, NFC The main point here is capturing the maxchild > 0 check. A future change to inetd will start tracking all of

Re: svn commit: r356240 - head/sys/netinet

2019-12-31 Thread Alexander Motin
Hi, We hit it on 11.3. So I am going to MFC it. On Tue, Dec 31, 2019, 9:37 PM Kubilay Kocak wrote: > On 1/01/2020 5:58 am, Alexander Motin wrote: > > Author: mav > > Date: Tue Dec 31 18:58:29 2019 > > New Revision: 356240 > > URL: https://svnweb.freebsd.org/changeset/base/356240 > > > > Log: >

Re: svn commit: r356240 - head/sys/netinet

2019-12-31 Thread Kubilay Kocak
On 1/01/2020 5:58 am, Alexander Motin wrote: Author: mav Date: Tue Dec 31 18:58:29 2019 New Revision: 356240 URL: https://svnweb.freebsd.org/changeset/base/356240 Log: Relax locking of carp_forus(). This fixes deadlock between CARP and bridge. Bridge calls this function taking

svn commit: r356245 - in head/sys: dev/random dev/vmgenc sys

2019-12-31 Thread Conrad Meyer
Author: cem Date: Wed Jan 1 00:35:02 2020 New Revision: 356245 URL: https://svnweb.freebsd.org/changeset/base/356245 Log: vmgenid(4): Integrate as a random(4) source The number is public and has no "entropy," but should be integrated quickly on VM rewind events to avoid duplicate

svn commit: r356244 - head/usr.bin/nfsstat

2019-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 22:25:06 2019 New Revision: 356244 URL: https://svnweb.freebsd.org/changeset/base/356244 Log: Update the man page to reflect that "-M" and "-N" are deprecated and ignored. r356242 updated nfsstat.c to report that the "-M" and "-N" options were being

svn commit: r356243 - head/sys/vm

2019-12-31 Thread Doug Moore
Author: dougm Date: Tue Dec 31 22:20:54 2019 New Revision: 356243 URL: https://svnweb.freebsd.org/changeset/base/356243 Log: The map-entry clipping functions modify start and end entries of an entry in the vm_map, making invariants related to the max_free entry field invalid. Move the

svn commit: r356242 - head/usr.bin/nfsstat

2019-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 22:19:33 2019 New Revision: 356242 URL: https://svnweb.freebsd.org/changeset/base/356242 Log: Get rid of old nfsstat options no longer used. The "-M" and "-N" options for nfsstat were used by the old NFS code and have never done anything for the new NFS

Re: svn commit: r356241 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-12-31 Thread Dmitry Chagin
Hi, HNY! What about vdso? ср, 1 янв. 2020 г. в 01:01, Edward Tomasz Napierala : > Author: trasz > Date: Tue Dec 31 22:01:08 2019 > New Revision: 356241 > URL: https://svnweb.freebsd.org/changeset/base/356241 > > Log: > Add basic getcpu(2) support to linuxulator. The purpose of this >

svn commit: r356241 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-12-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Dec 31 22:01:08 2019 New Revision: 356241 URL: https://svnweb.freebsd.org/changeset/base/356241 Log: Add basic getcpu(2) support to linuxulator. The purpose of this syscall is to query the CPU number and the NUMA domain the calling thread is currently running on.

svn commit: r356240 - head/sys/netinet

2019-12-31 Thread Alexander Motin
Author: mav Date: Tue Dec 31 18:58:29 2019 New Revision: 356240 URL: https://svnweb.freebsd.org/changeset/base/356240 Log: Relax locking of carp_forus(). This fixes deadlock between CARP and bridge. Bridge calls this function taking CARP lock while holding bridge lock. Same time CARP

svn commit: r356239 - stable/11/sys/fs/nfsclient

2019-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 18:28:25 2019 New Revision: 356239 URL: https://svnweb.freebsd.org/changeset/base/356239 Log: MFC: r356066 Fix nfsmount() so that it will return NFSERR_MINORVERMISMATCH. If nfsrpc_getdirpath() returns NFSERR_MINORVERMISMATCH, it would erroneously get

svn commit: r356238 - stable/12/sys/fs/nfsclient

2019-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 18:10:34 2019 New Revision: 356238 URL: https://svnweb.freebsd.org/changeset/base/356238 Log: MFC: r356066 Fix nfsmount() so that it will return NFSERR_MINORVERMISMATCH. If nfsrpc_getdirpath() returns NFSERR_MINORVERMISMATCH, it would erroneously get

svn commit: r356237 - head/sys/net

2019-12-31 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Dec 31 17:57:12 2019 New Revision: 356237 URL: https://svnweb.freebsd.org/changeset/base/356237 Log: Fix NOINET6 build broken by r356236. MFC after:2 weeks Modified: head/sys/net/rtsock.c Modified: head/sys/net/rtsock.c

svn commit: r356236 - in head/sys: kern net sys

2019-12-31 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Dec 31 17:26:53 2019 New Revision: 356236 URL: https://svnweb.freebsd.org/changeset/base/356236 Log: Split gigantic rtsock route_output() into smaller functions. Amount of changes to the original code has been intentionally minimised to ease diffing. The

svn commit: r356235 - in head/sys/netinet: . cc

2019-12-31 Thread Michael Tuexen
Author: tuexen Date: Tue Dec 31 16:15:47 2019 New Revision: 356235 URL: https://svnweb.freebsd.org/changeset/base/356235 Log: Fix delayed ACK generation for DCTCP. Submitted by: Richard Scheffenegger Reviewed by: che...@netapp.com, rgrimes@, tuexen@ Differential

svn commit: r356234 - head/sys/arm/linux

2019-12-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Dec 31 16:07:12 2019 New Revision: 356234 URL: https://svnweb.freebsd.org/changeset/base/356234 Log: Regen after r356233. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/arm/linux/linux_proto.h head/sys/arm/linux/linux_sysent.c

svn commit: r356233 - head/sys/arm/linux

2019-12-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Dec 31 16:05:07 2019 New Revision: 356233 URL: https://svnweb.freebsd.org/changeset/base/356233 Log: Sigh, add getcpu(2) chunk missed in r356229. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/arm/linux/syscalls.master Modified:

svn commit: r356232 - in stable: 11 11/sys/sys 12 12/sys/sys

2019-12-31 Thread Glen Barber
Author: gjb Date: Tue Dec 31 16:04:16 2019 New Revision: 356232 URL: https://svnweb.freebsd.org/changeset/base/356232 Log: MFC r356230: Happy New Year 2020! Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: stable/12/COPYRIGHT stable/12/sys/sys/copyright.h Directory

svn commit: r356232 - in stable: 11 11/sys/sys 12 12/sys/sys

2019-12-31 Thread Glen Barber
Author: gjb Date: Tue Dec 31 16:04:16 2019 New Revision: 356232 URL: https://svnweb.freebsd.org/changeset/base/356232 Log: MFC r356230: Happy New Year 2020! Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: stable/11/COPYRIGHT stable/11/sys/sys/copyright.h Directory

svn commit: r356230 - in head: . sys/sys

2019-12-31 Thread Glen Barber
Author: gjb Date: Tue Dec 31 16:01:36 2019 New Revision: 356230 URL: https://svnweb.freebsd.org/changeset/base/356230 Log: Happy New Year 2020! MFC after:1 minute Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: head/COPYRIGHT head/sys/sys/copyright.h Modified:

svn commit: r356231 - in head/sys: amd64/linux32 i386/linux

2019-12-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Dec 31 16:01:37 2019 New Revision: 356231 URL: https://svnweb.freebsd.org/changeset/base/356231 Log: Regen after r356229. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/linux32/linux32_proto.h

svn commit: r356229 - in head/sys: amd64/linux32 i386/linux

2019-12-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Dec 31 15:57:29 2019 New Revision: 356229 URL: https://svnweb.freebsd.org/changeset/base/356229 Log: Fix definitions for Linux getcpu(2). MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/linux32/syscalls.master

svn commit: r356228 - in head/contrib/unbound: . cachedb compat contrib daemon dns64 dnscrypt doc ipsecmod ipset iterator libunbound respip services sldns smallapp util util/data util/shm_side vali...

2019-12-31 Thread Cy Schubert
Author: cy Date: Tue Dec 31 15:50:41 2019 New Revision: 356228 URL: https://svnweb.freebsd.org/changeset/base/356228 Log: MFV r356143: Update unbound 1.9.2 --> 1.9.6. MFC after:3 days Security: CVE-2019-18934 (fixed by 1.9.5) Added:

svn commit: r356227 - head/sys/netinet

2019-12-31 Thread Michael Tuexen
Author: tuexen Date: Tue Dec 31 14:32:48 2019 New Revision: 356227 URL: https://svnweb.freebsd.org/changeset/base/356227 Log: Add flags for upcoming patches related to improved ECN handling. No functional change. Submitted by: Richard Scheffenegger Reviewed by: rgrimes@,

svn commit: r356226 - head/sys/netinet

2019-12-31 Thread Michael Tuexen
Author: tuexen Date: Tue Dec 31 14:23:52 2019 New Revision: 356226 URL: https://svnweb.freebsd.org/changeset/base/356226 Log: Clear the flag indicating that the last received packet was marked CE also in the case where a packet not marked was received. Submitted by: Richard

svn commit: r356225 - head/sys/dev/atkbdc

2019-12-31 Thread Kyle Evans
Author: kevans Date: Tue Dec 31 13:56:48 2019 New Revision: 356225 URL: https://svnweb.freebsd.org/changeset/base/356225 Log: psm: properly check for atkbdc_open failure atkbdc_open can return NULL if the unit's out of bounds or the softc isn't setup. Check it to be safe. Modified:

svn commit: r356224 - head/sys/netinet/cc

2019-12-31 Thread Michael Tuexen
Author: tuexen Date: Tue Dec 31 12:29:01 2019 New Revision: 356224 URL: https://svnweb.freebsd.org/changeset/base/356224 Log: Add curly braces missed in https://svnweb.freebsd.org/changeset/base/354773 Sponsored by: Netflix, Inc. CID: 1407649 Modified:

Re: svn commit: r356185 - in head: lib/geom lib/geom/sched sys/geom sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/sys

2019-12-31 Thread Alexey Dokuchaev
On Mon, Dec 30, 2019 at 02:55:16PM -0500, Alexander Motin wrote: > On 30.12.2019 12:02, Alexey Dokuchaev wrote: > > ... > > Well, hard drives essentially didn't change since then, still being > > the same rotation media. :) > > At least some papers about gsched I read mention adX devices, which >

svn commit: r356223 - head/sys/riscv/riscv

2019-12-31 Thread Kristof Provost
Author: kp Date: Tue Dec 31 11:45:19 2019 New Revision: 356223 URL: https://svnweb.freebsd.org/changeset/base/356223 Log: riscv: Remove unused variable Fix the build that was broken by r356221. Pointy hat to myself. Modified: head/sys/riscv/riscv/mp_machdep.c Modified:

svn commit: r356222 - head/sys/riscv/sifive

2019-12-31 Thread Kristof Provost
Author: kp Date: Tue Dec 31 10:54:13 2019 New Revision: 356222 URL: https://svnweb.freebsd.org/changeset/base/356222 Log: sifive: uart driver Implement support for the UART as found on the SiFive FU540. It should also work on, but has not been tested with, the FU310. Reviewed by:

svn commit: r356221 - head/sys/riscv/riscv

2019-12-31 Thread Kristof Provost
Author: kp Date: Tue Dec 31 10:53:03 2019 New Revision: 356221 URL: https://svnweb.freebsd.org/changeset/base/356221 Log: riscv: Remove pointless loop There's no point in checking for absent CPUs if we're not going to do anything about either the present or absent case. This loop can