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 l

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 CAR

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 sequenc

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 ignor

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 clippi

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 c

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 > syscall

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. Th

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 tr

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 chang

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 Revisio

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: h

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 head/sys/amd64/linux32/linux32

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: 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 head/sys/i386/

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: head/contrib/unbound/compat/getentropy_f

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@, t

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 Scheff

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: hea

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: head/sys

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: head/sys/riscv/ri

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: ph

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 just