svn commit: r360187 - head/usr.sbin/bhyve

2020-04-21 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Apr 22 06:32:51 2020 New Revision: 360187 URL: https://svnweb.freebsd.org/changeset/base/360187 Log: Improve formatting of synopsis section This patch is about sorting the arguments and using proper mdoc(7) macros to stylize arguments and comman

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

2020-04-21 Thread Kyle Evans
Author: kevans Date: Wed Apr 22 04:05:02 2020 New Revision: 360183 URL: https://svnweb.freebsd.org/changeset/base/360183 Log: kqueue(2): de-vandalize the random sentence in the middle A last minute change appears to have inadvertently vandalized unrelated parts of the manpage with the dat

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

2020-04-21 Thread Kyle Evans
Author: kevans Date: Wed Apr 22 03:45:52 2020 New Revision: 360182 URL: https://svnweb.freebsd.org/changeset/base/360182 Log: kqueue(2): add a note about EV_RECEIPT In the below-referenced PR, a case is attached of a simple reproducer that exhibits suboptimal behavior: EVFILT_READ and EVF

svn commit: r360181 - in head/sys: arm64/broadcom/genet arm64/conf arm64/include conf

2020-04-21 Thread Mike Karels
Author: karels Date: Wed Apr 22 00:42:10 2020 New Revision: 360181 URL: https://svnweb.freebsd.org/changeset/base/360181 Log: Add genet driver for Raspberry Pi 4B Ethernet Add driver for Broadcom "GENET" version 5, as found in BCM-2711 on Raspberry Pi 4B. The driver is derived in part fro

svn commit: r360180 - in head/sys/netinet: . tcp_stacks

2020-04-21 Thread Richard Scheffenegger
Author: rscheff Date: Wed Apr 22 00:16:42 2020 New Revision: 360180 URL: https://svnweb.freebsd.org/changeset/base/360180 Log: revert rS360143 - Correctly set up initial cwnd due to syzkaller panics found Reported by: tuexen Approved by: tuexen (mentor) Sponsored by: NetApp, Inc.

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

2020-04-21 Thread John Baldwin
Author: jhb Date: Tue Apr 21 23:38:54 2020 New Revision: 360179 URL: https://svnweb.freebsd.org/changeset/base/360179 Log: Don't pass a user buffer pointer as the data pointer in a CCB. Allocate a temporary buffer in the kernel to serve as the CCB data pointer for a pass-through transacti

svn commit: r360178 - head/lib/libvmmapi

2020-04-21 Thread John Baldwin
Author: jhb Date: Tue Apr 21 21:48:35 2020 New Revision: 360178 URL: https://svnweb.freebsd.org/changeset/base/360178 Log: Map negative types passed to vm_capability_type2name to NULL. Submitted by: vangyzen Modified: head/lib/libvmmapi/vmmapi.c Modified: head/lib/libvmmapi/vmmapi.c ===

svn commit: r360177 - head/sys/amd64/vmm

2020-04-21 Thread Conrad Meyer
Author: cem Date: Tue Apr 21 21:34:24 2020 New Revision: 360177 URL: https://svnweb.freebsd.org/changeset/base/360177 Log: vmm(4): Decode and emulate BEXTR Clang 10 -march=native kernels on znver1 emit BEXTR for APIC reads, apparently. Decode and emulate the instruction. Reviewed by

svn commit: r360176 - in head/sys/amd64: include vmm

2020-04-21 Thread Conrad Meyer
Author: cem Date: Tue Apr 21 21:33:06 2020 New Revision: 360176 URL: https://svnweb.freebsd.org/changeset/base/360176 Log: vmm(4): Decode 3-byte VEX-prefixed instructions Reviewed by: grehan Differential Revision:https://reviews.freebsd.org/D24462 Modified: head/sys/amd64/incl

svn commit: r360175 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto/aes crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/ec crypto/openssl/crypto/evp c...

2020-04-21 Thread Jung-uk Kim
Author: jkim Date: Tue Apr 21 19:38:32 2020 New Revision: 360175 URL: https://svnweb.freebsd.org/changeset/base/360175 Log: Merge OpenSSL 1.1.1g. Added: head/crypto/openssl/doc/man3/X509_check_purpose.pod - copied unchanged from r360173, vendor-crypto/openssl/dist/doc/man3/X509_check_pu

svn commit: r360172 - head/usr.sbin/bluetooth/hccontrol

2020-04-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 21 17:51:54 2020 New Revision: 360172 URL: https://svnweb.freebsd.org/changeset/base/360172 Log: Update string tables in hccontrol(8). Submitted by: Marc Veldman PR: 245796 MFC after:1 week Sponsored by: Mellanox Technologies Modified:

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

2020-04-21 Thread John Baldwin
Author: jhb Date: Tue Apr 21 17:47:05 2020 New Revision: 360171 URL: https://svnweb.freebsd.org/changeset/base/360171 Log: Don't access a user buffer directly from the kernel. The handle_string callback for the ENCIOC_SETSTRING ioctl was passing a user pointer to memcpy(). Fix by using c

svn commit: r360170 - head/sys/ufs/ffs

2020-04-21 Thread John Baldwin
Author: jhb Date: Tue Apr 21 17:42:32 2020 New Revision: 360170 URL: https://svnweb.freebsd.org/changeset/base/360170 Log: Retire two unused background fsck sysctls. These two sysctls were added to support UFS softupdates journalling with snapshots. However, the changes to fsck to use th

svn commit: r360169 - head/lib/libc/riscv/gen

2020-04-21 Thread John Baldwin
Author: jhb Date: Tue Apr 21 17:40:23 2020 New Revision: 360169 URL: https://svnweb.freebsd.org/changeset/base/360169 Log: Check the magic value in longjmp() before calling sigprocmask(). This avoids passing garbage to sigprocmask() if the jump buffer is invalid. Reviewed by: mhorne

svn commit: r360168 - in head/sys: cddl/dev/dtrace/mips mips/mips

2020-04-21 Thread John Baldwin
Author: jhb Date: Tue Apr 21 17:38:07 2020 New Revision: 360168 URL: https://svnweb.freebsd.org/changeset/base/360168 Log: Handle non-dtrace-triggered kernel breakpoint traps in mips. If DTRACE is enabled at compile time, all kernel breakpoint traps are first given to dtrace to see if the

svn commit: r360167 - head/libexec/tftpd

2020-04-21 Thread John Baldwin
Author: jhb Date: Tue Apr 21 17:32:57 2020 New Revision: 360167 URL: https://svnweb.freebsd.org/changeset/base/360167 Log: Abort transfer if fseeko() fails. CID: 1420215 Reviewed by: asomers MFC after:1 week Sponsored by: DARPA Differential Revision:https://rev

svn commit: r360166 - head/lib/libvmmapi

2020-04-21 Thread John Baldwin
Author: jhb Date: Tue Apr 21 17:30:56 2020 New Revision: 360166 URL: https://svnweb.freebsd.org/changeset/base/360166 Log: Add description string for VM_CAP_BPT_EXIT. While here, replace the array of mapping structures with an array of string pointers where the index is the capability val

svn commit: r360165 - head/share/man/man4

2020-04-21 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Apr 21 17:17:32 2020 New Revision: 360165 URL: https://svnweb.freebsd.org/changeset/base/360165 Log: Also update est(4) as r360162 and r360164 MFC after:3 days Modified: head/share/man/man4/est.4 Modified: head/share/man/man4/est.4 ===

svn commit: r360164 - head/share/man/man4

2020-04-21 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Apr 21 17:14:08 2020 New Revision: 360164 URL: https://svnweb.freebsd.org/changeset/base/360164 Log: Update .Dd Modified: head/share/man/man4/hwpstate_intel.4 Modified: head/share/man/man4/hwpstate_intel.4 ==

svn commit: r360163 - in head/sys: kern sys

2020-04-21 Thread Mark Johnston
Author: markj Date: Tue Apr 21 17:13:06 2020 New Revision: 360163 URL: https://svnweb.freebsd.org/changeset/base/360163 Log: Handle PCATCH in blockcount_sleep() so it can be interrupted. blockcount_wait() still unconditionally waits for the count to reach zero before returning. Teste

svn commit: r360162 - head/share/man/man4

2020-04-21 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Apr 21 17:07:02 2020 New Revision: 360162 URL: https://svnweb.freebsd.org/changeset/base/360162 Log: hwpstate_intel(4): small text tweaks The sysctl output looks like this: dev.hwpstate_intel.0.epp: 50 dev.hwpstate_intel.0.%parent: cpu0 dev.hwpstate_intel.0.

svn commit: r360155 - head/sys/sys

2020-04-21 Thread Kyle Evans
Author: kevans Date: Tue Apr 21 16:13:22 2020 New Revision: 360155 URL: https://svnweb.freebsd.org/changeset/base/360155 Log: kevent32: fix the split of data into data1/data2 The current situation results in intermittent breakage if data gets split up with the sign bit set on the data1 ha

svn commit: r360154 - head/sys/vm

2020-04-21 Thread Mark Johnston
Author: markj Date: Tue Apr 21 16:01:44 2020 New Revision: 360154 URL: https://svnweb.freebsd.org/changeset/base/360154 Log: Factor out the kmem contig page alloc and reclamation code. kmem_alloc_attr_domain() and kmem_alloc_contig_domain() duplicated each other's page allocation and recl

svn commit: r360153 - head/sys/vm

2020-04-21 Thread Mark Johnston
Author: markj Date: Tue Apr 21 15:55:28 2020 New Revision: 360153 URL: https://svnweb.freebsd.org/changeset/base/360153 Log: Minimize conditional compilation for handling of M_EXEC. This simplifies some planned changes. No functional change intended. Reviewed by: kib MFC after:

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

2020-04-21 Thread Alex Richardson
Author: arichardson Date: Tue Apr 21 15:55:08 2020 New Revision: 360152 URL: https://svnweb.freebsd.org/changeset/base/360152 Log: Remove extern from function declarations in common.h Suggested by: cem Modified: head/tests/sys/kqueue/libkqueue/common.h Modified: head/tests/sys/kqueue/li

svn commit: r360146 - head/crypto/openssl/ssl

2020-04-21 Thread Gordon Tetlow
Author: gordon Date: Tue Apr 21 15:44:20 2020 New Revision: 360146 URL: https://svnweb.freebsd.org/changeset/base/360146 Log: Fix OpenSSL remote denial of service. See https://www.openssl.org/news/secadv/20200421.txt for details. Approved by: so Security: CVE-2020-1967

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

2020-04-21 Thread Justin Hibbits
On Mon, 20 Apr 2020 22:13:51 +0300 Vladimir Kondratyev wrote: > 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 ex

svn commit: r360145 - head/sys/fs/autofs

2020-04-21 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Apr 21 13:57:51 2020 New Revision: 360145 URL: https://svnweb.freebsd.org/changeset/base/360145 Log: Silence down a warning which should really be a debug message. MFC after:2 weeks Sponsored by: DARPA Modified: head/sys/fs/autofs/autofs_vfsops.c Modified:

svn commit: r360144 - head/contrib/blacklist/bin

2020-04-21 Thread Ed Maste
Author: emaste Date: Tue Apr 21 13:30:00 2020 New Revision: 360144 URL: https://svnweb.freebsd.org/changeset/base/360144 Log: blacklistd.8: fix db file path PR: 245781 Submitted by: Jose Luis Duran MFC after:3 days Modified: head/contrib/blacklist/bin/blacklistd.8 Modi

svn commit: r360143 - in head/sys/netinet: . tcp_stacks

2020-04-21 Thread Richard Scheffenegger
Author: rscheff Date: Tue Apr 21 13:05:44 2020 New Revision: 360143 URL: https://svnweb.freebsd.org/changeset/base/360143 Log: Correctly set up the initial TCP congestion window in all cases, by adjust snd_una right after the connection initialization, to include the one byte in sequence s

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

2020-04-21 Thread Kristof Provost
On 21 Apr 2020, at 4:34, Kyle Evans wrote: 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 addr