svn commit: r365830 - head/sys/geom/part

2020-09-16 Thread Eugene Grosbein
Author: eugen Date: Thu Sep 17 04:39:39 2020 New Revision: 365830 URL: https://svnweb.freebsd.org/changeset/base/365830 Log: geom_part: make it possible recovering broken GPT after some LBAs cut off This is followup to r365477. If pre-formatted device has GPT and a partition covering

svn commit: r365829 - head

2020-09-16 Thread Kyle Evans
Author: kevans Date: Thu Sep 17 02:18:21 2020 New Revision: 365829 URL: https://svnweb.freebsd.org/changeset/base/365829 Log: installworld: run `certctl rehash` after installation completes This was originally introduced back in r360833, and subsequently reverted because it was broken

svn commit: r365826 - head/sys/kern

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Thu Sep 17 00:07:15 2020 New Revision: 365826 URL: https://svnweb.freebsd.org/changeset/base/365826 Log: Put calls to check_pgrp_jobc() in fixjobc_kill() under INVARIANTS. Reported by: Michael Butler Sponsored by: The FreeBSD Foundation MFC after:1 week

svn commit: r365821 - in stable/12: gnu/usr.bin/gperf lib/libc++ lib/libcxxrt lib/libopenbsd lib/libsqlite3 lib/libucl lib/libzstd libexec/dma/dma-mbox-create libexec/dma/dmagent sbin/gvinum sbin/t...

2020-09-16 Thread Kyle Evans
Author: kevans Date: Wed Sep 16 23:17:15 2020 New Revision: 365821 URL: https://svnweb.freebsd.org/changeset/base/365821 Log: MFC r365631: Only set WARNS if not defined This would allow interested parties to do experimental runs with an environment set appropriately to raise all the

svn commit: r365820 - in stable/12: contrib/libarchive/test_utils contrib/netbsd-tests/lib/libexecinfo contrib/netbsd-tests/lib/librt lib/libc/tests/resolv lib/libc/tests/stdlib/dynthr_mod

2020-09-16 Thread Kyle Evans
Author: kevans Date: Wed Sep 16 23:14:22 2020 New Revision: 365820 URL: https://svnweb.freebsd.org/changeset/base/365820 Log: MFC r365493-r365494, r365600, r365602, r365637: various WARNS fixes r365493: libc/resolv: attempt to fix the test under WARNS=6 In a side-change that I'm

svn commit: r365819 - in stable: 11/lib/libc/stdlib 12/lib/libc/stdlib

2020-09-16 Thread John Baldwin
Author: jhb Date: Wed Sep 16 22:55:27 2020 New Revision: 365819 URL: https://svnweb.freebsd.org/changeset/base/365819 Log: MFC 365276: Compute the correct size of the string to move forward. Previously this was counting the amount of spare room at the start of the buffer that the string

svn commit: r365819 - in stable: 11/lib/libc/stdlib 12/lib/libc/stdlib

2020-09-16 Thread John Baldwin
Author: jhb Date: Wed Sep 16 22:55:27 2020 New Revision: 365819 URL: https://svnweb.freebsd.org/changeset/base/365819 Log: MFC 365276: Compute the correct size of the string to move forward. Previously this was counting the amount of spare room at the start of the buffer that the string

svn commit: r365817 - stable/12

2020-09-16 Thread Kyle Evans
Author: kevans Date: Wed Sep 16 22:37:44 2020 New Revision: 365817 URL: https://svnweb.freebsd.org/changeset/base/365817 Log: Record merge of r364190 This added the pwd binary to those symlinked in $WORLDTMP/legacy, but it was effectively reverted by a commit that was MFC'd in r365816.

svn commit: r365816 - in stable/12: sys/sys usr.sbin/crunch/crunchgen

2020-09-16 Thread Kyle Evans
Author: kevans Date: Wed Sep 16 22:36:03 2020 New Revision: 365816 URL: https://svnweb.freebsd.org/changeset/base/365816 Log: MFC outstanding crunchgen work: r350152, r364166, r364174, r364234, r364646-r364647, r365605, r365705 r350152: Remove obsolete RELEASE_CRUNCH Remove

svn commit: r365815 - head/sys/kern

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 21:49:19 2020 New Revision: 365815 URL: https://svnweb.freebsd.org/changeset/base/365815 Log: Add check_pgrp_jobc() calls into process exit path. Both before and after job control adjustments. Tested by:pho Sponsored by: The FreeBSD Foundation MFC

svn commit: r365814 - head/sys/kern

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 21:46:57 2020 New Revision: 365814 URL: https://svnweb.freebsd.org/changeset/base/365814 Log: Fix fixjobc+orhpanage. Orphans affect job control state, we must account for them when changing pg_jobc. Instead of p_pptr, use proc_realparent() to get parent

svn commit: r365813 - head/sys/kern

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 21:40:32 2020 New Revision: 365813 URL: https://svnweb.freebsd.org/changeset/base/365813 Log: Assert that P_TREE_GRPEXITED is set only once. Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

svn commit: r365812 - head/sys/kern

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 21:38:24 2020 New Revision: 365812 URL: https://svnweb.freebsd.org/changeset/base/365812 Log: proc_realparent: if p_oppid does not match pid of the current parent for non-orphaned process, return reaper instead of init. Tested by:pho Sponsored by: The

svn commit: r365811 - head/sys/kern

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 21:34:18 2020 New Revision: 365811 URL: https://svnweb.freebsd.org/changeset/base/365811 Log: Improve ddb 'show pgrpdump' command. Use ddb pager. Make lines more compact. Eliminate unneeded casts. Print more job-control related info when reporting process

svn commit: r365810 - head/sys/fs/tmpfs

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 21:28:18 2020 New Revision: 365810 URL: https://svnweb.freebsd.org/changeset/base/365810 Log: tmpfs: restore atime updates for reads from page cache. Split TMPFS_NODE_ACCCESSED bit into dedicated byte that can be updated atomically without locks or (locked)

svn commit: r365809 - head/sys/fs/tmpfs

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 21:24:34 2020 New Revision: 365809 URL: https://svnweb.freebsd.org/changeset/base/365809 Log: Style. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/fs/tmpfs/tmpfs_subr.c head/sys/fs/tmpfs/tmpfs_vnops.c Modified:

svn commit: r365808 - stable/12/sys/conf

2020-09-16 Thread Allan Jude
Author: allanjude Date: Wed Sep 16 20:58:24 2020 New Revision: 365808 URL: https://svnweb.freebsd.org/changeset/base/365808 Log: Connect new ZFS source file to the kernel build This was missed in r365689 This causes compile issues when building ZFS into the kernel PR:

svn commit: r365807 - in head: contrib/llvm-project/clang/include/clang/AST contrib/llvm-project/clang/include/clang/Basic contrib/llvm-project/clang/lib/AST contrib/llvm-project/clang/lib/Basic co...

2020-09-16 Thread Dimitry Andric
Author: dim Date: Wed Sep 16 16:58:29 2020 New Revision: 365807 URL: https://svnweb.freebsd.org/changeset/base/365807 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp release/11.x llvmorg-11.0.0-rc2-91-g6e042866c30. MFC after:6 weeks X-MFC-With:

svn commit: r365806 - in stable/12/sys: sys vm

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 15:48:32 2020 New Revision: 365806 URL: https://svnweb.freebsd.org/changeset/base/365806 Log: MFC r365515: Move MAP_32BIT_MAX_ADDR definition to sys/mman.h. Modified: stable/12/sys/sys/mman.h stable/12/sys/vm/vm_map.c Directory Properties: stable/12/

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

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 15:45:35 2020 New Revision: 365805 URL: https://svnweb.freebsd.org/changeset/base/365805 Log: MFC r365516: Add vm_map_find_aligned(9). Modified: stable/12/sys/vm/vm_map.c stable/12/sys/vm/vm_map.h Directory Properties: stable/12/ (props changed)

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

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 15:42:58 2020 New Revision: 365804 URL: https://svnweb.freebsd.org/changeset/base/365804 Log: MFC r365513: Prepare to handle non-trivial errors from vm_map_delete(). Modified: stable/12/sys/vm/vm_map.c stable/12/sys/vm/vm_mmap.c stable/12/sys/vm/vm_unix.c

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

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 15:38:22 2020 New Revision: 365803 URL: https://svnweb.freebsd.org/changeset/base/365803 Log: MFC r365488: Allow consumer to customize physical pager. Modified: stable/12/sys/vm/phys_pager.c stable/12/sys/vm/vm_object.c stable/12/sys/vm/vm_object.h

svn commit: r365802 - stable/11/release/doc/share/xml

2020-09-16 Thread Glen Barber
Author: gjb Date: Wed Sep 16 15:10:16 2020 New Revision: 365802 URL: https://svnweb.freebsd.org/changeset/base/365802 Log: Document SA-20:27-30. Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: stable/11/release/doc/share/xml/security.xml Modified:

svn commit: r365801 - head/sys/net

2020-09-16 Thread Mitchell Horne
Author: mhorne Date: Wed Sep 16 14:45:16 2020 New Revision: 365801 URL: https://svnweb.freebsd.org/changeset/base/365801 Log: if_media: definitions for 40GE LM4 ethernet media type Reviewed by: erj Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision:

svn commit: r365800 - in stable/12/sys: sys vm

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 14:20:45 2020 New Revision: 365800 URL: https://svnweb.freebsd.org/changeset/base/365800 Log: MFC r365486: Add kern_mmap_racct_check(), a helper to verify limits in vm_mmap*(). Modified: stable/12/sys/sys/syscallsubr.h stable/12/sys/vm/vm_mmap.c Directory

svn commit: r365799 - in stable/12/sys: dev/ksyms dev/xen/gntdev kern

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 14:16:09 2020 New Revision: 365799 URL: https://svnweb.freebsd.org/changeset/base/365799 Log: MFC r365485: Convert allocations of the phys pager to vm_pager_allocate(). Modified: stable/12/sys/dev/ksyms/ksyms.c stable/12/sys/dev/xen/gntdev/gntdev.c

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

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 14:14:26 2020 New Revision: 365798 URL: https://svnweb.freebsd.org/changeset/base/365798 Log: MFC r365484: Add interruptible variant of vm_wait(9), vm_wait_intr(9). Modified: stable/12/sys/vm/uma_core.c stable/12/sys/vm/vm_domainset.c

svn commit: r365797 - in stable/12/sys/sparc64: include sparc64

2020-09-16 Thread Mark Johnston
Author: markj Date: Wed Sep 16 14:12:57 2020 New Revision: 365797 URL: https://svnweb.freebsd.org/changeset/base/365797 Log: Add a mem(4) ioctl stub for sparc64. This is a direct commit to stable/12. Reported by: Jenkins Modified: stable/12/sys/sparc64/include/memdev.h

svn commit: r365796 - head/sys/conf

2020-09-16 Thread Mark Johnston
Author: markj Date: Wed Sep 16 13:51:47 2020 New Revision: 365796 URL: https://svnweb.freebsd.org/changeset/base/365796 Log: Move PLTs to the beginning of amd64 kernel modules. As with .text, the aim is to ensure that executable sections are segregated from the rest, to avoid creation of

svn commit: r365795 - in stable/12: share/man/man4 sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/arm64 sys/arm64/include sys/dev/mem sys/i386/i386 sys/i386/include sys/mip...

2020-09-16 Thread Mark Johnston
Author: markj Date: Wed Sep 16 13:46:58 2020 New Revision: 365795 URL: https://svnweb.freebsd.org/changeset/base/365795 Log: MFC r365265: Add the MEM_EXTRACT_PADDR ioctl to /dev/mem. Modified: stable/12/share/man/man4/mem.4 stable/12/sys/amd64/amd64/mem.c

svn commit: r365794 - in stable/12/sbin/ggate: ggatec ggated

2020-09-16 Thread Mark Johnston
Author: markj Date: Wed Sep 16 13:45:53 2020 New Revision: 365794 URL: https://svnweb.freebsd.org/changeset/base/365794 Log: MFC r365502: ggate: Fix ggated/ggatec debug print of offsets. Modified: stable/12/sbin/ggate/ggatec/ggatec.c stable/12/sbin/ggate/ggated/ggated.c Directory

svn commit: r365793 - head/contrib/netbsd-tests/fs/tmpfs

2020-09-16 Thread Li-Wen Hsu
Author: lwhsu Date: Wed Sep 16 09:58:15 2020 New Revision: 365793 URL: https://svnweb.freebsd.org/changeset/base/365793 Log: Temporarily skip sys.fs.tmpfs.times_test.{empty,non_empty} in CI PR: 249362 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r365792 - stable/12/sys/kern

2020-09-16 Thread Konstantin Belousov
Author: kib Date: Wed Sep 16 07:53:15 2020 New Revision: 365792 URL: https://svnweb.freebsd.org/changeset/base/365792 Log: MFC r365510: uipc_shm.c: Move comment where it belongs. Modified: stable/12/sys/kern/uipc_shm.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r365791 - head/share/misc

2020-09-16 Thread Baptiste Daroussin
Author: bapt Date: Wed Sep 16 07:30:18 2020 New Revision: 365791 URL: https://svnweb.freebsd.org/changeset/base/365791 Log: Update to 2020.08.19 MFC after:3 days Modified: head/share/misc/pci_vendors Modified: head/share/misc/pci_vendors

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

2020-09-16 Thread Warner Losh
Author: imp Date: Wed Sep 16 06:02:30 2020 New Revision: 365790 URL: https://svnweb.freebsd.org/changeset/base/365790 Log: Use standard bool type, instead of non-standard boolean_t Modified: head/sys/kern/subr_bus.c head/sys/sys/devctl.h Modified: head/sys/kern/subr_bus.c