svn commit: r360142 - in stable/11/sys/fs: nfs nfsserver

2020-04-20 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 21 05:00:35 2020 New Revision: 360142 URL: https://svnweb.freebsd.org/changeset/base/360142 Log: MFC: r359679 Fix noisy NFSv4 server printf. Peter reported that his dmesg was getting cluttered with nfsrv_cache_session: no session messages when he reboote

svn commit: r360141 - in stable/12/sys/fs: nfs nfsserver

2020-04-20 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 21 04:47:42 2020 New Revision: 360141 URL: https://svnweb.freebsd.org/changeset/base/360141 Log: MFC: r359679 Fix noisy NFSv4 server printf. Peter reported that his dmesg was getting cluttered with nfsrv_cache_session: no session messages when he reboote

svn commit: r360140 - head/sys/kern

2020-04-20 Thread Kyle Evans
Author: kevans Date: Tue Apr 21 03:57:30 2020 New Revision: 360140 URL: https://svnweb.freebsd.org/changeset/base/360140 Log: kqueue: fix conversion of timer data to sbintime This unbreaks the i386 kqueue timer tests after a recent change switched NOTE_ABSTIME over to using microseconds.

Re: svn commit: r360068 - in head/sys: kern net sys

2020-04-20 Thread Kyle Evans
On Mon, Apr 20, 2020 at 9:14 PM Kyle Evans wrote: > > On Mon, Apr 20, 2020 at 8:15 PM Eric van Gyzen wrote: > > > > + sz = asprintf(&buf, M_TEMP, "%s-%s-%s", uuid, if_name(ifp), > > + jailname); > > + if (sz < 0) { > > + /* Fall back to a random mac address. */

Re: svn commit: r360068 - in head/sys: kern net sys

2020-04-20 Thread Kyle Evans
On Mon, Apr 20, 2020 at 8:15 PM Eric van Gyzen wrote: > > + sz = asprintf(&buf, M_TEMP, "%s-%s-%s", uuid, if_name(ifp), > + jailname); > + if (sz < 0) { > + /* Fall back to a random mac address. */ > >>> > >>> > >>> I was wondering if it would be valuable to giv

Re: svn commit: r360068 - in head/sys: kern net sys

2020-04-20 Thread Eric van Gyzen
+ sz = asprintf(&buf, M_TEMP, "%s-%s-%s", uuid, if_name(ifp), + jailname); + if (sz < 0) { + /* Fall back to a random mac address. */ I was wondering if it would be valuable to give this fall back something like: printf("%s: unable to create fixe

svn commit: r360139 - head/bin/sh

2020-04-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 21 00:37:55 2020 New Revision: 360139 URL: https://svnweb.freebsd.org/changeset/base/360139 Log: Fix build with NO_HISTORY set Reviewed by: jilles Differential Revision:https://reviews.freebsd.org/D24458 Modified: head/bin/sh/histedit.c

svn commit: r360138 - head/contrib/bsnmp/snmpd

2020-04-20 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 20 23:32:49 2020 New Revision: 360138 URL: https://svnweb.freebsd.org/changeset/base/360138 Log: Fix immediate crash when snmpd is bound to a specific IP address. The code that sets up msghdr must first fully fill in the msghdr itself, and only then use CMSG_

svn commit: r360137 - head/sys/netipsec

2020-04-20 Thread John Baldwin
Author: jhb Date: Mon Apr 20 22:57:15 2020 New Revision: 360137 URL: https://svnweb.freebsd.org/changeset/base/360137 Log: Update comments about IVs used in IPsec ESP. Add some prose and a diagram describing the layout of the cipher IV for AES-CTR and AES-GCM and how it relates to the ESP

svn commit: r360136 - in head: share/man/man9 sys/crypto/aesni sys/crypto/armv8 sys/crypto/ccp sys/crypto/via sys/dev/cesa sys/dev/cxgbe/crypto sys/dev/glxsb sys/dev/hifn sys/dev/safe sys/dev/sec s...

2020-04-20 Thread John Baldwin
Author: jhb Date: Mon Apr 20 22:24:49 2020 New Revision: 360136 URL: https://svnweb.freebsd.org/changeset/base/360136 Log: Retire the CRYPTO_F_IV_GENERATE flag. The sole in-tree user of this flag has been retired, so remove this complexity from all drivers. While here, add a helper routi

svn commit: r360135 - head/sys/netipsec

2020-04-20 Thread John Baldwin
Author: jhb Date: Mon Apr 20 22:20:26 2020 New Revision: 360135 URL: https://svnweb.freebsd.org/changeset/base/360135 Log: Generate IVs directly in esp_output. This is the only place that uses CRYPTO_F_IV_GENERATE. All crypto drivers currently duplicate the same boilerplate code to handl

svn commit: r360134 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-04-20 Thread Dimitry Andric
Author: dim Date: Mon Apr 20 19:16:10 2020 New Revision: 360134 URL: https://svnweb.freebsd.org/changeset/base/360134 Log: Merge commit 64b31d96d from llvm git (by Nemanja Ivanovic): [PowerPC] Do not attempt to reuse load for 64-bit FP_TO_UINT without FPCVT We call the function

Re: svn commit: r360126 - head/sys/dev/evdev

2020-04-20 Thread Vladimir Kondratyev
On 20.04.2020 19:39, Justin Hibbits wrote: > But I'm curious, why not attach to sysmouse(4) and kbdmux(4)? What > breakage does that cause? I could maybe see not attaching to > sysmouse(4) by default, if the protocol isn't expressive enough, but > kbdmux(4) should be sufficient. > > - Justin kbd

svn commit: r360133 - stable/12/sys/dev/sound/pci/hda

2020-04-20 Thread Ed Maste
Author: emaste Date: Mon Apr 20 19:08:45 2020 New Revision: 360133 URL: https://svnweb.freebsd.org/changeset/base/360133 Log: MFC r360053: hdac: update comment to match function name snd_hda was rewritten in r230130; one function retained a comment referencing the previous name. Modified

Re: svn commit: r360126 - head/sys/dev/evdev

2020-04-20 Thread Niclas Zeising
On 2020-04-20 20:13, Conrad Meyer wrote: Hi Niclas, On Mon, Apr 20, 2020 at 9:57 AM Niclas Zeising wrote: On 2020-04-20 18:39, Justin Hibbits wrote: For just powerpc32, you should have: #if defined(__powerpc__) && !defined(__powerpc64__) Ok, I wasn't aware of that, I'll fix it. FYI, arc

Re: svn commit: r360122 - head/sys/vm

2020-04-20 Thread Conrad Meyer
Thanks! On Mon, Apr 20, 2020 at 7:45 AM Mark Johnston wrote: > > Author: markj > Date: Mon Apr 20 14:45:17 2020 > New Revision: 360122 > URL: https://svnweb.freebsd.org/changeset/base/360122 > > Log: > Handle trashed queue pointers in vm_page_acquire_unlocked(). > > vm_page_acquire_unlocked()

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

2020-04-20 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Mon Apr 20 18:23:31 2020 New Revision: 360132 URL: https://svnweb.freebsd.org/changeset/base/360132 Log: Fix kern.evdev.rcpt_mask on powerpc In r360126, I meant to have a different mask only on powerpc, not powerpc64. Update the check to check t

Re: svn commit: r360126 - head/sys/dev/evdev

2020-04-20 Thread Conrad Meyer
Hi Niclas, On Mon, Apr 20, 2020 at 9:57 AM Niclas Zeising wrote: > > On 2020-04-20 18:39, Justin Hibbits wrote: > > For just powerpc32, > > you should have: > > > > #if defined(__powerpc__) && !defined(__powerpc64__) > > Ok, I wasn't aware of that, I'll fix it. FYI, arch(7) is a great resource h

svn commit: r360131 - head/sys/dev/acpica

2020-04-20 Thread Conrad Meyer
Author: cem Date: Mon Apr 20 18:01:45 2020 New Revision: 360131 URL: https://svnweb.freebsd.org/changeset/base/360131 Log: acpi_ec(4): Do not probe "successfully" if an error occurred All of the 'goto out;' cases in this probe routine without explicit initialization of 'ret' indicate erro

svn commit: r360130 - head/tests/sys/kqueue/libkqueue

2020-04-20 Thread Li-Wen Hsu
Author: lwhsu Date: Mon Apr 20 17:48:10 2020 New Revision: 360130 URL: https://svnweb.freebsd.org/changeset/base/360130 Log: Temporarily skip timer tests in sys.kqueue.libkqueue.kqueue_test.main on i386 PR: 245768 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/

svn commit: r360129 - head/contrib/llvm-project/clang/lib/CodeGen

2020-04-20 Thread Dimitry Andric
Author: dim Date: Mon Apr 20 17:39:51 2020 New Revision: 360129 URL: https://svnweb.freebsd.org/changeset/base/360129 Log: Merge commit ce5173c0e from llvm git (by Reid Kleckner): Use FinishThunk to finish musttail thunks FinishThunk, and the invariant of setting and then unsetting

Re: svn commit: r360019 - head/tests/sys/kern

2020-04-20 Thread Enji Cooper
> On Apr 20, 2020, at 10:10 AM, Jonathan T. Looney wrote: > > On Sun, Apr 19, 2020 at 5:03 PM Enji Cooper > wrote: > > > On Apr 16, 2020, at 1:07 PM, Jonathan T. Looney wrote: > > > > Author: jtl > > Date: Thu Apr 16 20:07:34 2020 > > New Revision: 360019 > > UR

Re: svn commit: r360019 - head/tests/sys/kern

2020-04-20 Thread Jonathan T. Looney
On Sun, Apr 19, 2020 at 5:03 PM Enji Cooper wrote: > > > On Apr 16, 2020, at 1:07 PM, Jonathan T. Looney wrote: > > > > Author: jtl > > Date: Thu Apr 16 20:07:34 2020 > > New Revision: 360019 > > URL: https://svnweb.freebsd.org/changeset/base/360019 > > > > Log: > > Add a regression test for th

Re: svn commit: r360126 - head/sys/dev/evdev

2020-04-20 Thread Niclas Zeising
On 2020-04-20 18:39, Justin Hibbits wrote: On Mon, 20 Apr 2020 16:17:17 + (UTC) Niclas Zeising wrote: Author: zeising (doc,ports committer) Date: Mon Apr 20 16:17:16 2020 New Revision: 360126 URL: https://svnweb.freebsd.org/changeset/base/360126 Log: Change kern.evdev.rcpt_mask to 12 b

Re: svn commit: r360126 - head/sys/dev/evdev

2020-04-20 Thread Justin Hibbits
On Mon, 20 Apr 2020 16:17:17 + (UTC) Niclas Zeising wrote: > Author: zeising (doc,ports committer) > Date: Mon Apr 20 16:17:16 2020 > New Revision: 360126 > URL: https://svnweb.freebsd.org/changeset/base/360126 > > Log: > Change kern.evdev.rcpt_mask to 12 by default > > Change kern.ev

svn commit: r360128 - stable/12/usr.sbin/daemon

2020-04-20 Thread Alexander Motin
Author: mav Date: Mon Apr 20 16:31:05 2020 New Revision: 360128 URL: https://svnweb.freebsd.org/changeset/base/360128 Log: MFC r348629 (by cem): daemon(8): Don't block SIGTERM during restart delay I believe this was introduced in the original '-r' commit, r231911 (2012). At the time, the

svn commit: r360127 - head/sys/compat/linuxkpi/common/include/asm

2020-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 20 16:21:37 2020 New Revision: 360127 URL: https://svnweb.freebsd.org/changeset/base/360127 Log: Implement the atomic fetch add unless functions for the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/

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

2020-04-20 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Mon Apr 20 16:17:16 2020 New Revision: 360126 URL: https://svnweb.freebsd.org/changeset/base/360126 Log: Change kern.evdev.rcpt_mask to 12 by default Change kern.evdev.rcpt_mask from 3 to 12 by default. This makes us much more evdev-friendly, a

svn commit: r360125 - in head/usr.bin/diff: . tests

2020-04-20 Thread Kyle Evans
Author: kevans Date: Mon Apr 20 16:14:44 2020 New Revision: 360125 URL: https://svnweb.freebsd.org/changeset/base/360125 Log: diff(1): reject conflicting formatting options This matches GNU diff(1) behavior and, more importantly, eliminates any source of confusion if multiple formatting o

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

2020-04-20 Thread Ed Maste
Author: emaste Date: Mon Apr 20 15:41:40 2020 New Revision: 360124 URL: https://svnweb.freebsd.org/changeset/base/360124 Log: hdac: remove unused macro Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c

svn commit: r360123 - head/sbin/nvmecontrol

2020-04-20 Thread Alexander Motin
Author: mav Date: Mon Apr 20 14:54:41 2020 New Revision: 360123 URL: https://svnweb.freebsd.org/changeset/base/360123 Log: Allow namespace-id specification where it makes sense. It makes tool more convenient to not require user to explicitly convert namespace device name into controller d

svn commit: r360122 - head/sys/vm

2020-04-20 Thread Mark Johnston
Author: markj Date: Mon Apr 20 14:45:17 2020 New Revision: 360122 URL: https://svnweb.freebsd.org/changeset/base/360122 Log: Handle trashed queue pointers in vm_page_acquire_unlocked(). vm_page_acquire_unlocked() relies on type-stability of vm_page structures and assumes that the listq li

svn commit: r360121 - head/tests/sys/netinet

2020-04-20 Thread Li-Wen Hsu
Author: lwhsu Date: Mon Apr 20 14:24:13 2020 New Revision: 360121 URL: https://svnweb.freebsd.org/changeset/base/360121 Log: Only skip sys.netinet.socket_afinet.socket_afinet_bind_zero in CI env Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netinet/socket_afinet.c Modifi

svn commit: r360120 - head/tests/sys/netinet

2020-04-20 Thread Li-Wen Hsu
Author: lwhsu Date: Mon Apr 20 14:18:56 2020 New Revision: 360120 URL: https://svnweb.freebsd.org/changeset/base/360120 Log: Temporarily disable sys.netinet.divert.* on i386 PR: 244703 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netinet/divert.sh Modified:

svn commit: r360119 - head/sys/compat/linuxkpi/common/include/linux

2020-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 20 14:03:05 2020 New Revision: 360119 URL: https://svnweb.freebsd.org/changeset/base/360119 Log: Implement aligned LinuxKPI types for u16, u32 and u64. Makes a difference for 32-bit platforms mostly. MFC after:1 week Sponsored by: Mellanox Technologies

svn commit: r360118 - head/sys/compat/linuxkpi/common/include/linux

2020-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 20 13:47:15 2020 New Revision: 360118 URL: https://svnweb.freebsd.org/changeset/base/360118 Log: Allow test_bit() in the LinuxKPI to accept a const pointer. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common

svn commit: r360117 - head/sbin/nvmecontrol

2020-04-20 Thread Alexander Motin
Author: mav Date: Mon Apr 20 13:47:07 2020 New Revision: 360117 URL: https://svnweb.freebsd.org/changeset/base/360117 Log: Open device with O_RDONLY when command is non-invasive. This allows to use some of the subcommands against mounted nvd devices. MFC after:1 week Sponsored by

svn commit: r360116 - in head: sys/netgraph/bluetooth/hci sys/netgraph/bluetooth/include usr.sbin/bluetooth/hccontrol

2020-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 20 13:44:14 2020 New Revision: 360116 URL: https://svnweb.freebsd.org/changeset/base/360116 Log: Substitute le_read_supported_status with le_read_supported_states. Refer to bluetooth core v5.2 specifications Vol4. Part E. 7.8.27. PR: 245763 Submi

svn commit: r360115 - head/sys/compat/linuxkpi/common/include/linux

2020-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 20 13:36:01 2020 New Revision: 360115 URL: https://svnweb.freebsd.org/changeset/base/360115 Log: Allow the ERR_CAST() function in the LinuxKPI to take a const void pointer. No functional change. MFC after:1 week Sponsored by: Mellanox Technologies Mod

svn commit: r360114 - stable/12/sys/dev/sound/pci/hda

2020-04-20 Thread Mark Johnston
Author: markj Date: Mon Apr 20 13:19:23 2020 New Revision: 360114 URL: https://svnweb.freebsd.org/changeset/base/360114 Log: MFC r359894: snd_hda(4): Recognize the ALC257 codec. PR: 245524 Modified: stable/12/sys/dev/sound/pci/hda/hdac.h stable/12/sys/dev/sound/pci/hda/hdacc.c Dire

svn commit: r360113 - stable/12/sys/kern

2020-04-20 Thread Mark Johnston
Author: markj Date: Mon Apr 20 13:18:36 2020 New Revision: 360113 URL: https://svnweb.freebsd.org/changeset/base/360113 Log: MFC r359893: Fix sendto() on unconnected SOCK_STREAM/SEQPACKET unix sockets. Modified: stable/12/sys/kern/uipc_usrreq.c Directory Properties: stable/12/ (props ch

svn commit: r360112 - stable/11/usr.sbin/jail

2020-04-20 Thread Eugene Grosbein
Author: eugen Date: Mon Apr 20 08:15:36 2020 New Revision: 360112 URL: https://svnweb.freebsd.org/changeset/base/360112 Log: MFC r360040: jail(8): improve manual and usage information with more clear description for "jail -e" mode to show that it does not take additional jail name argument.

svn commit: r360111 - stable/12/usr.sbin/jail

2020-04-20 Thread Eugene Grosbein
Author: eugen Date: Mon Apr 20 08:12:40 2020 New Revision: 360111 URL: https://svnweb.freebsd.org/changeset/base/360111 Log: MFC r360040: jail(8): improve manual and usage information with more clear description for "jail -e" mode to show that it does not take additional jail name argument.