svn commit: r368272 - head/tests/sys/aio

2020-12-01 Thread Alan Somers
Author: asomers Date: Wed Dec 2 00:53:03 2020 New Revision: 368272 URL: https://svnweb.freebsd.org/changeset/base/368272 Log: AIO tests: update expected failure messages after r368265 PR: 220398, 251515 MFC after:1 week MFC-With: r368265 Modified:

Re: svn commit: r367714 - head/sys/kern

2020-12-01 Thread Mateusz Guzik
zoo.freebsd.org crashed with what appears to be the same bug, so I went ahead and committed the fix in r368271. On 12/1/20, Hans Petter Selasky wrote: > On 12/1/20 12:26 PM, Mateusz Guzik wrote: >> Does this fix it for you?https://people.freebsd.org/~mjg/poll.diff > > Will take some time to

Re: svn commit: r368271 - head/sys/kern

2020-12-01 Thread Mateusz Guzik
On 12/2/20, Mateusz Guzik wrote: > Author: mjg > Date: Wed Dec 2 00:48:15 2020 > New Revision: 368271 > URL: https://svnweb.freebsd.org/changeset/base/368271 > > Log: > select: make sure there are no wakeup attempts after selfdfree returns > > Prior to the patch returning selfdfree could

svn commit: r368271 - head/sys/kern

2020-12-01 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 2 00:48:15 2020 New Revision: 368271 URL: https://svnweb.freebsd.org/changeset/base/368271 Log: select: make sure there are no wakeup attempts after selfdfree returns Prior to the patch returning selfdfree could still be racing against doselwakeup which set

svn commit: r368269 - head/sys/cddl/dev/dtrace/i386

2020-12-01 Thread Konstantin Belousov
Author: kib Date: Tue Dec 1 23:51:48 2020 New Revision: 368269 URL: https://svnweb.freebsd.org/changeset/base/368269 Log: Fix syntax Modified: head/sys/cddl/dev/dtrace/i386/dtrace_isa.c Modified: head/sys/cddl/dev/dtrace/i386/dtrace_isa.c

svn commit: r368268 - head/sbin/mount_nfs

2020-12-01 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 1 23:33:10 2020 New Revision: 368268 URL: https://svnweb.freebsd.org/changeset/base/368268 Log: Improve man page for AmazonEFS mounts. PR#250770 was actually just a misunderstanding of what NFS mount options are needed for AmazonEFS mounts. This patch

svn commit: r368267 - in head: sbin/devfs share/man/man5

2020-12-01 Thread John-Mark Gurney
Author: jmg Date: Tue Dec 1 23:25:21 2020 New Revision: 368267 URL: https://svnweb.freebsd.org/changeset/base/368267 Log: add documentation that the rules need to be reloaded, and how to do it... MFC after:1 week Modified: head/sbin/devfs/devfs.8 head/share/man/man5/devfs.rules.5

svn commit: r368266 - head/stand/ficl/softwords

2020-12-01 Thread Toomas Soome
Author: tsoome Date: Tue Dec 1 23:07:05 2020 New Revision: 368266 URL: https://svnweb.freebsd.org/changeset/base/368266 Log: ficl: make dump a bit friendlier would be nice to have dump to output hex and ascii. Modified: head/stand/ficl/softwords/softcore.fr Modified:

svn commit: r368265 - head/sys/kern

2020-12-01 Thread Konstantin Belousov
Author: kib Date: Tue Dec 1 22:53:33 2020 New Revision: 368265 URL: https://svnweb.freebsd.org/changeset/base/368265 Log: lio_listio(2): send signal even if number of jobs is zero. Right now, if lio registered zero jobs, syscall frees lio job structure, cleaning up queued ksi. As

svn commit: r368264 - head/sys/kern

2020-12-01 Thread Konstantin Belousov
Author: kib Date: Tue Dec 1 22:46:51 2020 New Revision: 368264 URL: https://svnweb.freebsd.org/changeset/base/368264 Log: vfs_aio.c: style. Mostly re-wrap conditions to split after binary ops. Reviewed by: asomers Sponsored by: The FreeBSD Foundation MFC after:1 week

svn commit: r368263 - head/sys/cddl/dev/dtrace/amd64

2020-12-01 Thread Konstantin Belousov
Author: kib Date: Tue Dec 1 22:44:23 2020 New Revision: 368263 URL: https://svnweb.freebsd.org/changeset/base/368263 Log: Fix syntax Modified: head/sys/cddl/dev/dtrace/amd64/dtrace_isa.c Modified: head/sys/cddl/dev/dtrace/amd64/dtrace_isa.c

svn commit: r368262 - head/sys/kern

2020-12-01 Thread Konstantin Belousov
Author: kib Date: Tue Dec 1 22:30:32 2020 New Revision: 368262 URL: https://svnweb.freebsd.org/changeset/base/368262 Log: vfs_aio.c: correct comment. Reviewed by: asomers Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

svn commit: r368261 - head/stand/ficl

2020-12-01 Thread Toomas Soome
Author: tsoome Date: Tue Dec 1 22:28:02 2020 New Revision: 368261 URL: https://svnweb.freebsd.org/changeset/base/368261 Log: ficl: instead of pad, emit can use local variable Pad in forth is used as "scratchpad" and internal implementations should not use it. Ficl does not really follow

svn commit: r368260 - in head: libexec/rtld-elf sys/sys

2020-12-01 Thread Konstantin Belousov
Author: kib Date: Tue Dec 1 22:28:01 2020 New Revision: 368260 URL: https://svnweb.freebsd.org/changeset/base/368260 Log: rtld: bump r_debug.r_version to 1 from current 0. Add r_ldbase. Requested and reviewed by:emaste Sponsored by: The FreeBSD Foundation MFC after:1 week

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

2020-12-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Dec 1 20:27:06 2020 New Revision: 368259 URL: https://svnweb.freebsd.org/changeset/base/368259 Log: [arm64] Parse ACPI _PXM property on ARM64 platform Enable devices' NUMA proximity infromation parsing on ARM64 systems Sponsored by: Ampere Computing

svn commit: r368258 - head/sys/arm64/include

2020-12-01 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Dec 1 20:10:55 2020 New Revision: 368258 URL: https://svnweb.freebsd.org/changeset/base/368258 Log: [arm64] Bump MAXMEMDOM value to 8 to match amd64 On some of the server-grade ARM64 machines the number of NUMA domains is higher than 2. When booting GENERIC

svn commit: r368248 - head/usr.sbin/rtsold

2020-12-01 Thread Mark Johnston
Author: markj Date: Tue Dec 1 19:34:44 2020 New Revision: 368248 URL: https://svnweb.freebsd.org/changeset/base/368248 Log: rtsold: Fix multiple buffer overflows Approved by: so Security: CVE-2020-25577 MFC after:now Modified: head/usr.sbin/rtsold/rtsol.c Modified:

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

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 18:57:37 2020 New Revision: 368247 URL: https://svnweb.freebsd.org/changeset/base/368247 Log: Fix a couple of typos. Submitted by: rmacklem Modified: head/share/man/man4/ktls.4 Modified: head/share/man/man4/ktls.4

svn commit: r368246 - in head/sys/dev/usb: quirk storage

2020-12-01 Thread Bjoern A. Zeeb
Author: bz Date: Tue Dec 1 18:24:06 2020 New Revision: 368246 URL: https://svnweb.freebsd.org/changeset/base/368246 Log: USB umass: add quirk to not probe Some USB WLAN devices have "on-board" storage showing up as umass and making the root mount wait for a very long time. The WLAN

svn commit: r368245 - in head/sys: arm64/arm64 arm64/include cddl/dev/dtrace/aarch64

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 18:22:34 2020 New Revision: 368245 URL: https://svnweb.freebsd.org/changeset/base/368245 Log: Use uintptr_t instead of uint64_t for pointers in stack frames. Reviewed by: andrew Obtained from:CheriBSD Sponsored by: DARPA Differential Revision:

svn commit: r368242 - head/sys/cddl/dev/dtrace/riscv

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 18:08:22 2020 New Revision: 368242 URL: https://svnweb.freebsd.org/changeset/base/368242 Log: Use uintptr_t for pointers in stack frames. This catches up to the changes made to struct unwind_state in r364180. Reviewed by: mhorne Obtained from:

svn commit: r368241 - head/sys/mips/mips

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 17:17:22 2020 New Revision: 368241 URL: https://svnweb.freebsd.org/changeset/base/368241 Log: Make stack_save*() more robust on MIPS. - Validate any stack addresses read from against td_kstack before reading. If an unwind operation would attempt to read

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-01 Thread Hartmann, O.
On Tue, 1 Dec 2020 07:47:50 -0600 Kyle Evans wrote: > On Tue, Dec 1, 2020 at 7:39 AM O. Hartmann > wrote: > > > > On Sun, 29 Nov 2020 19:38:04 + (UTC) > > Matt Macy wrote: > > > > > Author: mmacy > > > Date: Sun Nov 29 19:38:03 2020 > > > New Revision: 368163 > > > URL:

svn commit: r368240 - in head/sys: cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 ddb riscv/riscv sys x86/x86

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 17:04:46 2020 New Revision: 368240 URL: https://svnweb.freebsd.org/changeset/base/368240 Log: Add a kstack_contains() helper function. This is useful for stack unwinders which need to avoid out-of-bounds reads of a kernel stack which can trigger kernel

svn commit: r368239 - head/tests/sys/netpfil/pf

2020-12-01 Thread Kristof Provost
Author: kp Date: Tue Dec 1 16:44:36 2020 New Revision: 368239 URL: https://svnweb.freebsd.org/changeset/base/368239 Log: pf tests: Re-enable panicing tests We've fixed the vnet/epair cleanup race, so it is now safe to re-enable these tests. MFC after:2 weeks Sponsored by:

svn commit: r368238 - head/sys/net

2020-12-01 Thread Kristof Provost
Author: kp Date: Tue Dec 1 16:34:43 2020 New Revision: 368238 URL: https://svnweb.freebsd.org/changeset/base/368238 Log: net: Revert vnet/epair cleanup race mitigation Revert the mitigation code for the vnet/epair cleanup race (done in r365457). r368237 introduced a more reliable fix.

svn commit: r368237 - head/sys/net

2020-12-01 Thread Kristof Provost
Author: kp Date: Tue Dec 1 16:23:59 2020 New Revision: 368237 URL: https://svnweb.freebsd.org/changeset/base/368237 Log: if: Fix panic when destroying vnet and epair simultaneously When destroying a vnet and an epair (with one end in the vnet) we often panicked. This was the result of

svn commit: r368236 - head/sys/kern

2020-12-01 Thread Mark Johnston
Author: markj Date: Tue Dec 1 16:06:31 2020 New Revision: 368236 URL: https://svnweb.freebsd.org/changeset/base/368236 Log: vmem: Revert r364744 A pair of bugs are believed to have caused the hangs described in the commit log message for r364744: 1. uma_reclaim() could trigger

svn commit: r368234 - in head: contrib/libarchive contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/test_utils lib/libarchive lib/libarchive/tests usr.bin/bsdcat u...

2020-12-01 Thread Martin Matuska
Author: mm Date: Tue Dec 1 15:53:12 2020 New Revision: 368234 URL: https://svnweb.freebsd.org/changeset/base/368234 Log: MFV r368207: Update libarchive to 3.5.0 Relevant vendor changes: Issue #1258: add archive_read_support_filter_by_code() PR #1347: mtree digest reader support

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-01 Thread Kyle Evans
On Tue, Dec 1, 2020 at 7:39 AM O. Hartmann wrote: > > On Sun, 29 Nov 2020 19:38:04 + (UTC) > Matt Macy wrote: > > > Author: mmacy > > Date: Sun Nov 29 19:38:03 2020 > > New Revision: 368163 > > URL: https://svnweb.freebsd.org/changeset/base/368163 > > > > Log: > > Import kernel WireGuard

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-01 Thread O. Hartmann
On Sun, 29 Nov 2020 19:38:04 + (UTC) Matt Macy wrote: > Author: mmacy > Date: Sun Nov 29 19:38:03 2020 > New Revision: 368163 > URL: https://svnweb.freebsd.org/changeset/base/368163 > > Log: > Import kernel WireGuard support > > Data path largely shared with the OpenBSD implementation by

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-01 Thread O. Hartmann
On Sun, 29 Nov 2020 19:38:04 + (UTC) Matt Macy wrote: > Author: mmacy > Date: Sun Nov 29 19:38:03 2020 > New Revision: 368163 > URL: https://svnweb.freebsd.org/changeset/base/368163 > > Log: > Import kernel WireGuard support > > Data path largely shared with the OpenBSD implementation by

Re: svn commit: r367714 - head/sys/kern

2020-12-01 Thread Hans Petter Selasky
On 12/1/20 12:26 PM, Mateusz Guzik wrote: Does this fix it for you?https://people.freebsd.org/~mjg/poll.diff Will take some time to reproduce. Testing right now. --HPS ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r367714 - head/sys/kern

2020-12-01 Thread Mateusz Guzik
Does this fix it for you? https://people.freebsd.org/~mjg/poll.diff On 12/1/20, Hans Petter Selasky wrote: > On 12/1/20 12:06 PM, Mateusz Guzik wrote: >> I see what the bug is, will think about the right fix. >> >> Is this reproducible for you? > > Yes, I have a crash dump. > > --HPS > > --

Re: svn commit: r367714 - head/sys/kern

2020-12-01 Thread Hans Petter Selasky
On 12/1/20 12:06 PM, Mateusz Guzik wrote: I see what the bug is, will think about the right fix. Is this reproducible for you? Yes, I have a crash dump. --HPS ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r367714 - head/sys/kern

2020-12-01 Thread Mateusz Guzik
I see what the bug is, will think about the right fix. Is this reproducible for you? On 12/1/20, Hans Petter Selasky wrote: > On 11/16/20 4:12 AM, Mateusz Guzik wrote: >> Author: mjg >> Date: Mon Nov 16 03:12:21 2020 >> New Revision: 367714 >> URL:

Re: svn commit: r367714 - head/sys/kern

2020-12-01 Thread Hans Petter Selasky
On 11/16/20 4:12 AM, Mateusz Guzik wrote: Author: mjg Date: Mon Nov 16 03:12:21 2020 New Revision: 367714 URL: https://svnweb.freebsd.org/changeset/base/367714 Log: select: call seltdfini on process and thread exit Since thread_zone is marked NOFREE the thread_fini callback is never

svn commit: r368204 - head/sys/arm/arm

2020-12-01 Thread Michal Meloun
Author: mmel Date: Tue Dec 1 09:18:18 2020 New Revision: 368204 URL: https://svnweb.freebsd.org/changeset/base/368204 Log: Remove duplicated SV_ASLR from the elf flags. Reported by: lattera Modified: head/sys/arm/arm/elf_machdep.c Modified: head/sys/arm/arm/elf_machdep.c

svn commit: r368203 - head/sys/dev/nvme

2020-12-01 Thread Michal Meloun
Author: mmel Date: Tue Dec 1 08:52:13 2020 New Revision: 368203 URL: https://svnweb.freebsd.org/changeset/base/368203 Log: Always use the __unused attribute even for potentially unused parameters. Requested by: ian, imp MFC with: r368167 Modified: head/sys/dev/nvme/nvme.h