FreeBSD/src b7e5c2esbin/hastd proto_socketpair.c proto_impl.h

hastd: Use fixed-length protocol names

All communication between hastd nodes and internally between hastd and
its worker children passes through the same pair of send / receive
functions.  The receive function uses recv(2) with the MSG_WAITALL flag,
which in theory means we should never get a short read.  However, when
handing off a socket to a worker child, we also pass a variable-length
string identifying the type of socket we're passing, and reading this
string relies on a short read.  This used to work because the arrival of
the descriptor would interrupt the recv(2) call, but this bug was fixed
when the AF_UNIX code was rewritten a while ago and hastd has been
broken ever since.

Fixing the length of the protocol name to four characters including the
terminating null solves the short-read bug by never requiring a short
read (nothing else in hastd requires one).

Note that this issue appears to have been reported independently first
by Alessandro Sagratini in PR 234576 and then by Martin Vidovic in

    [9 lines not shown]
DeltaFile
+5-10sbin/hastd/proto.c
+1-1sbin/hastd/proto_socketpair.c
+1-1sbin/hastd/proto_impl.h
+7-123 files

FreeBSD/src 120aa08. config.h.in configure, services mesh.c authzone.c

import unbound 1.26.1
DeltaFile
+3,518-3,462util/configlexer.c
+1,936-2,732configure
+2,070-2,037util/configparser.c
+186-196config.h.in
+177-67services/authzone.c
+73-75services/mesh.c
+7,960-8,56949 files not shown
+8,796-8,75655 files

FreeBSD/src d2ad1c3sys/dev/acpica acpi.c

acpi: Increase length of time (1s -> 5s) for quirk

The ACPI quirk on Framework Laptop 12 firmware was previously clocked
at ~620 ms for a Notify 0x80 replayed on power-button press to wake.

However, when KMS is not loaded, that very same notification comes in
past the 1s we previously allowed.

Use the already-defined ACPI_MINIMUM_AWAKETIME (5) seconds as our new
boundary so that we can successfully come out of S3 on this hardware.

Introduce new tunable hw.acpi.button_replay_window

Reviewed by:    obiwac, olce
Differential Revision:  https://reviews.freebsd.org/D59583
DeltaFile
+31-15sys/dev/acpica/acpi.c
+31-151 files

FreeBSD/src c91777fusr.sbin/ppp tty.c radius.c

ppp: Fix address leaks

Avoid printing timer addresses, so as to not divulge information about
the address space layout.

In ip.c, print the actual SPI instead of a pointer to the SPI in the
header buffer.

When debug logging is enabled, don't leak pointers when logging function
arguments or return values.

Reported by:    Reo Shiseki
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
DeltaFile
+11-8usr.sbin/ppp/timer.c
+4-4usr.sbin/ppp/ip.c
+2-2usr.sbin/ppp/radius.c
+2-2usr.sbin/ppp/id.c
+1-2usr.sbin/ppp/tty.c
+20-185 files

FreeBSD/src 7a17566sys/netinet tcp_sack.c tcp_subr.c

tcp: Create fewer per-VNET zones

We have a problem in UMA where creating new zones requires a traversal
of all existing zones (in order to find a unique name for the vm.uma
sysctl subtree).  This means that per-VNET UMA zones can be expensive to
create if one creates many VNET jails in a row.  This itself is a
problem, but I don't see a quick solution.

Ideally we would avoid creating per-VNET zones in the first place
(except when the desire to impose per-VNET limits necessitates this),
and it turns out that the TCP fastopen and SACK code create several of
these for no apparent reason.

So: make fastopen and SACK zones global.  Move some fastopen structure
definitions into tcp_fastopen.c, as they don't need to be public.

Reported by:    bapt ("creating many VNET jails in a row is slow")
Reviewed by:    tuexen, glebius
MFC after:      3 weeks
Differential Revision:  https://reviews.freebsd.org/D59708
DeltaFile
+52-26sys/netinet/tcp_fastopen.c
+8-37sys/netinet/tcp_fastopen.h
+11-10sys/netinet/tcp_subr.c
+3-4sys/netinet/tcp_sack.c
+74-774 files

FreeBSD/src 84141e3usr.bin/sort sort.1.in

sort.1: Fix default memory buffer size

PR:             261496
Fixes:          554442439dd0 ("Change the memory heuristics")
MFC after:      3 days
Reported by:    wosch

(cherry picked from commit 4fb4be7e36428058c6abaa29f359b3d70ae60f0a)
DeltaFile
+1-1usr.bin/sort/sort.1.in
+1-11 files

FreeBSD/src 9d0db3cshare/man/man3 pthread_mutex_consistent.3

pthread_mutex_consistent.3: Fix typo + tag SPDX

PR:             298044
MFC after:      3 days

(cherry picked from commit ef3e7d4054db562b04669f36f87f385127fbd03e)
DeltaFile
+4-1share/man/man3/pthread_mutex_consistent.3
+4-11 files

FreeBSD/src 9780b67share/man/man4 tpm.4

tpm.4: Canonicalize SYNOPSIS and HARDWARE

(cherry picked from commit f49dc19881d853b26dd675127f579f923dc87de2)
DeltaFile
+13-19share/man/man4/tpm.4
+13-191 files

FreeBSD/src c9503a5share/man/man4 tslog.4

tslog.4: Canonicalize SYNOPSIS

Also, add the missing blank comment line at the top of the file.

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit dc867c353c8b423131f7f6a7f687c86713bf0666)
DeltaFile
+2-5share/man/man4/tslog.4
+2-51 files

FreeBSD/src c5beef4share/man/man4 udl.4

udl.4: Canonicalize SYNOPSIS

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 7b70103a6303b53ea8130cfbb89a3eb2e476e2e5)
DeltaFile
+4-12share/man/man4/udl.4
+4-121 files

FreeBSD/src 7aa9728share/man/man4 ucycom.4

ucycom.4: Canonicalize SYNOPSIS

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit c64f6133ff083feb1c9451e12af5b7de0c2d6a41)
DeltaFile
+6-14share/man/man4/ucycom.4
+6-141 files

FreeBSD/src f03b08cshare/man/man4 ubser.4

ubser.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 372b94623ca48d7ceae02175b5ffd635e62c2c58)
DeltaFile
+8-13share/man/man4/ubser.4
+8-131 files

FreeBSD/src 61d9d5fshare/man/man4 ucom.4

ucom.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 08ab66b3f69391e753c6f5449105d61ce81cd0ed)
DeltaFile
+14-11share/man/man4/ucom.4
+14-111 files

FreeBSD/src 5b360feshare/man/man4 ubtbcmfw.4

ubtbcmfw.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 28bbe93c5bb5e6fb34bf680341faa9c869417320)
DeltaFile
+6-11share/man/man4/ubtbcmfw.4
+6-111 files

FreeBSD/src 6376ac7share/man/man4 udav.4

udav.4: Canonicalize SYNOPSIS + "Fast" Ethernet

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 6fe1d51aedb086e49bb338ed87861abdcce416f2)
DeltaFile
+12-20share/man/man4/udav.4
+12-201 files

FreeBSD/src c6793d2share/man/man4 udbp.4

udbp.4: Canonicalize SYNOPSIS, structure, SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit bba2aebcebc1d46b15e1b6d86c041186dc8d49f0)
DeltaFile
+33-61share/man/man4/udbp.4
+33-611 files

FreeBSD/src 92da9b3share/man/man4 uath.4

uath.4: Canonicalize FIRMWARE -> FILES

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 2b67a5b5273e0af7c9dbf9f92b2b8c7b1940f9c3)
DeltaFile
+11-11share/man/man4/uath.4
+11-111 files

FreeBSD/src 04464e9share/man/man4 uath.4

uath.4: Canonicalize SYNOPSIS

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 2c92e4c931e7f12f1dc9b82036b26295c1f4d37e)
DeltaFile
+8-16share/man/man4/uath.4
+8-161 files

FreeBSD/src 3eadc1cshare/man/man4 ubsa.4

ubsa.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 01e9a8bc8a124d3e19280d82b1ce16bd69237627)
DeltaFile
+7-13share/man/man4/ubsa.4
+7-131 files

FreeBSD/src 7d350cashare/man/man4 uark.4

uark.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit ca87782318d2e14bb07acfacd11c0be63a5e64a6)
DeltaFile
+8-13share/man/man4/uark.4
+8-131 files

FreeBSD/src 5a20fcashare/man/man4 vmx.4

vmx.4: Canonicalize device number

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 1bf7d54e416cad3c89eed0e781a85d15e6864920)
DeltaFile
+9-9share/man/man4/vmx.4
+9-91 files

FreeBSD/src c54f685share/man/man4 u3g.4

u3g.4: Canonicalize SYNOPSIS, fix stray hyphen

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 7ec06b4d9726188c7315cf1b2d5b69fec4a385b4)
DeltaFile
+6-17share/man/man4/u3g.4
+6-171 files

FreeBSD/src ed0adb2usr.sbin/wpa/wpa_supplicant wpa_supplicant.8

wpa_supplicant.8: Renew SEE ALSO + tag SPDX

- remove old wifi drivers, these are very old and we have many more
- add quick start guide to connecting to wifi

Event:                  EuroBSDCon 2026
MFC after:              3 days
Reviewed by:            bz, emaste
Differential Revision:  https://reviews.freebsd.org/D59615

(cherry picked from commit d5c09e32ce8aa625ab9429c5fe87137fb92bff53)
DeltaFile
+5-9usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
+5-91 files

FreeBSD/src f7550efshare/man/man4 hgame.4 xb360gp.4

game controller manuals: Canonicalize SYNOPSIS

While here, tag SPDX.

Event:                  EuroBSDcon Devsummit 2026
MFC after:              3 days
Reviewed by:            wulf
Differential Revision:  https://reviews.freebsd.org/D59256

(cherry picked from commit b7541acacb662436591277977317072a4eaa6dc3)
DeltaFile
+23-16share/man/man4/ps4dshock.4
+19-17share/man/man4/xb360gp.4
+7-5share/man/man4/hgame.4
+49-383 files

FreeBSD/src 7e81330usr.bin/sort sort.1.in

sort.1: Fix default memory buffer size

PR:             261496
Fixes:          554442439dd0 ("Change the memory heuristics")
MFC after:      3 days
Reported by:    wosch

(cherry picked from commit 4fb4be7e36428058c6abaa29f359b3d70ae60f0a)
DeltaFile
+1-1usr.bin/sort/sort.1.in
+1-11 files

FreeBSD/src 6465136usr.sbin/pw pw.conf.5

pw.conf: Describe better + tag SPDX

MFC after:              3 days
Reported by:            Artem Bunichev <temcbun at gmail.com>
Differential Revision:  https://reviews.freebsd.org/D58329

(cherry picked from commit 0e390df45468f19191775083a1505e3eb042f6bc)
DeltaFile
+5-2usr.sbin/pw/pw.conf.5
+5-21 files

FreeBSD/src 3bfbd10share/man/man4 tun.4

tun.4: Canonicalize SYNOPSIS and AUTHORS

While here, s/PR#2411/NetBSD PR#2411/ in the comments for clarity.
I had to go to netbsd sources to get this information.

MFC after:      3 days
Event:          Berlin Hackathon 202609

(cherry picked from commit 555972c6c94721bffbff1ecb51d916977b5c85f7)
DeltaFile
+6-15share/man/man4/tun.4
+6-151 files

FreeBSD/src f319d27share/man/man4 nvd.4

nvd.4: Canonicalize SYNOPSIS, TUNABLES, tag SPDX

MFC after:      3 days
Event:          Berlin Hackathon 202609

(cherry picked from commit 04f53c5fa4cc8109fb263c6eed3b3c45099411f5)
DeltaFile
+13-22share/man/man4/nvd.4
+13-221 files

FreeBSD/src 2f3f46ashare/man/man4 ntb_hw_intel.4

ntb_hw_intel.4: Canonicalize SYNOPSIS + tag SPDX

MFC after:      3 days

(cherry picked from commit 6acf0797ea179228149586763c02f258f95a5454)
DeltaFile
+6-10share/man/man4/ntb_hw_intel.4
+6-101 files

FreeBSD/src 3679d1ashare/man/man4 ntb.4

ntb.4: Canonicalize SYNOPSIS and LOADER TUNABLES

Also tag SPDX, and switch X to %d for clarity and consistency.

MFC after:      3 days

(cherry picked from commit 9cdadb31f30251552e112a6fba23acfc6de5cc8b)
DeltaFile
+19-21share/man/man4/ntb.4
+19-211 files