FreeBSD git weekly: 2026-07-27 to 2026-08-02

Introduction

This is a display of mostly-automatically-classified git commits from 2026-07-27 to 2026-08-02.

This report is still in progress.

DEBUG: This version of the report is primarily for checking the classifiers, and therefore contains extra information (in this colour).

Table of contents and commits per category:

(1) Highlighted commits (these are copies, not in stats)
3 8.8% Userland programs
4 11.8% Documentation
3 8.8% Hardware support
1 2.9% Networking
3 8.8% System administration
3 8.8% Libraries
1 2.9% Filesystems
5 14.7% Kernel
2 5.9% Build system
0 0.0% Internal organizational stuff
3 8.8% Testing
2 5.9% Style, typos, and comments
4 11.8% Contrib code
0 0.0% Reverted commits
0 0.0% Unclassified commits
34 100% total
Technical notes about this page

debug: info about the automatic classification

num % num changed stage
2 5.9% 0 01-style
6 17.6% 0 02-filenames_wildcards
3 8.8% 0 02b-filenames_wildcards2
11 32.4% 0 03-filenames_plain1
7 20.6% 0 04-filenames_plain2
2 5.9% 0 05-summary-prefix
2 5.9% 0 Manually-classified commits
1 2.9% 0 Unclassified commits

debug: more stats

num % stage
0 0.0% Misclassified commits
31 91.2% Classified commits, no corrections

debug: groups

0 0.0% num in revert
1 2.9% num in fixes
5 14.7% num in consecutive
6 17.6% Commits in groups

Highlighted commits

For extra visibility, these are copies of commits found in other sections. Most (if not all) come from the commit message containing "Relnotes:", or commits modifying UPDATING.

rc.subr: Fix premature return from wait_for_pids
Use pwait's new -r option to wait until the target processes have not
only terminated, but also been reaped.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293183
MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D58391
356d0b79cf6fc693ed1a5564232e240ce15ccb8a Dag-Erling Smørgrav 2026-07-27 10:15:47

debug: classified in 03-filenames_plain1 by 'libexec/'

Userland programs

Commits about commands found in man section 1 (other than networking).

Commit group #0: rc.subr: Fix premature return from wait_for_pids
pwait: Optionally wait until process is reaped

If the new -r option is specified, wait until the target process not
only terminates but is reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58314
c8f5e6819d4d81906c4a1641b5c9f02d8730481c Dag-Erling Smørgrav 2026-07-27 10:15:31

debug: classified in 03-filenames_plain1 by 'bin/'


pwait: Add a SIGINFO handler

On SIGINFO, print a space-separated list or remaining processes to
standard error.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58386
eddd8aa99ca84c85faea5761af800b5b089d6ba1 Dag-Erling Smørgrav 2026-07-27 10:15:36

debug: classified in 03-filenames_plain1 by 'bin/'


rc.subr: Fix premature return from wait_for_pids

Use pwait's new -r option to wait until the target processes have not
only terminated, but also been reaped.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293183
MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D58391
356d0b79cf6fc693ed1a5564232e240ce15ccb8a Dag-Erling Smørgrav 2026-07-27 10:15:47

debug: classified in 03-filenames_plain1 by 'libexec/'


Bump dates

Fixes:          https://cgit.freebsd.org/src/commit/?id=c8f5e6819d4d ("pwait: Optionally wait until process is reaped")
Fixes:          https://cgit.freebsd.org/src/commit/?id=eddd8aa99ca8 ("pwait: Add a SIGINFO handler")
Fixes:          https://cgit.freebsd.org/src/commit/?id=356d0b79cf6f ("rc.subr: Fix premature return from wait_for_pids")
9d852922f6687ce9a699efe5e09e3634923b2b60 Dag-Erling Smørgrav 2026-07-27 10:26:41

debug: moved to admin because 'Need to be grouped with 356d0b79cf6fc693ed1a5564232e240ce15ccb8a'

kdump: Treat a flags argument of 0 to shmat as valid
Sponsored by: AFRL, DARPA
c13a9982b56f873c7aa3374a69f6aa296a2d1968 John Baldwin 2026-07-27 18:09:03

debug: classified in 04-filenames_plain2 by 'usr.bin/'

Documentation

Man pages, release notes, etc.

pthread_cond_wait.3: describe spurious wakeups
Reviewed by:  markc
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58458
3c6f63902b037e36648fae435d4d5f56f9dc389b Konstantin Belousov 2026-07-25 20:02:24

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

mknod.2: update the man page
State that FIFOs can be created, document the requirement that
dev must be zero then.  Mention whiteouts.

PR:     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297082
Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D58478
4090d103b0c31b44b269e0ccf758be5cfba3f60c Konstantin Belousov 2026-07-27 14:14:51

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

_umtx_op.2: document the CVWAIT_UMTX_TIME flag for the UMTX_OP_CV_WAIT_UC request
Reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58463
f4a05f37936e422b1e8f4f127253562d3f58f50c Konstantin Belousov 2026-07-26 00:00:30

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

pthread_cond_timedwait.3: use .Fo/.Fc for long arguments list
Reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58463
6d3db07a2e2f4288b7e54af8e8371f9a022e751f Konstantin Belousov 2026-07-25 23:53:11

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

Hardware support

Hardware drivers and architecture-specific code.

xhci: Fix packet xfer larger than 64kb
Previously, multiple frames of xfers are split into many tds. In the
refactor process, we forget to consider this. The td builder is already
allocate with enough numbers of tds. What we need to do is to fill the
normal trbs for muiltiple tds when building trbs.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297053
Tested by:      phk, oleglelchuk@gmail.com
Fixes:  https://cgit.freebsd.org/src/commit/?id=e0b235ecd4fa ("xhci: Refactor xhci_generic_setup code")
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58465
e3e56236bcae96a44dc47be5e3a7ffac3322b49f ShengYi Hung 2026-07-26 06:35:11

debug: classified in 03-filenames_plain1 by 'sys/dev/'

sound: Propagate error value from dsp_make_dev()
It is better to propagate it to pcm_register(), and later to the device
drivers, than to simply ignore it and return ENXIO.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
a46c92aad16bf6c9d6c3967c8af3e8b3bdb59cda Christos Margiolis 2026-07-27 14:31:10

debug: classified in 03-filenames_plain1 by 'sys/dev/'

sound: Add missing newline in dsp_make_dev()'s device_printf()
Sponsored by: The FreeBSD Foundation
MFC after:      1 week
2a2705a637cd67d0add7fe795fef9b7a722d76bd Christos Margiolis 2026-07-27 15:52:09

debug: classified in 03-filenames_plain1 by 'sys/dev/'

Networking

Network-related commands, library, and kernel.

inpcb: declare struct in_conninfo as a single declaration
This removes just one level of #define mess that is needed to reach into
an inpcbs IPv4 address.  And makes the declaration easier to read.  No
functional change.

Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D58273
698402f4f97ce3bbe8130382c0bb16d48a87ff63 Gleb Smirnoff 2026-07-27 19:28:08

debug: classified in 03-filenames_plain1 by 'sys/netinet/'

System administration

Stuff in man section 8 (other than networking).

fwget: update MediaTek firmware listings to match ports
Update fwget(8) to download wifi-firmware-mt76-kmod-mt7921, and
wifi-firmware-mt76-kmod-mt7925 firmware packages instead of the
no longer available mt792x version.
Add another PCI vendor to recognize ITTIM IDs for mt7921-based
MediaTek cards.

(bz reduced the license in the ittim file to an SPDX tag and updated
the commit message, given this is only half the work from the review)

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D57242
7925256edc74a8c60435dce1c2c2a8f3dd1ef1a3 Jim Chen 2026-07-27 12:47:53

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

Libraries

libsysdecode: use local sysdecode.h
Replace <sysdecode.h> with "sysdecode.h" so local builds use the in-tree header
in lib/libsysdecode instead of a stale installed copy in /usr/include, avoiding
build failures after updating sysdecode.h.

Signed-off-by:  Ishan Agrawal <iagrawal9990@gmail.com>
Sponsored-by:   Google LLC (GSoC 2026)
Reviewed by:    kp
Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2338
5c1461a2b0fdf845292681aa46b56c620da57e25 Ishan Agrawal 2026-07-24 13:27:59

debug: classified in 04-filenames_plain2 by 'lib/'

libsysdecode: decode combined Netlink message flags
Change sysdecode_nlm_flag() to decode Netlink message flags as a
bitmask instead of looking up a single flag value. This correctly
prints combinations of NLM_F_* flags while preserving any unknown
bits in hexadecimal.

Reported by:    androvonx95 <androvonx95@tutamail.com>
Reviewed by:    kp
Signed-off-by:  Ishan Agrawal <iagrawal9990@gmail.com>
Sponsored-by:   Google LLC (GSoC 2026)
407b7bcc93862fe0c026e254bac8ec0e8318e7e6 Ishan Agrawal 2026-07-23 02:29:48

debug: classified in 04-filenames_plain2 by 'lib/'

libthr: implement pthread_cond_clockwait(3)
Reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58463
e1136fbcab184b8fb87456ca0d115d502bab6643 Konstantin Belousov 2026-07-25 23:45:11

debug: classified in 05-summary-prefix by 'lib.*:'

Filesystems

nfs_commonkrpc.c: Handle NFSERR_DELAY for Sequence correctly
Unlike RFC5661 (the original NFSv4.1 RFC), RFC8881 specifies
that a NFS4ERR_DELAY reply to the SEQUENCE operation requires
a reply using the same slot/sequence#.

This patch fixes handling of this case, so it conforms to
RFC8881.

Reported by:    J. David (j.david.lists@gmail.com)
Tested by:      J. David (j.david.lists@gmail.com)
MFC after:      1 week
6901cbbd5a2c00d378a7f87426b36d6ee6ce0aa2 Rick Macklem 2026-07-27 14:16:29

debug: classified in 03-filenames_plain1 by 'sys/fs/'

Kernel

Kernel stuff (other than networking, filesystems, and drivers).

kqueue: Add NOTE_REAP
Add a NOTE_REAP event for EVFILTER_PROC which provides a notification
when the process is reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58313
2bacbbecb165dd761ea7ec2fc35630db61508cdf Dag-Erling Smørgrav 2026-07-27 10:15:26

debug: Commit manually moved from "unknown" to "kernel".

umtx_op(2): add the CVWAIT_UMTX_TIME flag for the UMTX_OP_CV_WAIT_UC request
Reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58463
d738f66fab9208ee3bccea5fed293d8ce3ee5ca3 Konstantin Belousov 2026-07-25 22:30:37

debug: classified in 04-filenames_plain2 by 'sys/'

getfhat: Add missing 'const' to path argument
This matches the documented prototype and avoids spurious
-Wincompatible-pointer-types-discards-qualifiers warnings when passing
a constant pathname.

Sponsored by:   AFRL, DARPA
09da0899551a63ce3eb841e4ce4385b6e48dd4ec John Baldwin 2026-07-27 18:09:03

debug: classified in 04-filenames_plain2 by 'sys/'

Regenerate after fixing getfhat(2) prototype
9bf1bcf7491de99e4b0a8dd2ba8c61d5603ab407 John Baldwin 2026-07-27 18:09:03

debug: Commit manually moved from "unknown" to "kernel".

geom_zero(4): reset the uio vector on each uiomove()
PR:   https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297062
Tested by:      Jordan Gordeev <jgopensource@proton.me>
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58472
34ca5a9e7362b0c820fe339daa2b8d06c58b6fea Konstantin Belousov 2026-07-26 21:45:07

debug: classified in 04-filenames_plain2 by 'sys/'

Build system

krb5: Install profile.h again
Commit 1876de606eb8 exposed missing symbols that the port security/krb5
installed that the base system did not install. Part of the solution
was to make libprofile.so private (not libprofile.a) just as the port
does, Red Hat Enterprise Linux does, and as installing MIT KRB5 by hand
does. The actual fix for this was to put symbols and their corresponding
functions into the correct librarires, i.e. libkrb5.so and othes, just
as the port, Red Hat, and manually installed via tarball do.

Unfortunately INTERNALLIB disables the include of bsd.incs.mk and the
install of header files. This is still needed to install profile.h into
/usr/include (just as the port installs it into ${LOCALBASE}/include
and RHEL installs it in /usr/include). This commit fixes this by
installing profile.h into /usr/include from the krb5/include Makfile.

Reported by:    fluffy
Tested by:      fluffy
Reviewed by:    fluffy
Fixes:          https://cgit.freebsd.org/src/commit/?id=1876de606eb8
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D58286
cf3eeeb75ceb7428c351218e6bd755e11613a633 Cy Schubert 2026-07-16 16:28:15

debug: classified in 02-filenames_wildcards by '.*Makefile'

pthread_cond_timedwait.3: document pthread_cond_clockwait(3)
Reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58463
e7015a3834abe0956e9a8ec6ec4b8e75ea7d71ab Konstantin Belousov 2026-07-25 23:56:03

debug: classified in 02-filenames_wildcards by '.*Makefile'

Internal organizational stuff

-- no commits in this category this week --

Testing

Commit group #1: pwait: Test the new -r option
pwait: Test the new -r option

Test that pwait without -r reports a process as soon as it terminates,
while pwait with -r does not report it until it has been reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D58385
e115066370dcfec410d914362756d09c268a5b4e Dag-Erling Smørgrav 2026-07-27 10:15:41

debug: classified in 02b-filenames_wildcards2 by 'bin/.*/tests/.*'


pwait: Fix pwait_normal test case

Reported by:    markj
Fixes:          https://cgit.freebsd.org/src/commit/?id=e115066370dc ("pwait: Test the new -r option")
51c0cdb04919f776516a7fac8529e7279ea5efad Dag-Erling Smørgrav 2026-07-27 18:51:50

debug: classified in 02b-filenames_wildcards2 by 'bin/.*/tests/.*'

tests/ktls: merge two sysctl checking helpers into one
No functional change.
801c0f383c0a719165c21ff5c29f231fb7b920c4 Gleb Smirnoff 2026-07-27 17:31:24

debug: classified in 02b-filenames_wildcards2 by 'tests\/.*'

Style, typos, and comments

These could go in other categories, but it's more clear if they're here instead.

libthr/thread/thr_umtx.c: style _thr_ucond_wait()
Reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58463
196cc005b197ab8bf5044c3fc457697986a14b39 Konstantin Belousov 2026-07-25 21:37:55

debug: classified in 01-style by '[sS]tyle'

libthr/thread/thr_cond.c: some style
Also use bool for the 'cancel' argument for cond_wait_common().

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58463
149d3e5fcb76bff86d4343b7378258e9a6d3e25b Konstantin Belousov 2026-07-26 00:07:37

debug: classified in 01-style by '[sS]tyle'

Contrib code

mt76: update script to to deal with 7921 and 7925 flavors
Update the mt76/zzz_fw_ports_fwget.sh script to set fwget to download
mt7921 and mt7925 rather than the these days non-existent mt792x flavor.

Sponsored by:   The FreeBSD Foundation
MFC after:      30 days
Differential Revision: https://reviews.freebsd.org/D57242
b1f3726f7a677ae230135d19491ce97f2866e7c2 Jim Chen 2026-07-27 13:01:23

debug: classified in 03-filenames_plain1 by 'sys/contrib'

tests/libpthread: add pthread_cond_clockwait(3) tests
Reviewed by:  markj, ngie
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58458
10ea2300bf29cdcaf12182e8b722f6becb0da1fb Konstantin Belousov 2026-07-26 01:59:05

debug: classified in 03-filenames_plain1 by 'contrib/'

Merge commit cbf48349e3e1 from llvm-project (by Jessica Clarke):
  [NFC][ELF][PPC64] Pass address not offset to writePPC64LoadAndBranch (#212275)

  Every caller currently subtracts the TOC base in its argument, so move
  that into common code inside writePPC64LoadAndBranch. This will also
  allow a different computation to be used in some cases in a future
  commit.

  Note that offset is now unsigned not signed; even previously, all
  arguments were uint64_t, and all uses are unsigned, so making it signed
  doesn't make much sense.

MFC after:      1 week
bcbcd7303009344dc1051e4601284620bca29be8 Jessica Clarke 2026-07-27 16:53:53

debug: classified in 03-filenames_plain1 by 'contrib/'

Merge commit 26bf39cdba0b from llvm-project (by Jessica Clarke):
  [ELF][PowerPC] Don't assume TOC pointer is valid in IPLT entries (#207555)

  Unlike normal PLT entries, IPLT entries can be called indirectly even
  when in PIEs/DSOs, and so there's no guarantee on what's in the TOC
  pointer register at that time. Therefore we must emit variants of the
  existing code that work without it, whether r12-relative (playing the
  same role as MIPS's $25) in the same number of instructions, or first
  retrieving PC in an i386-like manner, being careful not to clobber LR.
  On 32-bit PowerPC even direct calls to IPLT entries face the same issue,
  since we'd use the TOC base of the resolver, which may not be the same
  as the caller, even within the same object.

  Normal canonical PLTs still look broken on 64-bit PowerPC as they use
  the TOC pointer register too, and similarly on 32-bit PowerPC for PIEs.
  We should probably treat these cases the same as PIE on i386 (except
  including PDEs for 64-bit PowerPC), where it's an error due to the use
  of %ebx in PLT entries.

Bump LLD_FREEBSD_VERSION for this fix as otherwise an existing system
linker will be deemed new enough to use and produce broken kernels for
TARGET=powerpc (regardless of TARGET_ARCH/MACHINE/MACHINE_ARCH) builds.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294369
MFC after:      1 week
b68f2fe1932cbc9809245e2c5a2db2bc0944cc5d Jessica Clarke 2026-07-27 16:54:04

debug: classified in 05-summary-prefix by 'Merge '

Reverted commits

-- no commits in this category this week --

Unclassified commits

Not classified automatically, and waiting for manual attention.

-- no commits in this category this week --

Technical notes

Dates:

Automatic grouping:

Automatic categories:

Source code:


Generated with commits-periodical 0.20 at 2026-07-27 20:55:30+00:00.

This work is supported by Tarsnap Backup Inc.

Alternate version: 2026-07-27 (release)