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

2020-04-14 Thread Conrad Meyer
Author: cem Date: Wed Apr 15 05:55:14 2020 New Revision: 359959 URL: https://svnweb.freebsd.org/changeset/base/359959 Log: bhyve(8): Correct copyright boilerplate for r359950 Use the text from the canonical sys/copyright.h 2-clause FreeBSD License. Reported by: grehan (thanks!)

svn commit: r359954 - head/sys/sys

2020-04-14 Thread Kyle Evans
Author: kevans Date: Wed Apr 15 04:03:46 2020 New Revision: 359954 URL: https://svnweb.freebsd.org/changeset/base/359954 Log: sys/types.h: adjust #endif comment to match reality Submitted by: sigsys gmail com Modified: head/sys/sys/types.h Modified: head/sys/sys/types.h

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

2020-04-14 Thread Kyle Evans
Author: kevans Date: Wed Apr 15 03:59:26 2020 New Revision: 359953 URL: https://svnweb.freebsd.org/changeset/base/359953 Log: kern uuid: break format validation out into a separate KPI This new KPI, validate_uuid, strictly validates the formatting of the input UUID and, optionally,

svn commit: r359952 - head/sys/dev/cxgbe/iw_cxgbe

2020-04-14 Thread Navdeep Parhar
Author: np Date: Wed Apr 15 03:40:33 2020 New Revision: 359952 URL: https://svnweb.freebsd.org/changeset/base/359952 Log: cxgbe/iw_cxgbe: Do not start the EP timer if soaccept fails. This fixes a panic that would occur when the timer tried to close a stale socket. Submitted by:

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

2020-04-14 Thread Conrad Meyer
Author: cem Date: Wed Apr 15 02:34:44 2020 New Revision: 359951 URL: https://svnweb.freebsd.org/changeset/base/359951 Log: bhyve(8): Minor cosmetic niceties in instemul failure Print the failed instruction stream as a contiguous stream of hex. This is closer to something you could throw

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

2020-04-14 Thread Conrad Meyer
Author: cem Date: Wed Apr 15 02:00:17 2020 New Revision: 359950 URL: https://svnweb.freebsd.org/changeset/base/359950 Log: bhyve(8): Add VM Generation Counter ACPI device Add an implementatation of the 'Virtual Machine Generation ID' spec to Bhyve. The spec provides a randomly generated

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

2020-04-14 Thread Conrad Meyer
Author: cem Date: Wed Apr 15 01:58:51 2020 New Revision: 359949 URL: https://svnweb.freebsd.org/changeset/base/359949 Log: bhyve(8): Add bootrom allocation abstraction To allow more general use of the bootrom region, separate initialization from allocation, and allocation from loading a

svn commit: r359948 - head/share/man/man9

2020-04-14 Thread Conrad Meyer
Author: cem Date: Wed Apr 15 01:39:17 2020 New Revision: 359948 URL: https://svnweb.freebsd.org/changeset/base/359948 Log: bus_dma.9: Remove erroneous usage recommendation It is not valid to pass BUS_SPACE_UNRESTRICTED to bus_dma_tag_create()'s nsegments parameter as it is interpreted as

Re: svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-14 Thread Xin Li via svn-src-head
On 4/14/20 17:22, Alan Somers wrote: > On Tue, Apr 14, 2020 at 6:15 PM John Baldwin > wrote: > > Author: jhb > Date: Wed Apr 15 00:14:50 2020 > New Revision: 359945 > URL: https://svnweb.freebsd.org/changeset/base/359945 > > Log: >   Remove

Re: svn commit: r359944 - head/tests/sys/audit

2020-04-14 Thread Kyle Evans
On Tue, Apr 14, 2020 at 7:21 PM Alan Somers wrote: > > On Tue, Apr 14, 2020 at 5:36 PM Kyle Evans wrote: >> >> Author: kevans >> Date: Tue Apr 14 23:36:03 2020 >> New Revision: 359944 >> URL: https://svnweb.freebsd.org/changeset/base/359944 >> >> Log: >> tests: audit: mark closefrom test an

Re: svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-14 Thread Alan Somers
On Tue, Apr 14, 2020 at 6:15 PM John Baldwin wrote: > Author: jhb > Date: Wed Apr 15 00:14:50 2020 > New Revision: 359945 > URL: https://svnweb.freebsd.org/changeset/base/359945 > > Log: > Remove support for geli(4) algorithms deprecated in r348206. > > This removes support for reading and

Re: svn commit: r359944 - head/tests/sys/audit

2020-04-14 Thread Alan Somers
On Tue, Apr 14, 2020 at 5:36 PM Kyle Evans wrote: > Author: kevans > Date: Tue Apr 14 23:36:03 2020 > New Revision: 359944 > URL: https://svnweb.freebsd.org/changeset/base/359944 > > Log: > tests: audit: mark closefrom test an expected fail for now > > closefrom has been converted to

svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-14 Thread John Baldwin
Author: jhb Date: Wed Apr 15 00:14:50 2020 New Revision: 359945 URL: https://svnweb.freebsd.org/changeset/base/359945 Log: Remove support for geli(4) algorithms deprecated in r348206. This removes support for reading and writing volumes using the following algorithms: - Triple DES

svn commit: r359944 - head/tests/sys/audit

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 23:36:03 2020 New Revision: 359944 URL: https://svnweb.freebsd.org/changeset/base/359944 Log: tests: audit: mark closefrom test an expected fail for now closefrom has been converted to close_range internally; remediation is underway for this, marking it as

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

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 23:24:24 2020 New Revision: 359943 URL: https://svnweb.freebsd.org/changeset/base/359943 Log: closefrom: clamp lowfd to >= 0; close_range's parameters are unsigned. Pointy hat: kevans Reported by: CI (lwhsu) Modified: head/lib/libc/sys/closefrom.c

svn commit: r359942 - in head/sys: netinet netinet6

2020-04-14 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 14 23:06:25 2020 New Revision: 359942 URL: https://svnweb.freebsd.org/changeset/base/359942 Log: Convert IP/IPv6 forwarding, ICMP processing and IP PCB laddr selection to the new routing KPI. Reviewed by: ae Differential Revision:

svn commit: r359941 - in head/sys/fs: nfsclient nfsserver

2020-04-14 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 14 22:57:21 2020 New Revision: 359941 URL: https://svnweb.freebsd.org/changeset/base/359941 Log: Fix the NFSv2 extended attribute support to handle 0 length attributes. I did not realize that zero length attributes are allowed, but they are. This patch

svn commit: r359940 - in head/sys: net netinet6

2020-04-14 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 14 22:48:33 2020 New Revision: 359940 URL: https://svnweb.freebsd.org/changeset/base/359940 Log: Reorganise nd6 notification code to avoid direct rtentry field access. One of the goals of the new routing KPI defined in r359823 is to entirely hide `struct

Re: svn commit: r359937 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 compat/linux dev/ipmi dev/mpr dev/mps dev/mpt i386/linux kern sys

2020-04-14 Thread Brooks Davis
On Tue, Apr 14, 2020 at 03:08:24PM -0700, Conrad Meyer wrote: > Brooks, > > On Tue, Apr 14, 2020 at 13:31 Brooks Davis wrote: > > > Author: brooks > > Date: Tue Apr 14 20:30:48 2020 > > New Revision: 359937 > > URL: https://svnweb.freebsd.org/changeset/base/359937 > > > > Log: > > Centralize

svn commit: r359939 - head/sys/modules/dtb/allwinner

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 22:16:40 2020 New Revision: 359939 URL: https://svnweb.freebsd.org/changeset/base/359939 Log: modules: dtb: allwinner: Remove sun50i-a64-sid.dtso File was removed in r359935 MFC after:2 month X-MFC-With: r359935 Modified:

Re: svn commit: r359937 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 compat/linux dev/ipmi dev/mpr dev/mps dev/mpt i386/linux kern sys

2020-04-14 Thread Conrad Meyer
Brooks, On Tue, Apr 14, 2020 at 13:31 Brooks Davis wrote: > Author: brooks > Date: Tue Apr 14 20:30:48 2020 > New Revision: 359937 > URL: https://svnweb.freebsd.org/changeset/base/359937 > > Log: > Centralize compatability translation macros. > > Copy the CP, PTRIN, etc macros from

svn commit: r359938 - in head/sys: compat/freebsd32 kern

2020-04-14 Thread Brooks Davis
Author: brooks Date: Tue Apr 14 20:53:12 2020 New Revision: 359938 URL: https://svnweb.freebsd.org/changeset/base/359938 Log: Remove bogus use of useracc() in (clock_)nanosleep. There's no point in pre-checking that we can access the user's rmtp pointer before we do it in copyout().

svn commit: r359937 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 compat/linux dev/ipmi dev/mpr dev/mps dev/mpt i386/linux kern sys

2020-04-14 Thread Brooks Davis
Author: brooks Date: Tue Apr 14 20:30:48 2020 New Revision: 359937 URL: https://svnweb.freebsd.org/changeset/base/359937 Log: Centralize compatability translation macros. Copy the CP, PTRIN, etc macros from freebsd32.h into a sys/abi_compat.h and replace existing definitation with

svn commit: r359936 - head/sys/modules/dtb/allwinner

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 20:20:08 2020 New Revision: 359936 URL: https://svnweb.freebsd.org/changeset/base/359936 Log: modules: dtb: allwinner: Remove non existant files Those files have been removed in r359935. MFC after:2 months X-MFC-With: r359935 Modified:

svn commit: r359935 - in head: . sys/arm/allwinner sys/dts/arm/overlays sys/dts/arm64/overlays

2020-04-14 Thread Emmanuel Vadot
ot;ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20200414: + Upstream DTS from Linux 5.6 was merged and they now have the SID + and THS (Secure ID controller and THermal Sensor) node present. + The DTB overlays have now been removed from the tree for the H3/H5 and +

svn commit: r359934 - in head/sys/gnu/dts: arm arm64/allwinner arm64/altera arm64/amlogic arm64/arm arm64/bitmain arm64/exynos arm64/freescale arm64/hisilicon arm64/intel arm64/marvell arm64/mediat...

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 18:57:00 2020 New Revision: 359934 URL: https://svnweb.freebsd.org/changeset/base/359934 Log: dts: Import DTS from Linux 5.6 Added: head/sys/gnu/dts/arm/am3703.dtsi - copied unchanged from r359928, vendor/device-tree/dist/src/arm/am3703.dtsi

svn commit: r359931 - in head/sys: compat/freebsd32 kern sys

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 18:11:26 2020 New Revision: 359931 URL: https://svnweb.freebsd.org/changeset/base/359931 Log: sysent: re-roll after r359930 Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c

svn commit: r359932 - head/sys/conf

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 18:11:54 2020 New Revision: 359932 URL: https://svnweb.freebsd.org/changeset/base/359932 Log: files: Add mmc_fdt_helpers for mmccam enabled config MFC after:1 month X-MFC-With: r359924 Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r359930 - in head: lib/libc/include lib/libc/sys sys/compat/freebsd32 sys/kern tools/build

2020-04-14 Thread Kyle Evans
.c to .cpp clean_dep lib/libomp ittnotify_static c +# 20200414 r359930 closefrom +clean_dep lib/libc closefrom S ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r359927 - head/sys/dev/mmc/host

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 16:35:18 2020 New Revision: 359927 URL: https://svnweb.freebsd.org/changeset/base/359927 Log: arm: dwmmc: Use mmc_fdt_helpers Use the mmc_fdt_parse function instead of parsing everything in the driver. MFC after:1 month Modified:

svn commit: r359926 - head/sys/netinet

2020-04-14 Thread Michael Tuexen
Author: tuexen Date: Tue Apr 14 16:35:05 2020 New Revision: 359926 URL: https://svnweb.freebsd.org/changeset/base/359926 Log: Improve the TCP blackhole detection. The principle is to reduce the MSS in two steps and try each candidate two times. However, if two candidates are the same (which

svn commit: r359925 - head/sys/arm/allwinner

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 16:34:13 2020 New Revision: 359925 URL: https://svnweb.freebsd.org/changeset/base/359925 Log: arm: allwinner: aw_mmc: Use the mmc_fdt_helper The fdt properties are now parsed via the help of mmc_fdt_helper functions. This also adds card detection. Note

svn commit: r359924 - in head/sys: conf dev/mmc

2020-04-14 Thread Emmanuel Vadot
Author: manu Date: Tue Apr 14 16:30:54 2020 New Revision: 359924 URL: https://svnweb.freebsd.org/changeset/base/359924 Log: Those functions are here to help fdt mmc controller drivers to parse the dts to find the supported speeds and the regulators. Not all DTS have every settings properly

svn commit: r359923 - in head: lib/libc/sys sys/kern sys/sys

2020-04-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Apr 14 15:38:18 2020 New Revision: 359923 URL: https://svnweb.freebsd.org/changeset/base/359923 Log: Make sonewconn() overflow messages have per-socket rate-limits and values. sonewconn() emits debug-level messages when a listen socket's queue overflows. Currently,

svn commit: r359922 - head/sys/kern

2020-04-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Apr 14 15:30:34 2020 New Revision: 359922 URL: https://svnweb.freebsd.org/changeset/base/359922 Log: Print more detail as part of the sonewconn() overflow message. When a socket's listen queue overflows, sonewconn() emits a debug-level log message. These messages

svn commit: r359921 - head/sys/sys

2020-04-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Apr 14 15:27:24 2020 New Revision: 359921 URL: https://svnweb.freebsd.org/changeset/base/359921 Log: Make the path length of UNIX domain sockets specified by a #define. Also, add a comment describing the historical context for this length. Reviewed by: bz, jhb,

svn commit: r359920 - head/sys/sys

2020-04-14 Thread Andrew Gallatin
Author: gallatin Date: Tue Apr 14 14:48:00 2020 New Revision: 359920 URL: https://svnweb.freebsd.org/changeset/base/359920 Log: Bump FreeBSD version after r359919 (KTLS / unmapped mbuf changes) The above changes mbufs, and any module using unmapped mbufs would need to be re-compiled.

svn commit: r359919 - in head/sys: dev/cxgbe dev/cxgbe/crypto dev/cxgbe/tom dev/mlx5/mlx5_en kern netinet netinet6 sys

2020-04-14 Thread Andrew Gallatin
Author: gallatin Date: Tue Apr 14 14:46:06 2020 New Revision: 359919 URL: https://svnweb.freebsd.org/changeset/base/359919 Log: KTLS: Re-work unmapped mbufs to carry ext_pgs in the mbuf itself. While the original implementation of unmapped mbufs was a large step forward in terms of

svn commit: r359918 - in head: sys/kern tests/sys/kern

2020-04-14 Thread Kyle Evans
Author: kevans Date: Tue Apr 14 13:32:03 2020 New Revision: 359918 URL: https://svnweb.freebsd.org/changeset/base/359918 Log: posixshm: fix counting of writable mappings Similar to mmap'ing vnodes, posixshm should count any mapping where maxprot contains VM_PROT_WRITE (i.e. fd opened r/w

Re: svn commit: r359823 - in head: etc/mtree include lib/libc/gen sys/conf sys/net sys/net/route sys/netinet sys/netinet6 sys/sys usr.bin/netstat

2020-04-14 Thread Alexander V . Chernikov
14.04.2020, 13:25, "Hans Petter Selasky" : > Hi, Hi Hans, Thank you! Indeed, the check slipped through the cracks while merging the code. Should be fixed by r359917. I'll add the testcases to cover that later today. > > It looks like you need to add some NULL checks: > >>  diff --git

svn commit: r359917 - in head/sys: netinet netinet6

2020-04-14 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 14 13:12:22 2020 New Revision: 359917 URL: https://svnweb.freebsd.org/changeset/base/359917 Log: Plug netmask NULL check during route addition causing kernel panic. This bug was introduced by the r359823. Reported by: hselasky Modified:

Re: svn commit: r359823 - in head: etc/mtree include lib/libc/gen sys/conf sys/net sys/net/route sys/netinet sys/netinet6 sys/sys usr.bin/netstat

2020-04-14 Thread Hans Petter Selasky
Hi, It looks like you need to add some NULL checks: diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c index eeb7760c5cc..5f9ae967177 100644 --- a/sys/netinet/in_rmx.c +++ b/sys/netinet/in_rmx.c @@ -103,7 +103,7 @@ rib4_preadd(u_int fibnum, const struct sockaddr *addr, const struct

svn commit: r359916 - head/sbin/umount

2020-04-14 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Tue Apr 14 10:10:31 2020 New Revision: 359916 URL: https://svnweb.freebsd.org/changeset/base/359916 Log: Improve manual page formatting - Use appropriate macros for command arguments. - Increase option list indentation for better

svn commit: r359914 - head/sys/net

2020-04-14 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Apr 14 07:38:34 2020 New Revision: 359914 URL: https://svnweb.freebsd.org/changeset/base/359914 Log: Postpone multipath seed init till SI_SUB_LAST, as it is needed only after some useland program installs multiple paths to the same destination. While here,