FreeBSD/src bfe9e97sys/compat/freebsd32 freebsd32_systrace_args.c freebsd32_syscall.h, sys/kern systrace_args.c

Regen
DeltaFile
+30-0sys/kern/systrace_args.c
+30-0sys/compat/freebsd32/freebsd32_systrace_args.c
+7-0sys/sys/sysproto.h
+2-1sys/compat/freebsd32/freebsd32_syscall.h
+2-1sys/sys/syscall.mk
+2-1sys/sys/syscall.h
+73-36 files not shown
+81-312 files

FreeBSD/src a56fe70include exterr.h Makefile, lib/libc/gen uexterr_format.c uexterr_gettext.c

Provide user interface to retrieve reported extended errors

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D50483
DeltaFile
+31-0lib/libc/gen/uexterr_format.c
+24-0lib/libc/gen/uexterr_gettext.c
+21-0include/exterr.h
+12-2lib/libthr/thread/thr_syscalls.c
+5-0lib/libc/include/libc_private.h
+2-1include/Makefile
+95-33 files not shown
+99-39 files

FreeBSD/src 8e8d306sys/amd64/conf GENERIC

amd64 GENERIC: enable bloating kernel with ext errors strings

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D50483
DeltaFile
+1-0sys/amd64/conf/GENERIC
+1-01 files

FreeBSD/src b9c8a07lib/libc/gen uexterr_gettext.c Makefile.inc, lib/libthr/thread thr_create.c thr_private.h

C runtime: enable extended error reporting from kernel

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D50483
DeltaFile
+15-0lib/libc/gen/uexterr_gettext.c
+4-0lib/libthr/thread/thr_create.c
+3-0lib/libthr/thread/thr_private.h
+3-0lib/libthr/thread/thr_init.c
+1-0lib/libc/gen/Makefile.inc
+26-05 files

FreeBSD/src 98af94cinclude unistd.h, lib/libc/gen sysconf.c

sysconf(3): add _SC_UEXTERR_LEN, the max length of the extended error string

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D50483
DeltaFile
+3-0lib/libc/gen/sysconf.c
+2-0sys/sys/exterrvar.h
+1-0include/unistd.h
+6-03 files

FreeBSD/src d995dc9sys/vm vm_mmap.c

vm/vm_mmap.c: add two examples of using exterrors

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D50483
DeltaFile
+8-3sys/vm/vm_mmap.c
+8-31 files

FreeBSD/src 92b393clib/libsys Symbol.sys.map

libsys: export exterrctl symbol

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D50483
DeltaFile
+1-0lib/libsys/Symbol.sys.map
+1-01 files

FreeBSD/src 09dfe06sys/kern sys_generic.c syscalls.master, sys/sys exterrvar.h proc.h

kernel: copyout extended errors to userspace and add exterrctl(2) to control it

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D50483
DeltaFile
+72-1sys/kern/sys_generic.c
+13-0sys/sys/exterrvar.h
+7-1sys/kern/syscalls.master
+4-0sys/kern/subr_syscall.c
+2-0sys/sys/proc.h
+1-0sys/kern/kern_exec.c
+99-22 files not shown
+101-28 files

FreeBSD/src 2761de0sys/conf options, sys/kern kern_thread.c

kern: add extended errors support

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D50483
DeltaFile
+58-0sys/sys/exterrvar.h
+25-0sys/sys/_exterr.h
+18-0sys/sys/exterr_cat.h
+4-4sys/kern/kern_thread.c
+3-0sys/sys/proc.h
+1-0sys/conf/options
+109-46 files

FreeBSD/src 7212b37sys/compat/freebsd32 freebsd32.h, sys/kern kern_proc.c

kinfo_proc: report address of extended kernel error structure

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D50483
DeltaFile
+4-0sys/kern/kern_proc.c
+2-1sys/sys/user.h
+1-0sys/compat/freebsd32/freebsd32.h
+7-13 files

FreeBSD/src ab9c944sys/dev/sound/midi sequencer.c

sound: Deprecate the MIDI sequencer

The in-kernel MIDI sequencer is not used anymore, since this is done by
userland applications nowadays. It also contains bugs, and we are not
exactly sure how it works, or if it worked properly in the first place.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 day
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D50606

(cherry picked from commit 799105f53a9647f86dbf08456260d5850851b6f9)
DeltaFile
+4-0sys/dev/sound/midi/sequencer.c
+4-01 files

FreeBSD/src 7944a87sys/dev/drm2/ttm ttm_bo_vm.c

drm2/ttm: Add missing includes to fix arm TEGRA124 build

Fixes:  bcd85e0150c9 ("vm_page: make iter_insert() public")
DeltaFile
+3-1sys/dev/drm2/ttm/ttm_bo_vm.c
+3-11 files

FreeBSD/src 6dd1c06sys/vm vm_page.c

vm_page: use lookup_ge in grab_valid_iter()

To improve performance slightly, use vm_radix_iter_lookup_ge to skip
over several missing pages at once in grab_valid_iter().

Fix a case in which the function could return with the iterator
argument not reset after a lock release/reacquire.

Reviewed by:    alc, markj
Differential Revision:  https://reviews.freebsd.org/D50601
DeltaFile
+13-7sys/vm/vm_page.c
+13-71 files

FreeBSD/src 81df032bin/cp/tests cp_test.sh

cp: Improve to_root test case.

Since the bug we're testing involved path name construction, we don't
need to be root to test it; we can simply check the error message.

Fixes:          537fbf70f12b
Sponsored by:   Klara, Inc.
Reviewed by:    allanjude
Differential Revision:  https://reviews.freebsd.org/D50628
DeltaFile
+9-8bin/cp/tests/cp_test.sh
+9-81 files

FreeBSD/src 6d3d1fccontrib/netcat netcat.c nc.1

netcat: Allow service names to be used.

Someone should really do a vendor import, but it's non-trivial, as we
have local modifications.  In the meantime, here's a nine-year-old
upstream patch which allows service names to be used instead of port
numbers.

MFC after:      1 week
Obtained from:  OpenBSD
Reviewed by:    allanjude
Differential Revision:  https://reviews.freebsd.org/D50348
DeltaFile
+29-13contrib/netcat/netcat.c
+3-3contrib/netcat/nc.1
+32-162 files

FreeBSD/src e3bc87asys/vm vm_pageout.c

vm_pageout: fix pageout_flush

A change just made to vm_pageout_flush wrongly dismissed the variable
'runlen' and used 'count' in its place, with the unintended
consequence of terminating the main loop of the function prematurely
when the first VM_PAGER_AGAIN pageout status was encountered.
Reintroduce that variable, so that the loop runs to completion.

Reported by:    alc
Reviewed by:    alc
Fixes:  f2a193a967e3 ("vm_pageout: reduce number of flush() params")
Differential Revision:  https://reviews.freebsd.org/D50622
DeltaFile
+5-3sys/vm/vm_pageout.c
+5-31 files

FreeBSD/src 3747329sys/contrib/openzfs/lib/libspl/include/sys abd_os.h abd_impl_os.h, sys/contrib/openzfs/lib/libzpool/include/sys abd_os.h

zfs: merge openzfs/zfs at e8e602d98

Notable upstream pull request merges:
 #17381 44e326689 events: include zio type in IO error reports
 #17395 008c9666e Set spa_final_txg in spa_unload()
 #17394 1bd225ed8 abd_os: move headers from libzpool to libspl
 #17399 5764e218b vdev_disk: remove classic IO submission
 #17400 b3b3cd1e4 vdev: skip faulting disks pending removal
 #17406 a38376b37 Rename zvol kernel module parameters sysctls on FreeBSD side
 #17407 2d33c8edb Make rewrite use Uncached I/O

Obtained from:  OpenZFS
OpenZFS commit: e8e602d987b01e7940f698d5fa2b00754609c74b
DeltaFile
+3-278sys/contrib/openzfs/module/os/linux/zfs/vdev_disk.c
+57-2sys/contrib/openzfs/man/man8/zpool-events.8
+17-35sys/contrib/openzfs/module/zfs/zio.c
+0-48sys/contrib/openzfs/lib/libzpool/include/sys/abd_os.h
+48-0sys/contrib/openzfs/lib/libspl/include/sys/abd_os.h
+42-0sys/contrib/openzfs/lib/libspl/include/sys/abd_impl_os.h
+167-36328 files not shown
+246-49034 files

FreeBSD/src 3556ffasys/kern kern_thr.c

kern_thr.c: fix typo

Fixes:  c25ddffc51a1e2c0e03fa
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+1-1sys/kern/kern_thr.c
+1-11 files

FreeBSD/src c25ddffsys/kern kern_thr.c

thr_new(2): check param.flags for reserved bits

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+3-0sys/kern/kern_thr.c
+3-01 files

FreeBSD/src 3a94bbfsys/amd64/amd64 sys_machdep.c, sys/x86/include sysarch.h

amd64: Add AMD64_DISABLE_TLSBASE

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+6-0sys/amd64/amd64/sys_machdep.c
+1-0sys/x86/include/sysarch.h
+7-02 files

FreeBSD/src 6fd3288lib/libsys thr_new.2

thr_new.2: document THR_C_RUNTIME

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+9-0lib/libsys/thr_new.2
+9-01 files

FreeBSD/src 89ca5cdlib/libthr/thread thr_create.c, sys/sys thr.h

thr_new: add a flag indicating that the thread is created by C runtime

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+1-1lib/libthr/thread/thr_create.c
+1-0sys/sys/thr.h
+2-12 files

FreeBSD/src 461afb1share/man/man9 cpu_machdep.9

cpu_machdep.9: update documentation for cpu_set_user_tls()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+10-1share/man/man9/cpu_machdep.9
+10-11 files

FreeBSD/src 2b8b37csys/amd64/amd64 vm_machdep.c, sys/arm/arm vm_machdep.c

thr_new: pass params.flags to cpu_set_user_tls()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+1-1sys/arm64/linux/linux_machdep.c
+1-1sys/amd64/amd64/vm_machdep.c
+1-1sys/arm/arm/vm_machdep.c
+1-1sys/arm64/arm64/vm_machdep.c
+1-1sys/i386/i386/vm_machdep.c
+1-1sys/kern/kern_thr.c
+6-63 files not shown
+9-99 files

FreeBSD/src 16ce7f1sys/amd64/amd64 vm_machdep.c

amd64: set PCB_TLSBASE pcb flag only for new C runtime threads

where the runtime does want the pcb_tlsbase to be set in fsbase in
signal handlers.  This way, other runtimes that are not aware of
pcb_tlsbase get the old behavior of preserving fsbase on calling signal
handler.

For instance, this fixes Go runtime that wants to handle fsbase in its
own way.

Reported by:    Herbert J. Skuhra <herbert at gojira.at>
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-1sys/amd64/amd64/vm_machdep.c
+4-11 files

FreeBSD/src bb625fccontrib/openpam/lib/libpam openpam_constants.c

libpam: Additional module directory.

Many if not most ports that install PAM modules install them into
${LOCALBASE}/lib/security instead of just ${LOCALBASE}/lib, because
all the world is Linux.  Rather than try to fix the ports, add that
directory to the search path.

MFC after:      1 week
Relnotes:       yes
Reviewed by:    delphij
Differential Revision:  https://reviews.freebsd.org/D50626
DeltaFile
+2-0contrib/openpam/lib/libpam/openpam_constants.c
+2-01 files

FreeBSD/src d00a98dcontrib/openpam/lib/libpam openpam_constants.c

libpam: Tweak libcompat case.

Fixes:          45538173c120
DeltaFile
+3-1contrib/openpam/lib/libpam/openpam_constants.c
+3-11 files

FreeBSD/src 93aeb68contrib/atf/atf-c check_test.c, contrib/atf/atf-c/detail fs.c fs_test.c

atf: Don't be deterred by weird umasks.

If the current umask is weird, ATF goes to great lengths to tell us that
it can't possibly work in these conditions, instead of just dealing with
it.  This makes it unreasonably hard to use ATF to test how our own code
handles unusual umasks.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    igoro, kevans, ngie
Differential Revision:  https://reviews.freebsd.org/D50267

(cherry picked from commit 1a6a36a98ad5dc86862541b91686b00cf88e9f76)
DeltaFile
+8-83contrib/atf/atf-c/detail/fs.c
+22-22contrib/atf/atf-c/detail/fs_test.c
+11-13contrib/atf/atf-sh/atf-check_test.sh
+2-6contrib/atf/atf-c/check_test.c
+43-1244 files

FreeBSD/src 83a1ee5contrib/atf/atf-c tc.c atf-c.3, contrib/kyua/engine requirements.cpp

atf, kyua: Implement require.kmods.

This adds a metadata variable, require.kmods, and corresponding functions
or methods in C, C++, and shell, which allow a test to specify that it
requires particular kernel modules to run.  If the kernel modules are not
present, the test is skipped.  One might want to consider a kyua option
which makes it attempt to load the modules instead.

Differential Revision:  https://reviews.freebsd.org/D47470
DeltaFile
+61-0contrib/atf/atf-c/tc.c
+30-0contrib/kyua/engine/requirements.cpp
+22-0contrib/kyua/model/metadata.cpp
+17-1tests/sys/fs/tarfs/tarfs_test.sh
+4-11tests/sys/net/if_wg.sh
+13-1contrib/atf/atf-c/atf-c.3
+147-1312 files not shown
+214-1718 files

FreeBSD/src 4553817contrib/openpam configure ltmain.sh, contrib/openpam/m4 libtool.m4 ltoptions.m4

Upgrade to OpenPAM Zingiber.

Merge commit '86fa5d2f787d1501ec2ef61f19151d4a386baa83' into des/phab
DeltaFile
+4,027-1,441contrib/openpam/configure
+412-324contrib/openpam/ltmain.sh
+275-187contrib/openpam/m4/libtool.m4
+287-159contrib/openpam/aclocal.m4
+68-38contrib/openpam/m4/ltoptions.m4
+70-33contrib/openpam/t/Makefile.in
+5,139-2,18290 files not shown
+5,836-2,60196 files