svn commit: r359910 - in head/sys: conf fs/nfsserver modules/nfsd nfs

2020-04-13 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 14 00:01:26 2020 New Revision: 359910 URL: https://svnweb.freebsd.org/changeset/base/359910 Log: Re-organize the NFS file handle affinity code for the NFS server. The file handle affinity code was configured to be used by both the old and new NFS servers.

svn commit: r359909 - in head/sys/contrib/ck/include: . gcc/arm

2020-04-13 Thread Olivier Houchard
Author: cognet Date: Mon Apr 13 23:16:32 2020 New Revision: 359909 URL: https://svnweb.freebsd.org/changeset/base/359909 Log: Remove FreeBSD/armv4 specific bits from CK. Now that armv4/v5 is gone, remove the bits that implemented atomic operations by disabling interrupts. Those were

svn commit: r359908 - head/sys/net

2020-04-13 Thread Andrew Gallatin
Author: gallatin Date: Mon Apr 13 23:06:56 2020 New Revision: 359908 URL: https://svnweb.freebsd.org/changeset/base/359908 Log: lagg: stop double-counting output errors and counting drops as errors Before this change, lagg double-counted errors from lagg members, and counted every drop

svn commit: r359905 - head/sys/dev/evdev

2020-04-13 Thread Vladimir Kondratyev
Author: wulf Date: Mon Apr 13 22:06:28 2020 New Revision: 359905 URL: https://svnweb.freebsd.org/changeset/base/359905 Log: [evdev] Use proper mutex reference in autorepeat callout initialization. This fixes panic occuring when evdev key autorepeat is enabled by driver which initializes

svn commit: r359903 - head/sbin/nvmecontrol/tests

2020-04-13 Thread Li-Wen Hsu
Author: lwhsu Date: Mon Apr 13 21:08:54 2020 New Revision: 359903 URL: https://svnweb.freebsd.org/changeset/base/359903 Log: Ensure `kyua list` working when there is no /dev/nvme* Sponsored by: The FreeBSD Foundation Modified: head/sbin/nvmecontrol/tests/basic.sh Modified:

svn commit: r359902 - head/sys/cam/scsi

2020-04-13 Thread Warner Losh
Author: imp Date: Mon Apr 13 21:04:33 2020 New Revision: 359902 URL: https://svnweb.freebsd.org/changeset/base/359902 Log: Checks here against useracc are not useful and are racy. copyin/copyout are sufficient to guard against bad addresses. They will return EFAULT if the user is up to

svn commit: r359901 - head/sys/cam

2020-04-13 Thread Warner Losh
Author: imp Date: Mon Apr 13 21:03:30 2020 New Revision: 359901 URL: https://svnweb.freebsd.org/changeset/base/359901 Log: Remove stale comment There's no useracc here, and even if there was it shouldn't be here. vmapbuf is sufficient and as the comment says, useracc is racy. Modified:

svn commit: r359900 - head/sys/dev/uart

2020-04-13 Thread John Baldwin
Author: jhb Date: Mon Apr 13 20:59:09 2020 New Revision: 359900 URL: https://svnweb.freebsd.org/changeset/base/359900 Log: Export a sysctl count of RX FIFO overrun events. uart(4) backends currently detect RX FIFO overrun errors and report them to the uart(4) core layer. They are then

svn commit: r359899 - head/sys/dev/uart

2020-04-13 Thread John Baldwin
Author: jhb Date: Mon Apr 13 20:43:57 2020 New Revision: 359899 URL: https://svnweb.freebsd.org/changeset/base/359899 Log: Correct baud rate error calculation. Shifting right by 1 is not the same as dividing by 2 for signed values. In particular, dividing a signed value by 2 gives the

svn commit: r359898 - head/sys/conf

2020-04-13 Thread Conrad Meyer
Author: cem Date: Mon Apr 13 20:25:01 2020 New Revision: 359898 URL: https://svnweb.freebsd.org/changeset/base/359898 Log: Disable QUEUE_MACRO_DEBUG_TRACE in LINT kernels It changes the size of TAILQ_ENTRY, which obviously impacts ABI in a variety of ways. Some of these things are

svn commit: r359897 - head/sys/dev/cxgbe/tom

2020-04-13 Thread Navdeep Parhar
Author: np Date: Mon Apr 13 20:12:47 2020 New Revision: 359897 URL: https://svnweb.freebsd.org/changeset/base/359897 Log: cxgbe(4): Make sure 'flags' is at the same offset in structs toepcb and synq_entry. TAILQ_ENTRY isn't always the same size as two pointers. Reported by: rmacklem@

svn commit: r359896 - head/tools/build

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 20:00:44 2020 New Revision: 359896 URL: https://svnweb.freebsd.org/changeset/base/359896 Log: depend-cleanup: fix typo, ^/lib/libc/sys/Makefile.inc generates .S stubs Pointy hat: kevans Modified: head/tools/build/depend-cleanup.sh Modified:

svn commit: r359895 - in head: . tools/build

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 19:50:47 2020 New Revision: 359895 URL: https://svnweb.freebsd.org/changeset/base/359895 Log: Move shm_open dependency cleanup into a new home r359461 introduced this nifty script to centralize these things, so add shm_open.c there to remove a total of one

Re: svn commit: r359374 - in head: . share/man/man4 share/man/man7 share/man/man9 sys/crypto/aesni sys/crypto/armv8 sys/crypto/blake2 sys/crypto/ccp sys/crypto/via sys/dev/cesa sys/dev/cxgbe sys/dev/c

2020-04-13 Thread John Baldwin
On 4/13/20 12:31 PM, Warner Losh wrote: > On Mon, Apr 13, 2020 at 1:22 PM John-Mark Gurney wrote: > >> John Baldwin wrote this message on Mon, Apr 13, 2020 at 09:56 -0700: >>> On 4/12/20 1:08 PM, Xin Li wrote: On 3/27/20 11:25 AM, John Baldwin wrote: [...]> - Drivers no

svn commit: r359894 - head/sys/dev/sound/pci/hda

2020-04-13 Thread Mark Johnston
Author: markj Date: Mon Apr 13 19:45:45 2020 New Revision: 359894 URL: https://svnweb.freebsd.org/changeset/base/359894 Log: snd_hda(4): Recognize the ALC257 codec. PR: 245524 Submitted by: Jose Luis Duran MFC after:1 week Modified: head/sys/dev/sound/pci/hda/hdac.h

Re: svn commit: r359374 - in head: . share/man/man4 share/man/man7 share/man/man9 sys/crypto/aesni sys/crypto/armv8 sys/crypto/blake2 sys/crypto/ccp sys/crypto/via sys/dev/cesa sys/dev/cxgbe sys/dev/c

2020-04-13 Thread Warner Losh
On Mon, Apr 13, 2020 at 1:22 PM John-Mark Gurney wrote: > John Baldwin wrote this message on Mon, Apr 13, 2020 at 09:56 -0700: > > On 4/12/20 1:08 PM, Xin Li wrote: > > > > > > > > > On 3/27/20 11:25 AM, John Baldwin wrote: > > > [...]> - Drivers no longer register a list of supported

svn commit: r359893 - head/sys/kern

2020-04-13 Thread Mark Johnston
Author: markj Date: Mon Apr 13 19:22:05 2020 New Revision: 359893 URL: https://svnweb.freebsd.org/changeset/base/359893 Log: Fix sendto() on unconnected SOCK_STREAM/SEQPACKET unix sockets. Previously the unpcb pointer of the newly connected remote socket was not initialized correctly, so

Re: svn commit: r359374 - in head: . share/man/man4 share/man/man7 share/man/man9 sys/crypto/aesni sys/crypto/armv8 sys/crypto/blake2 sys/crypto/ccp sys/crypto/via sys/dev/cesa sys/dev/cxgbe sys/dev/c

2020-04-13 Thread John-Mark Gurney
John Baldwin wrote this message on Mon, Apr 13, 2020 at 09:56 -0700: > On 4/12/20 1:08 PM, Xin Li wrote: > > > > > > On 3/27/20 11:25 AM, John Baldwin wrote: > > [...]> - Drivers no longer register a list of supported algorithms. This > >> doesn't quite work when you factor in modes (e.g.

svn commit: r359892 - head/sys/kern

2020-04-13 Thread Mark Johnston
Author: markj Date: Mon Apr 13 19:20:39 2020 New Revision: 359892 URL: https://svnweb.freebsd.org/changeset/base/359892 Log: Relax restrictions on private mappings of POSIX shm objects. When creating a private mapping of a POSIX shared memory object, VM_PROT_WRITE should always be

svn commit: r359891 - in head: sys/kern tests/sys/file

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 17:55:31 2020 New Revision: 359891 URL: https://svnweb.freebsd.org/changeset/base/359891 Log: close_range/closefrom: fix regression from close_range introduction close_range will clamp the range between [0, fdp->fd_lastfile], but failed to take into

Re: svn commit: r359374 - in head: . share/man/man4 share/man/man7 share/man/man9 sys/crypto/aesni sys/crypto/armv8 sys/crypto/blake2 sys/crypto/ccp sys/crypto/via sys/dev/cesa sys/dev/cxgbe sys/dev/c

2020-04-13 Thread John Baldwin
On 4/12/20 1:08 PM, Xin Li wrote: > > > On 3/27/20 11:25 AM, John Baldwin wrote: > [...]> - Drivers no longer register a list of supported algorithms. This >> doesn't quite work when you factor in modes (e.g. a driver might >> support both AES-CBC and SHA2-256-HMAC separately but not

svn commit: r359865 - head/lib/libc/sys

2020-04-13 Thread Kyle Evans
Author: kevans Date: Mon Apr 13 15:59:15 2020 New Revision: 359865 URL: https://svnweb.freebsd.org/changeset/base/359865 Log: libc: remove shm_open(2)'s compat fallback This had been introduced to ease any pain for using slightly older kernels with a newer libc, e.g., for bisecting a

svn commit: r359862 - head/usr.bin/calendar/tests

2020-04-13 Thread Li-Wen Hsu
Author: lwhsu Date: Mon Apr 13 14:35:07 2020 New Revision: 359862 URL: https://svnweb.freebsd.org/changeset/base/359862 Log: Install expected output file of test missed in r359585 Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/calendar/tests/Makefile Modified:

Re: svn commit: r359844 - head/sys/netinet6

2020-04-13 Thread Mark Linimon
On Mon, Apr 13, 2020 at 08:26:11AM +, Alexander V. Chernikov wrote: > Remove tcp_rtlookup6() function signature. >The function itself was removed in r122922 16 years ago. I nominate this for "most amusing commit of the month" :-) Who knows what other cobwebs lurk in our src tree ...

svn commit: r359854 - head/sys/dev/mn

2020-04-13 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Apr 13 09:01:46 2020 New Revision: 359854 URL: https://svnweb.freebsd.org/changeset/base/359854 Log: Remove unused 'struct rtentry' definition. Modified: head/sys/dev/mn/if_mn.c Modified: head/sys/dev/mn/if_mn.c

svn commit: r359849 - head/lib/libc/gen

2020-04-13 Thread Xin LI
Author: delphij Date: Mon Apr 13 08:42:13 2020 New Revision: 359849 URL: https://svnweb.freebsd.org/changeset/base/359849 Log: Sync with OpenBSD: arc4random.c: In the incredibly unbelievable circumstance where _rs_init() fails to allocate pages, don't call abort() because of corefile

svn commit: r359844 - head/sys/netinet6

2020-04-13 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Apr 13 08:26:11 2020 New Revision: 359844 URL: https://svnweb.freebsd.org/changeset/base/359844 Log: Remove tcp_rtlookup6() function signature. The function itself was removed in r122922 16 years ago. Modified: head/sys/netinet6/tcp6_var.h Modified: