svn commit: r361960 - head/contrib/wpa/src/wps

2020-06-08 Thread Cy Schubert
Author: cy Date: Tue Jun 9 05:43:51 2020 New Revision: 361960 URL: https://svnweb.freebsd.org/changeset/base/361960 Log: Post CVE-2020-12695 cleanup patch: Resolve a Linuxism to fix the build. MFC after:3 days X-MFC with: r361957, r361958, r361959 Modified: head/contrib/wpa

svn commit: r361959 - head/contrib/wpa/src/wps

2020-06-08 Thread Cy Schubert
Author: cy Date: Tue Jun 9 05:39:37 2020 New Revision: 361959 URL: https://svnweb.freebsd.org/changeset/base/361959 Log: MFV r361938: Upstream commit message: [PATCH 3/3] WPS UPnP: Handle HTTP initiation failures for events more properly While it is appropriate to try to retran

svn commit: r361958 - head/contrib/wpa/src/wps

2020-06-08 Thread Cy Schubert
Author: cy Date: Tue Jun 9 05:38:12 2020 New Revision: 361958 URL: https://svnweb.freebsd.org/changeset/base/361958 Log: MFV r361937: Upstream commit message: [PATCH 2/3] WPS UPnP: Fix event message generation using a long URL path More than about 700 character URL ended up overf

svn commit: r361957 - head/contrib/wpa/src/wps

2020-06-08 Thread Cy Schubert
Author: cy Date: Tue Jun 9 05:35:38 2020 New Revision: 361957 URL: https://svnweb.freebsd.org/changeset/base/361957 Log: MFV r361936: Upstream commit message: [PATCH 1/3] WPS UPnP: Do not allow event subscriptions with URLs to other networks The UPnP Device Architecture 2.0 spe

svn commit: r361956 - head/usr.sbin/mountd

2020-06-08 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 9 05:01:23 2020 New Revision: 361956 URL: https://svnweb.freebsd.org/changeset/base/361956 Log: Fix a bug where XU_NGROUPS + 1 groups might be copied. r361780 fixed the code so that it would only remove the duplicate when it actually existed. However, that

svn commit: r361945 - head/sys/compat/linux

2020-06-08 Thread Mark Johnston
Author: markj Date: Mon Jun 8 22:29:52 2020 New Revision: 361945 URL: https://svnweb.freebsd.org/changeset/base/361945 Log: Stop computing a "sharedram" value when emulating Linux sysinfo(2). The previous code was computing an incorrect value in a very expensive manner. "sharedram" is s

svn commit: r361944 - in head/sys/dev/virtio: . network

2020-06-08 Thread Jessica Clarke
Author: jrtc27 Date: Mon Jun 8 21:51:36 2020 New Revision: 361944 URL: https://svnweb.freebsd.org/changeset/base/361944 Log: virtio: Support non-legacy network device and queue The non-legacy interface always defines num_buffers in the header, regardless of whether VIRTIO_NET_F_MRG_RXBUF

svn commit: r361943 - head/sys/dev/virtio/mmio

2020-06-08 Thread Jessica Clarke
Author: jrtc27 Date: Mon Jun 8 21:49:42 2020 New Revision: 361943 URL: https://svnweb.freebsd.org/changeset/base/361943 Log: virtio_mmio: Negotiate the upper half of the feature bits too The feature bits are exposed as a 32-bit register with 2 banks, so we should negotiate both halves. N

svn commit: r361940 - head/usr.bin/mkimg

2020-06-08 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Mon Jun 8 21:11:34 2020 New Revision: 361940 URL: https://svnweb.freebsd.org/changeset/base/361940 Log: Use Fl instead of Ar for long flags Also, bump date after r361935. MFC after:1 week Modified: head/usr.bin/mkimg/mkimg.1 Modified: he

svn commit: r361939 - in head/sys: cam/ctl dev/iscsi

2020-06-08 Thread Alexander Motin
Author: mav Date: Mon Jun 8 20:53:57 2020 New Revision: 361939 URL: https://svnweb.freebsd.org/changeset/base/361939 Log: Implement zero-copy iSCSI target transmission/read. Add ICL_NOCOPY flag to icl_pdu_append_data(), specifying that the method can just reference the data buffer instea

svn commit: r361935 - in head/usr.bin/mkimg: . tests

2020-06-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Jun 8 20:28:32 2020 New Revision: 361935 URL: https://svnweb.freebsd.org/changeset/base/361935 Log: Add VHDX support to mkimg(1) VHDX is the successor of Microsoft's VHD file format. It increases maximum capacity of the virtual drive to 64TB and introduces feature

svn commit: r361934 - head/sys/netinet

2020-06-08 Thread Michael Tuexen
Author: tuexen Date: Mon Jun 8 20:23:20 2020 New Revision: 361934 URL: https://svnweb.freebsd.org/changeset/base/361934 Log: Whitespace cleanups and removal of a stale comment. MFC after:1 week Modified: head/sys/netinet/sctp_pcb.c head/sys/netinet/sctp_sysctl.c head/sys

svn commit: r361933 - head/stand/common

2020-06-08 Thread Simon J. Gerraty
Author: sjg Date: Mon Jun 8 18:13:38 2020 New Revision: 361933 URL: https://svnweb.freebsd.org/changeset/base/361933 Log: loader: install allow for more complete device spec in url Rework to simplify and impose sane url syntax. That is we allow for file://[devname[:fstype]]/package

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

2020-06-08 Thread Jessica Clarke
Author: jrtc27 Date: Mon Jun 8 17:57:21 2020 New Revision: 361932 URL: https://svnweb.freebsd.org/changeset/base/361932 Log: riscv: Use SBI shutdown call to implement RB_POWEROFF Currently we only call sbi_shutdown in cpu_reset, which means we reach "Please press any key to reboot." even

Re: svn commit: r361587 - in head/sys/riscv: include riscv

2020-06-08 Thread Mitchell Horne
On Thu, May 28, 2020 at 11:56 AM Mitchell Horne wrote: > > Author: mhorne > Date: Thu May 28 14:56:11 2020 > New Revision: 361587 > URL: https://svnweb.freebsd.org/changeset/base/361587 > > Log: > Add macros simplifying the fake preload setup > > This is in preparation for booting via loader(8

svn commit: r361931 - head/sys/sys

2020-06-08 Thread Gleb Smirnoff
Author: glebius Date: Mon Jun 8 17:40:39 2020 New Revision: 361931 URL: https://svnweb.freebsd.org/changeset/base/361931 Log: Move MPASS() macros to systm.h. They are widely used all over the kernel and aren't contained only to the locking code. Reviewed by: kib, mjg Differential Rev

svn commit: r361930 - head/usr.sbin/crashinfo

2020-06-08 Thread Ed Maste
Author: emaste Date: Mon Jun 8 16:11:44 2020 New Revision: 361930 URL: https://svnweb.freebsd.org/changeset/base/361930 Log: crashinfo: stop looking for gdb in /usr/bin/gdb As of r359457 we removed the GDB_LIBEXEC option, always installing in-tree gdb into /usr/libexec/. Thus, there is

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

2020-06-08 Thread Randall Stewart
Author: rrs Date: Mon Jun 8 11:48:07 2020 New Revision: 361926 URL: https://svnweb.freebsd.org/changeset/base/361926 Log: An important statistic in determining if a server process (or client) is being delayed is to know the time to first byte in and time to first byte out. Currently we hav

svn commit: r361920 - head/share/man/man5

2020-06-08 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Mon Jun 8 09:33:45 2020 New Revision: 361920 URL: https://svnweb.freebsd.org/changeset/base/361920 Log: Document that /lib is always in the list of shared library paths /lib was added to the list in r119011. MFC after:1 week Modified: hea

svn commit: r361905 - in head/sys/riscv: include riscv

2020-06-08 Thread Alex Richardson
Author: arichardson Date: Mon Jun 8 08:52:02 2020 New Revision: 361905 URL: https://svnweb.freebsd.org/changeset/base/361905 Log: RISC-V: Check that the DTB doesn't overlap with kernel This can happen with very large kernels (e.g. ones embedding a root filesystem). The DTB written by Ope

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

2020-06-08 Thread Alex Richardson
Author: arichardson Date: Mon Jun 8 08:51:52 2020 New Revision: 361903 URL: https://svnweb.freebsd.org/changeset/base/361903 Log: RISC-V: handle DTB aligned to less than 2MB By default OpenSBI and BBL will pass the DTB at a 2MB-aligned address. However, by default there are no 2MB aligne

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

2020-06-08 Thread Alex Richardson
Author: arichardson Date: Mon Jun 8 08:51:57 2020 New Revision: 361904 URL: https://svnweb.freebsd.org/changeset/base/361904 Log: sys/riscv: Remove debug printfs They are only visible with EARLY_PRINTF so don't show up by default. Reviewed By: mhorne Differential Revision: https://