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: 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: 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.

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: 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: 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: 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: 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

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: 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: 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: 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: 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

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: 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: 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: 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: 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: 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

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