svn commit: r366248 - head/sys/netinet

2020-09-29 Thread Michael Tuexen
Author: tuexen Date: Tue Sep 29 09:36:06 2020 New Revision: 366248 URL: https://svnweb.freebsd.org/changeset/base/366248 Log: Improve the input validation and processing of cookies. This avoids setting the association in an inconsistent state, which could result in a use-after-free

svn commit: r366249 - head/usr.bin/calendar

2020-09-29 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Tue Sep 29 10:07:46 2020 New Revision: 366249 URL: https://svnweb.freebsd.org/changeset/base/366249 Log: Bump manual page date after 366243 While here, address mandoc warnings. Modified: head/usr.bin/calendar/calendar.1 Modified:

svn commit: r366251 - head/sys/conf

2020-09-29 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 29 11:48:22 2020 New Revision: 366251 URL: https://svnweb.freebsd.org/changeset/base/366251 Log: Build debug kernels with -O2. LLVM 11 changed the meaning of '-O' from '-O2' to '-O1', which resulted in debug kernels (with 'makeoptions DEBUG=-g') being built

svn commit: r366247 - head/sys/dev/cxgbe

2020-09-29 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 09:25:52 2020 New Revision: 366247 URL: https://svnweb.freebsd.org/changeset/base/366247 Log: cxgbe(4): Avoid unnecessary work in the firmware during netmap tx. Bind the netmap tx queues to a special '0xff' scheduling class which makes the firmware skip some

svn commit: r366252 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-09-29 Thread Mark Johnston
Author: markj Date: Tue Sep 29 13:41:47 2020 New Revision: 366252 URL: https://svnweb.freebsd.org/changeset/base/366252 Log: ZFS: Fix a logic bug in the FreeBSD getpages VOP This was introduced when I merged r361287 to OpenZFS and has been fixed there already, commit 3f6bb6e43fd68e.

svn commit: r366246 - head/sys/dev/cxgbe

2020-09-29 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 09:11:51 2020 New Revision: 366246 URL: https://svnweb.freebsd.org/changeset/base/366246 Log: Remove duplicate line. Modified: head/sys/dev/cxgbe/t4_netmap.c Modified: head/sys/dev/cxgbe/t4_netmap.c

svn commit: r366250 - head/sys/kern

2020-09-29 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 29 11:18:48 2020 New Revision: 366250 URL: https://svnweb.freebsd.org/changeset/base/366250 Log: Use the 'traced' variable instead of comparing p->p_flag again. Reviewed by: kib Sponsored by: DARPA Differential Revision:

Re: svn commit: r366186 - in head/usr.sbin: bsdconfig/share/media bsdinstall/scripts

2020-09-29 Thread Niclas Zeising
On 2020-09-29 17:26, Scott Long wrote: On Sep 27, 2020, at 2:41 AM, Niclas Zeising wrote: On 2020-09-27 03:38, Scott Long wrote: On Sep 26, 2020, at 5:24 PM, Rodney W. Grimes wrote:  On Sep 26, 2020, at 1:22 PM, Warner Losh wrote: I am the wrong person to answer that question.

Re: svn commit: r366252 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-09-29 Thread Kyle Evans
On Tue, Sep 29, 2020 at 8:47 AM Kyle Evans wrote: > > On Tue, Sep 29, 2020 at 8:42 AM Mark Johnston wrote: > > > > Author: markj > > Date: Tue Sep 29 13:41:47 2020 > > New Revision: 366252 > > URL: https://svnweb.freebsd.org/changeset/base/366252 > > > > Log: > > ZFS: Fix a logic bug in the

Re: svn commit: r366252 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-09-29 Thread Mark Johnston
On Tue, Sep 29, 2020 at 08:47:37AM -0500, Kyle Evans wrote: > On Tue, Sep 29, 2020 at 8:42 AM Mark Johnston wrote: > > > > Author: markj > > Date: Tue Sep 29 13:41:47 2020 > > New Revision: 366252 > > URL: https://svnweb.freebsd.org/changeset/base/366252 > > > > Log: > > ZFS: Fix a logic bug in

Re: svn commit: r366252 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-09-29 Thread Kyle Evans
On Tue, Sep 29, 2020 at 8:42 AM Mark Johnston wrote: > > Author: markj > Date: Tue Sep 29 13:41:47 2020 > New Revision: 366252 > URL: https://svnweb.freebsd.org/changeset/base/366252 > > Log: > ZFS: Fix a logic bug in the FreeBSD getpages VOP > > This was introduced when I merged r361287 to

svn commit: r366254 - head/sys/contrib/openzfs

2020-09-29 Thread Mark Johnston
Author: markj Date: Tue Sep 29 14:02:42 2020 New Revision: 366254 URL: https://svnweb.freebsd.org/changeset/base/366254 Log: MFV r366253 This modifies only the openzfs svn:mergeinfo property, since r366253 has already been committed to head. Modified: Directory Properties:

svn commit: r366260 - head/stand/libsa

2020-09-29 Thread Warner Losh
Author: imp Date: Tue Sep 29 16:29:50 2020 New Revision: 366260 URL: https://svnweb.freebsd.org/changeset/base/366260 Log: Implement some time variables from kernel OpenZFS will start using some of the kernel timekeeping bits shortly. This implements the bare minimum of that which

Re: svn commit: r366252 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-09-29 Thread Kyle Evans
On Tue, Sep 29, 2020 at 9:04 AM Mark Johnston wrote: > > On Tue, Sep 29, 2020 at 08:47:37AM -0500, Kyle Evans wrote: > > On Tue, Sep 29, 2020 at 8:42 AM Mark Johnston wrote: > > > > > > Author: markj > > > Date: Tue Sep 29 13:41:47 2020 > > > New Revision: 366252 > > > URL:

svn commit: r366257 - in head/sys/dev: acpica iommu pci

2020-09-29 Thread Ruslan Bukin
Author: br Date: Tue Sep 29 15:10:56 2020 New Revision: 366257 URL: https://svnweb.freebsd.org/changeset/base/366257 Log: o Rename acpi_iommu_get_dma_tag() -> iommu_get_dma_tag(). This function isn't ACPI dependent and we may use it on FDT systems as well. o Don't repeat the function

Re: svn commit: r366186 - in head/usr.sbin: bsdconfig/share/media bsdinstall/scripts

2020-09-29 Thread Scott Long
> On Sep 27, 2020, at 2:41 AM, Niclas Zeising wrote: > > On 2020-09-27 03:38, Scott Long wrote: >>> On Sep 26, 2020, at 5:24 PM, Rodney W. Grimes >>> wrote: >>> >>>  >> On Sep 26, 2020, at 1:22 PM, Warner Losh wrote: > > > > I am the wrong person to

svn commit: r366264 - head/sbin/kldconfig

2020-09-29 Thread Fernando Apesteguía
Author: fernape (ports committer) Date: Tue Sep 29 17:52:15 2020 New Revision: 366264 URL: https://svnweb.freebsd.org/changeset/base/366264 Log: kldconfig(8): Add EXAMPLES to the man page Add EXAMPLES section to the man page showing the use of all flags except for -S. While here,

svn commit: r366268 - head/sys/dev/rtwn/usb

2020-09-29 Thread Bjoern A. Zeeb
Author: bz Date: Tue Sep 29 20:46:25 2020 New Revision: 366268 URL: https://svnweb.freebsd.org/changeset/base/366268 Log: rtwn: narrow the epoch area Rather than placing the epoch around the entire receive loop which might call into rtwn_rx_frame() and USB and sleep, split the loop

svn commit: r366265 - head/sys/sys

2020-09-29 Thread Warner Losh
Author: imp Date: Tue Sep 29 18:06:02 2020 New Revision: 366265 URL: https://svnweb.freebsd.org/changeset/base/366265 Log: Standalone SX shims Create a do-nothing version of SX locks. OpenZFS needs them. However, since the boot loader is single threaded, they can be nops. Modified:

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

2020-09-29 Thread Warner Losh
Author: imp Date: Tue Sep 29 18:13:54 2020 New Revision: 366266 URL: https://svnweb.freebsd.org/changeset/base/366266 Log: Updates to chroot(2) docs 1. Note what settings give historic behavior 2. Recommend jail under security considerations. Modified: head/lib/libc/sys/chroot.2

svn commit: r366267 - in head/sys: amd64/conf conf dev/acpica dev/pci i386/conf x86/x86

2020-09-29 Thread Ruslan Bukin
Author: br Date: Tue Sep 29 20:29:07 2020 New Revision: 366267 URL: https://svnweb.freebsd.org/changeset/base/366267 Log: Rename kernel option ACPI_DMAR to IOMMU. This is mostly needed for a common arm64/amd64 iommu code. Reviewed by: kib Sponsored by: DARPA, AFRL Differential

Re: svn commit: r366265 - head/sys/sys

2020-09-29 Thread Hans Petter Selasky
On 2020-09-29 20:06, Warner Losh wrote: Author: imp Date: Tue Sep 29 18:06:02 2020 New Revision: 366265 URL: https://svnweb.freebsd.org/changeset/base/366265 Log: Standalone SX shims Create a do-nothing version of SX locks. OpenZFS needs them. However, since the boot loader is

svn commit: r366269 - head/sys/dev/cxgbe/crypto

2020-09-29 Thread John Baldwin
Author: jhb Date: Tue Sep 29 21:51:32 2020 New Revision: 366269 URL: https://svnweb.freebsd.org/changeset/base/366269 Log: Fallback to software for more GCM and CCM requests. ccr(4) uses software to handle GCM and CCM requests not supported by the crypto engine (e.g. with only AAD and no

svn commit: r366278 - head/sys/kern

2020-09-29 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 30 02:18:09 2020 New Revision: 366278 URL: https://svnweb.freebsd.org/changeset/base/366278 Log: Make copy_file_range(2) Linux compatible for overflow of offset + len. Without this patch, if a call to copy_file_range(2) specifies an input file offset + len

svn commit: r366270 - head/share/mk

2020-09-29 Thread Brooks Davis
Author: brooks Date: Tue Sep 29 22:30:15 2020 New Revision: 366270 URL: https://svnweb.freebsd.org/changeset/base/366270 Log: Prefer --ld-path=/path/to/ld on clang >= 12 Clang 12 warns about passing a path to -fuse-ld and -Werror makes that an error preventing building world without this

svn commit: r366273 - head/share/mk

2020-09-29 Thread Brooks Davis
Author: brooks Date: Tue Sep 29 23:48:05 2020 New Revision: 366273 URL: https://svnweb.freebsd.org/changeset/base/366273 Log: Hoist comment on fixup of ld path Reported by: jrtc27 Differential Revision:https://reviews.freebsd.org/D26591 Modified: head/share/mk/bsd.sys.mk

svn commit: r366275 - head

2020-09-29 Thread Kyle Evans
Author: kevans Date: Wed Sep 30 00:47:57 2020 New Revision: 366275 URL: https://svnweb.freebsd.org/changeset/base/366275 Log: Makefile.inc1: sysent: allow subordinate sysent targets to run in parallel makesyscalls.lua (and indeed makesyscalls.sh) are both safe to be run in parallel, so

Re: svn commit: r366265 - head/sys/sys

2020-09-29 Thread Warner Losh
On Tue, Sep 29, 2020, 1:00 PM Hans Petter Selasky wrote: > On 2020-09-29 20:06, Warner Losh wrote: > > Author: imp > > Date: Tue Sep 29 18:06:02 2020 > > New Revision: 366265 > > URL: https://svnweb.freebsd.org/changeset/base/366265 > > > > Log: > >Standalone SX shims > > > >Create a

svn commit: r366279 - head/sys/riscv/include

2020-09-29 Thread Jessica Clarke
Author: jrtc27 Date: Wed Sep 30 02:21:38 2020 New Revision: 366279 URL: https://svnweb.freebsd.org/changeset/base/366279 Log: riscv: Define __PCI_REROUTE_INTERRUPT Every other architecture defines this and this is required for interrupts to work when using QEMU's PCI VirtIO devices

svn commit: r366271 - head/sys/arm64/arm64

2020-09-29 Thread Mitchell Horne
Author: mhorne Date: Tue Sep 29 23:21:56 2020 New Revision: 366271 URL: https://svnweb.freebsd.org/changeset/base/366271 Log: arm64: set the correct HWCAP This appears to be a typo. The AdvSIMD field encodes support for half-precision floating point SIMD instructions, which corresponds

svn commit: r366283 - head/sys/kern

2020-09-29 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 30 04:27:38 2020 New Revision: 366283 URL: https://svnweb.freebsd.org/changeset/base/366283 Log: cache: use cache_has_entries where appropriate instead of opencoding it Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c

svn commit: r366244 - head/sys/dev/cxgbe

2020-09-29 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 07:36:21 2020 New Revision: 366244 URL: https://svnweb.freebsd.org/changeset/base/366244 Log: cxgbe(4): display an error message when netmap cannot be enabled because the interface is down. MFC after:1 week Modified: head/sys/dev/cxgbe/t4_netmap.c

svn commit: r366245 - head/sys/dev/cxgbe

2020-09-29 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 07:51:06 2020 New Revision: 366245 URL: https://svnweb.freebsd.org/changeset/base/366245 Log: cxgbe(4): adjust the doorbell threshold for netmap freelists to match the maximum burst size used when fetching descriptors from the list. MFC after:1 week