FreeBSD/src 136053fshare/man/man5 elf.5 src.conf.5

elf.5: Add description of .ctors and .dtors

Reviewed by:    kib
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50536
DeltaFile
+15-1share/man/man5/elf.5
+1-1share/man/man5/src.conf.5
+16-22 files

FreeBSD/src 79537a9release Makefile

release: Add some comments and tidy dist set targets

Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50458
DeltaFile
+9-6release/Makefile
+9-61 files

FreeBSD/src 8e5eacbstand/common bootstrap.h

stand: Update comment

Some routines are necessary, so note that.

Sponsored by:           Netflix
DeltaFile
+2-1stand/common/bootstrap.h
+2-11 files

FreeBSD/src 61f46c6tools/build/options WITHOUT_LLVM_TARGET_SPARC WITH_LLVM_TARGET_SPARC

Remove LLVM_TARGET_SPARC descriptions

Support for WITH_/WITHOUT_LLVM_TARGET_SPARC was removed in commit
47e9f42ea39b ("Remove sparc64 specific buid-system hacks") so the
descriptions serve no purpose.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-4tools/build/options/WITHOUT_LLVM_TARGET_SPARC
+0-4tools/build/options/WITH_LLVM_TARGET_SPARC
+0-82 files

FreeBSD/src 8cf4ac0stand/kboot/kboot main.c

stand/kboot: Remove _end forward decl

We don't need/use it.

Sponsored by:           Netflix
DeltaFile
+0-1stand/kboot/kboot/main.c
+0-11 files

FreeBSD/src 2617819stand/userboot/userboot main.c

stand/userboot: Initialize archsw at compile time

Sponsored by:           Netflix
DeltaFile
+10-10stand/userboot/userboot/main.c
+10-101 files

FreeBSD/src 36b05c0stand/powerpc/ofw main.c

stand/powerpc/ofw: Initialize archsw at compile time

There's no real reason to do this at runtime.

Sponsored by:           Netflix
DeltaFile
+15-8stand/powerpc/ofw/main.c
+15-81 files

FreeBSD/src c4270eastand/powerpc/ofw main.c

stand/powerpc/ofw: Remove bogus end decl

This likely used to be needed for some code here, or maybe it's been
here since it was copied from elsewhere that did neeed it. Remove it.

Sponsored by:           Netflix
DeltaFile
+0-2stand/powerpc/ofw/main.c
+0-21 files

FreeBSD/src 5b90ffastand/i386/zfsboot zfsboot.c

stand/i386/zfsboot: Initialzie archsw at compile time.

Also, add a comment about the weird reason we even have an archsw here
at all. tl;dr: zfs code uses archsw when it aught not, but this hack
here is easier than fixing that code properly.

Sponsored by:           Netflix
DeltaFile
+10-10stand/i386/zfsboot/zfsboot.c
+10-101 files

FreeBSD/src 7429d61stand/kboot/kboot main.c

kboot: Initialize archsw at compile time

No need to initialize this at runtime. This trades .bss space + code in
.text for just .data and is net smaller.

Sponsored by:           Netflix
DeltaFile
+10-10stand/kboot/kboot/main.c
+10-101 files

FreeBSD/src 62d1ec7stand/i386/loader main.c

stand/i386: Initialize archsw at compile time

No need to initialize this at runtime. This trades .bss space + code in
.text for just .data and is net smaller by 4 bytes.

Sponsored by:           Netflix
DeltaFile
+21-17stand/i386/loader/main.c
+21-171 files

FreeBSD/src e94f269stand/efi/loader main.c

stand/efi: Initialize archsw at compile time

Sponsored by:           Netflix
DeltaFile
+11-11stand/efi/loader/main.c
+11-111 files

FreeBSD/src b33f618stand/uboot main.c

stand/uboot: Move archsw init to compile time

Sponsored by:           Netflix
DeltaFile
+9-8stand/uboot/main.c
+9-81 files

FreeBSD/src 8133665stand/uboot main.c

stand/uboot: Remove unneeded _etext and _edata
DeltaFile
+0-2stand/uboot/main.c
+0-21 files

FreeBSD/src 06a894cstand/uboot main.c

stand/uboot: Remove unneeded nitems definition

Also, remove the trailing white space that was introduced in the same
commit as the nitems fallback definition.

Sponsored by:           Netflix
DeltaFile
+5-9stand/uboot/main.c
+5-91 files

FreeBSD/src 3ea0fa8sys/modules Makefile

buildkernel: fix build for kernels without VIMAGE

Fixes:  9b5ddb2accfc80f70a0da52444008ebabef2a9ee
DeltaFile
+4-1sys/modules/Makefile
+4-11 files

FreeBSD/src 07b7bcfshare/man/man5 src.conf.5

Revert "src.conf: regen"

This reverts commit 9ce5410b9094f9a2dce72e86a70fd086acdb3ff6.  makeman
is actually sensitive to the host architecture it's run on, which may
result in silly little diffs like this.  Likely we should pin it to
amd64/amd64 or something for consistency in future updates.

Reported by:    emaste
Diagnosis by:   Mark Millard
DeltaFile
+17-17share/man/man5/src.conf.5
+17-171 files

FreeBSD/src a40e695tests/sys/kern socket_splice.c

socket_splice tests: Explicitly bind to the loopback address

Otherwise, when connecting to the value returned by getsockname(), we
inadvertently end up connecting to INADDR_ANY, which stopped working
after commit cd240957d7ba ("netinet: Disallow connections to
INADDR_ANY").

Fixes:  cd240957d7ba ("netinet: Disallow connections to INADDR_ANY")
DeltaFile
+2-2tests/sys/kern/socket_splice.c
+2-21 files

FreeBSD/src e57eeafshare/man/man3 pthread_signals_block_np.3 pthread_np.3

pthread_signals_block_np(3): document

(cherry picked from commit 1393f9a36b9c471d4af3518a3d3bb56c2a6adc58)
DeltaFile
+81-0share/man/man3/pthread_signals_block_np.3
+6-0share/man/man3/pthread_np.3
+3-0share/man/man3/Makefile
+90-03 files

FreeBSD/src c200e18sys/kern kern_fork.c

kern_fork.c: style

(cherry picked from commit 9137de9a1b5fdbd77880344820d55e2f05883e53)
DeltaFile
+1-1sys/kern/kern_fork.c
+1-11 files

FreeBSD/src 39f4425include pthread_np.h, lib/libthr/thread thr_switch_np.c

pthread_switch_add_np(3): remove

(cherry picked from commit c0fdd2bf944bb646116c6cd9879560579ebaa563)
DeltaFile
+0-86share/man/man3/pthread_switch_add_np.3
+0-10share/man/man3/pthread_np.3
+0-7include/pthread_np.h
+4-1lib/libthr/thread/thr_switch_np.c
+0-2share/man/man3/Makefile
+4-1065 files

FreeBSD/src b318894include pthread_np.h, lib/libthr pthread.map

libthr: add stable user interface for sigfastblock(2)

(cherry picked from commit 31760ee65ae3e79434fb257d93e17a6de6021f48)
DeltaFile
+19-0lib/libthr/thread/thr_sig.c
+2-0include/pthread_np.h
+2-0lib/libthr/pthread.map
+23-03 files

FreeBSD/src 9ce5410share/man/man5 src.conf.5

src.conf: regen

This appears to be reflecting the default witch for LLVM_BINUTILS in
1cae7121c667d9 ("Enable LLVM_BINUTILS by default").
DeltaFile
+17-17share/man/man5/src.conf.5
+17-171 files

FreeBSD/src 0596b4asys/kern vfs_cache.c

vfs_cache.c: Use CACHE_FPL_SUPPORTED_CN_FLAGS

Commit 2ec2ba7e232d added some code to cache_can_fplookup()
which worked (ensuring an abort when OPENNNAMED was set),
but showed I didn't understand what
CACHE_FPL_SUPPORTED_CN_FLAGS was used for.

This patch cleans it up.

Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D50524
Fixes:  2ec2ba7e232d ("vfs: Add VFS/syscall support for Solaris style extended attributes")
DeltaFile
+1-5sys/kern/vfs_cache.c
+1-51 files

FreeBSD/src b0ada42libexec/rc safe_eval.sh

safe_eval allow : and + in values
DeltaFile
+14-3libexec/rc/safe_eval.sh
+14-31 files

FreeBSD/src 68e3875sys/vm vm_object.c

vm_object: drop reverse walk from collect_flush

In vm_object_page_collect_flush, following a forward walk from page p
seeking more pages to which vm_object_page_remove_write might be
applied, a backward walk from page p is attempted. It never finds a
page, and so this change removes that walk, and renames the function
to better indicate its use for one specific application only.

It never finds a page because collect_flush() is only called from one
place, in vm_object_page_clean(). If there was a page p-1 to be found,
then either it is less than tstart, or it would have been found in the
previous iteration. If it less than tstart, then page_clean()
shouldn't be messing with it. If it was found in the previous
iteration, then vm_object_page_collect_flush() would have been called
in that iteration, and page p would have been the first page in the
forward walk from p-1, and it would have been processed then, and so p
would not be passed to vm_object_page_collect_flush now.

Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D50517
DeltaFile
+26-43sys/vm/vm_object.c
+26-431 files

FreeBSD/src 142bcdasys/vm vm_page.c

vm_page: drop mpred from grab_valid_iter()

Variable mpred in vm_page_grab_valid_iter() has become a write-only
variable. Drop it.

In grab_valid_iter(), drop a pctrie_iter_reset() call already handled
in vm_page_alloc_iter().

Reviewed by:    alc
Differential Revision:  https://reviews.freebsd.org/D50424
DeltaFile
+3-5sys/vm/vm_page.c
+3-51 files

FreeBSD/src fae33d1lib/libsys open.2

open.2: add a note about conversion of a file descriptor into O_PATH

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D50511
DeltaFile
+7-0lib/libsys/open.2
+7-01 files

FreeBSD/src 8aad1e6usr.bin/systat main.c, usr.bin/top machine.c

systat/top: Update ZFS sysctl names

Some of ARC statistic sysctls changed years ago, but those tools
are still using legacy shims, that are going to be removed.

MFC after:      3 days
DeltaFile
+3-3usr.bin/systat/main.c
+3-3usr.bin/top/machine.c
+6-62 files

FreeBSD/src 249f14csys/net80211 ieee80211_scan.c ieee80211_wds.c

net80211: remove direct references to ifp->if_xname

* change ieee80211_get_vap_ifname() to use if_name()
* migrate the other references of ifp->if_xname to
  ieee80211_get_vap_ifname()

Differential Revision:  https://reviews.freebsd.org/D50407
Reviewed by:    bz
DeltaFile
+2-2sys/net80211/ieee80211_scan.c
+1-1sys/net80211/ieee80211_wds.c
+1-1sys/net80211/ieee80211_freebsd.c
+4-43 files