svn commit: r368757 - stable/12/sys/netinet

2020-12-18 Thread Michael Tuexen
Author: tuexen Date: Fri Dec 18 10:13:28 2020 New Revision: 368757 URL: https://svnweb.freebsd.org/changeset/base/368757 Log: MFC r368593: Clean up more resouces of an existing SCTP association in case of a restart. This fixes a use-after-free scenario, which was reported by Felix

svn commit: r368752 - stable/12/sys/vm

2020-12-18 Thread Ryan Libby
Author: rlibby Date: Fri Dec 18 08:29:38 2020 New Revision: 368752 URL: https://svnweb.freebsd.org/changeset/base/368752 Log: MFC r357019: uma: fix zone domain overlaying pcpu cache with disabled cpus UMA zone structures have two arrays at the end which are sized according to the

svn commit: r368753 - in stable/12: share/mk sys/conf

2020-12-18 Thread Ryan Libby
Author: rlibby Date: Fri Dec 18 08:40:33 2020 New Revision: 368753 URL: https://svnweb.freebsd.org/changeset/base/368753 Log: MFC r350739-r350740 (by cem) r350739: Disable useless -Wformat-zero-length It is part of -Wformat, which is enabled by -Wall. Empty format strings are

svn commit: r368756 - head/contrib/jemalloc/src

2020-12-18 Thread Marcin Wojtas
Author: mw Date: Fri Dec 18 10:09:21 2020 New Revision: 368756 URL: https://svnweb.freebsd.org/changeset/base/368756 Log: Fix abort in jemalloc extent coalescing. Fix error in extent_try_coalesce_impl(), which could cause abort to happen when trying to coalesce extents backwards. The

svn commit: r368754 - head/tools/tools/locale

2020-12-18 Thread Yuri Pankov
Author: yuripv Date: Fri Dec 18 08:43:06 2020 New Revision: 368754 URL: https://svnweb.freebsd.org/changeset/base/368754 Log: tools/tools/locale: fix static-colldef Modified: head/tools/tools/locale/Makefile Modified: head/tools/tools/locale/Makefile

svn commit: r368755 - stable/12/libexec/tftpd

2020-12-18 Thread Michael Tuexen
Author: tuexen Date: Fri Dec 18 10:08:11 2020 New Revision: 368755 URL: https://svnweb.freebsd.org/changeset/base/368755 Log: MFC r368394: When dropping packets (RRQ or WRQ) for debugging, report the send operation as successful. Reporting a failure stops the transfer instead of using

svn commit: r368758 - stable/12/sbin/hastd

2020-12-18 Thread Eugene Grosbein
Author: eugen Date: Fri Dec 18 12:20:29 2020 New Revision: 368758 URL: https://svnweb.freebsd.org/changeset/base/368758 Log: MFC r368148: fix hastd(8) hastd(8) assumes it has no extra file descriptors opened and aborts otherwise, so call closefrom() early. PR: 227461

svn commit: r368759 - stable/11/sbin/hastd

2020-12-18 Thread Eugene Grosbein
Author: eugen Date: Fri Dec 18 12:24:33 2020 New Revision: 368759 URL: https://svnweb.freebsd.org/changeset/base/368759 Log: MFC r368148: fix hastd(8) hastd(8) assumes it has no extra file descriptors opened and aborts otherwise, so call closefrom() early. PR: 227461

svn commit: r368760 - stable/12/sys/modules/em

2020-12-18 Thread Eugene Grosbein
Author: eugen Date: Fri Dec 18 12:40:19 2020 New Revision: 368760 URL: https://svnweb.freebsd.org/changeset/base/368760 Log: MFC r368391: if_em.ko: fix module build outside of kernel build environment Modified: stable/12/sys/modules/em/Makefile Directory Properties: stable/12/ (props

svn commit: r368765 - in head/sys/amd64: amd64 include

2020-12-18 Thread Mitchell Horne
Author: mhorne Date: Fri Dec 18 16:16:03 2020 New Revision: 368765 URL: https://svnweb.freebsd.org/changeset/base/368765 Log: amd64: use register macros for gdb_cpu_getreg() Prefer these newly-added definitions to bare values. MFC after:2 weeks Sponsored by: NetApp, Inc.

svn commit: r368773 - head/sbin/fsck_ffs

2020-12-18 Thread Kirk McKusick
Author: mckusick Date: Fri Dec 18 23:28:27 2020 New Revision: 368773 URL: https://svnweb.freebsd.org/changeset/base/368773 Log: Rename pass4check() to freeblock() and move from pass4.c to inode.c. The new name more accurately describes what it does and the file move puts it with other

Re: svn commit: r368776 - head/usr.bin/login

2020-12-18 Thread Pedro Giffuni
On 12/18/20 9:23 PM, Pedro F. Giffuni wrote: Author: pfg Date: Sat Dec 19 02:23:53 2020 New Revision: 368776 URL: https://svnweb.freebsd.org/changeset/base/368776 Log: login(1): when exporting variables check the result of setenv(3) When exporting a variable we correctly check all the

svn commit: r368780 - stable/12/lib/msun

2020-12-18 Thread Ryan Libby
Author: rlibby Date: Sat Dec 19 04:05:08 2020 New Revision: 368780 URL: https://svnweb.freebsd.org/changeset/base/368780 Log: MFC r343671 (by vangyzen): libm: squelch -Woverflow from gcc6 Sponsored by: Dell EMC Isilon Modified: stable/12/lib/msun/Makefile Directory Properties:

svn commit: r368785 - stable/12/sys/dev/ice

2020-12-18 Thread Ryan Libby
Author: rlibby Date: Sat Dec 19 04:24:05 2020 New Revision: 368785 URL: https://svnweb.freebsd.org/changeset/base/368785 Log: MFC r368745: ice: quiet -Wredundant-decls Reapply r364240 after driver update in r365617. Reviewed by: lwhsu Sponsored by: Dell EMC Isilon

svn commit: r368784 - stable/12/sys/dev/qat

2020-12-18 Thread Ryan Libby
Author: rlibby Date: Sat Dec 19 04:22:26 2020 New Revision: 368784 URL: https://svnweb.freebsd.org/changeset/base/368784 Log: MFC r368564: qat: quiet -Wredundant-decls Reviewed by: markj Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r368769 - head/sys/net

2020-12-18 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Dec 18 22:00:57 2020 New Revision: 368769 URL: https://svnweb.freebsd.org/changeset/base/368769 Log: Switch direct rt fields access in rtsock.c to newly-create field acessors. rtsock code was build around the assumption that each rtentry record in the system

svn commit: r368781 - stable/12/libexec/rtld-elf/i386

2020-12-18 Thread Ryan Libby
Author: rlibby Date: Sat Dec 19 04:09:21 2020 New Revision: 368781 URL: https://svnweb.freebsd.org/changeset/base/368781 Log: MFC r343672 (by vangyzen): rtld: pacify -Wmaybe-uninitialized from gcc6 Sponsored by: Dell EMC Isilon Modified: stable/12/libexec/rtld-elf/i386/reloc.c

svn commit: r368775 - head/usr.sbin/pmc

2020-12-18 Thread Konstantin Belousov
Author: kib Date: Sat Dec 19 01:46:47 2020 New Revision: 368775 URL: https://svnweb.freebsd.org/changeset/base/368775 Log: Remove redundand redefinion, fixing build. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/usr.sbin/pmc/cmd_pmc_summary.cc Modified:

svn commit: r368777 - head/usr.bin/login

2020-12-18 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 19 02:42:14 2020 New Revision: 368777 URL: https://svnweb.freebsd.org/changeset/base/368777 Log: Revert r368776: login(1): when exporting variables check the result of setenv(3) mismatch: the return value upon error is -1, so the code was not doing nothing.

svn commit: r368782 - in stable/12/sys: amd64/amd64 i386/i386

2020-12-18 Thread Ryan Libby
Author: rlibby Date: Sat Dec 19 04:18:49 2020 New Revision: 368782 URL: https://svnweb.freebsd.org/changeset/base/368782 Log: MFC r347628: x86: spell vpxor %zmm0 as vpxord Fix gcc/gas amd64 & i386 build after r347566. Reviewed by: kib Sponsored by: Dell EMC Isilon

svn commit: r368770 - head/lib/libc/string

2020-12-18 Thread Jessica Clarke
Author: jrtc27 Date: Fri Dec 18 22:10:17 2020 New Revision: 368770 URL: https://svnweb.freebsd.org/changeset/base/368770 Log: strerror.3: Fix whitespace issue introduced in r368714 MFC with: 368714 Modified: head/lib/libc/string/strerror.3 Modified: head/lib/libc/string/strerror.3

svn commit: r368772 - in head: sys/compat/freebsd32 sys/kern sys/sys usr.bin/elfctl

2020-12-18 Thread Konstantin Belousov
Author: kib Date: Fri Dec 18 23:14:39 2020 New Revision: 368772 URL: https://svnweb.freebsd.org/changeset/base/368772 Log: Add ELF flag to disable ASLR stack gap. Also centralize and unify checks to enable ASLR stack gap in a new helper exec_stackgap(). PR: 239873 Sponsored by:

svn commit: r368778 - head/usr.bin/login

2020-12-18 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 19 03:07:38 2020 New Revision: 368778 URL: https://svnweb.freebsd.org/changeset/base/368778 Log: login(1): when exporting variables check the result of setenv(3) When exporting a variable we correctly check all the preconditions that could make setenv(3) fail.

svn commit: r368779 - head/sys/kern

2020-12-18 Thread Kyle Evans
Author: kevans Date: Sat Dec 19 03:30:06 2020 New Revision: 368779 URL: https://svnweb.freebsd.org/changeset/base/368779 Log: kern: cpuset: allow jails to modify child jails' roots This partially lifts a restriction imposed by r191639 ("Prevent a superuser inside a jail from modifying

svn commit: r368783 - stable/12/sys/dev/ntb/ntb_hw

2020-12-18 Thread Ryan Libby
Author: rlibby Date: Sat Dec 19 04:21:15 2020 New Revision: 368783 URL: https://svnweb.freebsd.org/changeset/base/368783 Log: MFC r368563: ntb: quiet gcc -Wreturn-type Reviewed by: cem, markj Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r368786 - stable/12/sys/dev/superio

2020-12-18 Thread Ryan Libby
Author: rlibby Date: Sat Dec 19 04:28:25 2020 New Revision: 368786 URL: https://svnweb.freebsd.org/changeset/base/368786 Log: MFC r349848 (by lwhsu): - Fix gcc build for superio(4) - Change string mapping of SUPERIO_DEV_NONE to distinguish from SUPERIO_DEV_MAX Reviewed by: imp

svn commit: r368776 - head/usr.bin/login

2020-12-18 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 19 02:23:53 2020 New Revision: 368776 URL: https://svnweb.freebsd.org/changeset/base/368776 Log: login(1): when exporting variables check the result of setenv(3) When exporting a variable we correctly check all the preconditions that could make setenv(3) fail.

svn commit: r368771 - head/sys/sys

2020-12-18 Thread Konstantin Belousov
Author: kib Date: Fri Dec 18 23:11:27 2020 New Revision: 368771 URL: https://svnweb.freebsd.org/changeset/base/368771 Log: proc.h: Reformat P_ and P2_ definitions. Use traditional explicit leading zero format for hex numbers. Align P2_ hex values. Wrap long lines by splitting comments.

svn commit: r368774 - in head/sys/dev/usb: . quirk

2020-12-18 Thread Jessica Clarke
Author: jrtc27 Date: Fri Dec 18 23:31:36 2020 New Revision: 368774 URL: https://svnweb.freebsd.org/changeset/base/368774 Log: usb: Replace ITUNERNET vendor with MICROCHIP and improve product names These Mini-Box LCDs are using Microchip components and sub-licensed product IDs. Whilst

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

2020-12-18 Thread Mitchell Horne
Author: mhorne Date: Fri Dec 18 20:10:30 2020 New Revision: 368767 URL: https://svnweb.freebsd.org/changeset/base/368767 Log: riscv: report additional known SBI implementations These implementation IDs are defined in the SBI spec, so we should print their name if detected. Submitted

svn commit: r368766 - head/sys/arm64/rockchip/clk

2020-12-18 Thread Emmanuel Vadot
Author: manu Date: Fri Dec 18 16:55:54 2020 New Revision: 368766 URL: https://svnweb.freebsd.org/changeset/base/368766 Log: arm64: rk3399: Export the watchdog clock This clock is used by the watchdog IP and can be controlled only in the secure world. Modified:

svn commit: r368768 - in head/sys: amd64/amd64 arm64/arm64 i386/i386 riscv/riscv

2020-12-18 Thread John Baldwin
Author: jhb Date: Fri Dec 18 20:41:23 2020 New Revision: 368768 URL: https://svnweb.freebsd.org/changeset/base/368768 Log: Skip the vm.pmap.kernel_maps sysctl by default. This sysctl node can generate very verbose output, so don't trigger it for sysctl -a or sysctl vm.pmap. Reviewed

12/17/2020 Inquiry

2020-12-18 Thread Petrus Vermeulen via svn-src-all
___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r368762 - head/libexec/rc/rc.d

2020-12-18 Thread Mark Johnston
Author: markj Date: Fri Dec 18 16:02:28 2020 New Revision: 368762 URL: https://svnweb.freebsd.org/changeset/base/368762 Log: Fix the ipfw service status output when ipfw.ko isn't loaded Reported by: lme Reviewed by: lme MFC after:1 week Differential Revision:

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

2020-12-18 Thread Mark Johnston
Author: markj Date: Fri Dec 18 16:04:48 2020 New Revision: 368763 URL: https://svnweb.freebsd.org/changeset/base/368763 Log: acpi: Ensure that adjacent memory affinity table entries are coalesced The SRAT may contain multiple distinct entries that together describe a contiguous region of

svn commit: r368764 - in head/sys/amd64: amd64 include

2020-12-18 Thread Mitchell Horne
Author: mhorne Date: Fri Dec 18 16:09:24 2020 New Revision: 368764 URL: https://svnweb.freebsd.org/changeset/base/368764 Log: amd64: allow gdb(4) to write to most registers Similar to the recent patch to arm's gdb stub in r368414, allow GDB to update the contents of most general purpose

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

2020-12-18 Thread Jessica Clarke
Author: jrtc27 Date: Fri Dec 18 15:07:14 2020 New Revision: 368761 URL: https://svnweb.freebsd.org/changeset/base/368761 Log: virtio_mmio: Fix feature negotiation copy-paste issue in r361943 This caused us to write to the low half of the feature word twice, once with the high bits and