FreeBSD git weekly: 2025-12-15 to 2025-12-21

Introduction

This is a display of mostly-automatically-classified git commits from 2025-12-15 to 2025-12-21.

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:

(3) Highlighted commits (these are copies, not in stats)
1 0.7% Userland programs
6 4.5% Documentation
20 14.9% Hardware support
21 15.7% Networking
11 8.2% System administration
13 9.7% Libraries
4 3.0% Filesystems
25 18.7% Kernel
8 6.0% Build system
1 0.7% Internal organizational stuff
7 5.2% Testing
5 3.7% Style, typos, and comments
11 8.2% Contrib code
1 0.7% Reverted commits
0 0.0% Unclassified commits
134 100% total
Technical notes about this page

debug: info about the automatic classification

num % num changed stage
1 0.7% 0 00-reverts
5 3.7% 0 01-style
12 9.0% 0 02-filenames_wildcards
7 5.2% 0 02b-filenames_wildcards2
59 44.0% 0 03-filenames_plain1
36 26.9% 0 04-filenames_plain2
8 6.0% 0 05-summary-prefix
6 4.5% 0 Manually-classified commits
0 0.0% 0 Unclassified commits

debug: more stats

num % stage
0 0.0% Misclassified commits
128 95.5% Classified commits, no corrections

debug: groups

0 0.0% num in revert
4 3.0% num in fixes
16 11.9% num in consecutive
20 14.9% 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.

aq(4): Add man page
Reviewed by:  ziaee
Relnotes:       Yes
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53840
fb1994e03c88cf087e61f7aa608dd82531e3a4e8 Ed Maste 2025-11-14 19:52:12

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

librt/mq_getfd_np.3: Initial manual page
The mq_getfd_np function appeared in FreeBSD 11 with no documentation.
This function dereferences the mqd_t as a pointer to an int.

Relnotes:               yes
MFC after:              3 days
Reviewed by:            kib (previous), markj, ziaee
Differential Revision:  https://reviews.freebsd.org/D43947
ca2413d216197fd55f9363d6f65c641ff1aa3ec5 Rick Parrish 2025-12-18 22:12:32

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

usr.bin: Remove intrinsic utilities
These utilities can only function correctly if implemented as shell
builtins and exist only because POSIX previously required them.  As of
POSIX 2024, they have all been reclassified as intrinsic utilities and
are no longer required to exist in PATH.  We can therefore retire them.
Cf. XBD 1.7, XRAT C.1.8, Austin Group bug 854.

Note that kill(1) is also considered an intrinsic utility (because
only the shell can interpret job IDs correctly), but we have a working
standalone implementation, which we will keep.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291686
Relnotes:       yes
Reviewed by:    imp, emaste
Differential Revision:  https://reviews.freebsd.org/D54239
4100bd6caa66434bc901ca48d7364bc2b5fe2cfd Dag-Erling Smørgrav 2025-12-19 17:13:23

debug: classified in 05-summary-prefix by 'usr.bin:'

Userland programs

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

usr.bin: Remove intrinsic utilities
These utilities can only function correctly if implemented as shell
builtins and exist only because POSIX previously required them.  As of
POSIX 2024, they have all been reclassified as intrinsic utilities and
are no longer required to exist in PATH.  We can therefore retire them.
Cf. XBD 1.7, XRAT C.1.8, Austin Group bug 854.

Note that kill(1) is also considered an intrinsic utility (because
only the shell can interpret job IDs correctly), but we have a working
standalone implementation, which we will keep.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291686
Relnotes:       yes
Reviewed by:    imp, emaste
Differential Revision:  https://reviews.freebsd.org/D54239
4100bd6caa66434bc901ca48d7364bc2b5fe2cfd Dag-Erling Smørgrav 2025-12-19 17:13:23

debug: classified in 05-summary-prefix by 'usr.bin:'

Documentation

Man pages, release notes, etc.

src.conf.5: regen documenting WITH_IPFILTER_IPFS
b9b1262a8ef95857101e538145703894e3b880b7 Brooks Davis 2025-12-15 13:52:34

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

acpidump.8: formatting fix
Reported by:  Marcin Cieslak
03603db0136815146c2886c793506acb8bb508b0 Maxim Konovalov 2025-12-16 00:32:32

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

libpathconv: Document library in the man pages
Reviewed by:          ziaee, imp
Differential Revision:  https://reviews.freebsd.org/D54213
2c75ac14d7e9d1d57d70bbf26716868607f0d1fe Artem Bunichev 2025-12-16 17:42:46

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

examples/mdoc: Remove document description quotes
Quotes in roff do not work the way quotes in shell do,
remove them from the examples to hopefully lead less people astray.

MFC after:      3 days
067b62bd5834484c927038aff28d36da6c5d6cca Alexander Ziaee 2025-12-17 17:15:53

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

example.3: Show updated library macro usage
The LIBRARY section has been deprecated by upstream.
Show the updated usage of the Lb macro in SYNOPSIS.

Fixes:  https://cgit.freebsd.org/src/commit/?id=4c07abdbacf49 (mandoc: Vendor import of upstream at 2025-06-13)
3527e7e9f7b2f1737706378b99af778921849e9d Alexander Ziaee 2025-12-17 17:27:39

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

vmem.9: provide a reference to libuvmem(3)
Sponsored by: The FreeBSD Foundation
MFC after:      3 days
5c1d9df10b78f8d2e13e16f5db2e4542f582aebd Konstantin Belousov 2025-12-18 20:13:05

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

Hardware support

Hardware drivers and architecture-specific code.

if_rge: initial import of if_rge driver from OpenBSD.
This is an initial import of the if_rge driver from OpenBSD
and adapted to FreeBSD.

Differential Revision:  https://reviews.freebsd.org/D54101
4bf8ce037dc8fa699be87350bb6467f1b74cb96d Adrian Chadd 2025-12-06 05:26:30

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

aw_rtc: bump settime() delays
There are delay loops, checking the BUSY status bit, before writing to
the date or time registers. Each iteration contains a 1usec delay, for a
maximum of 70 iterations.

This is frequently not enough on the D1 platform, where the message is
emitted:

  rtc0: could not set date, RTC busy

Bump the loop delay to 10usecs each, and the maximum number of
iterations to 150, for a maximum delay of 1.5msecs between each write of
the register.

In my testing this seems to be adequate.

The loop variable is renamed for clarity/simplicity.

Reviewed by:    manu
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54180
cae9ae66ad1b01e84597d03c436bc0579bd07fd4 Mitchell Horne 2025-12-15 15:29:21

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

amd64/vmm.c: Fix an incorrect memory segment check in vm_iommu_{un}map
This change fixes two checks that conflated memory mapping and memory
segment idenitifers. In both cases the code iterates over all memory
mappings but passes the index to `vm_memseg_sysmem`, which is wrong.

Fix this by passing the memory mapping's segment identifier instead.

Differential Revision:  https://reviews.freebsd.org/D54210
Reviewed by:    markj
Fixes:  https://cgit.freebsd.org/src/commit/?id=c76c2a19ae37
PR:     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290920
f1809eab82a796845f126b703c01d4a31ccf2193 Bojan Novković 2025-12-13 14:53:45

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

usb: don't create ifnet(9) for usbus devices
Differential Revision:        https://reviews.freebsd.org/D54063
1615eff94cda8619561b73186ec8098cc8b14c5c Gleb Smirnoff 2025-12-15 20:51:58

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

usbdump: remove some FreeBSD 9.x code
efc8353481e3b65daa201b7a20faad3dcc4b7f7a Gleb Smirnoff 2025-12-15 20:52:02

debug: classified in 03-filenames_plain1 by 'usr.sbin/usbdump/'

thunderbolt: Remove PNP info
So it isn't matched by devmatch(8) and automatically loaded. The PNP
info will be readded once the USB4 driver is more complete.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290827
Reported by:    fuz, Marco Siedentopf <siedentm@me.com>
Fixes:  https://cgit.freebsd.org/src/commit/?id=2ed9833791f2 (thunderbolt: Import USB4 code)
Sponsored by:   The FreeBSD Foundation
5bd839792b6a6afacb50f782b6013100b5ff9110 Aymeric Wibo 2025-12-15 23:14:08

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

lio: Avoid out-of-bounds read or write MAC address
While here, replace loop copying the MAC address with memcpy() for
better readability.

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54177
094626d3a5009a56bf1b763dbdfc681ce371dc99 Zhenlei Huang 2025-12-16 04:41:02

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

axidma(4): switch interrupt type.
Switch interrupt type to NET so that it enters net epoch during
interrupt service routine.

Sponsored by:   CHERI Research Centre
012f1e4ae350015ddb896e3d482485ce8258c0ef Ruslan Bukin 2025-12-16 09:25:58

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

if_rge: Add PNP info for module
Add PNP info so the module can be matched by devmatch(8) and automatically
loaded.

Reviewed by:    adrian
Approved by:    adrian
Differential Revision:  https://reviews.freebsd.org/D54254
cce603cfca773c61f3e17ea38575f4ba0557792d Olivier Cochard 2025-12-16 15:50:30

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

netmap: silence -Wdefault-const-init-field-unsafe warning
The netmap_ring struct starts with various const members and rencent
clang warns about leaving them uninitialized. Having them const in the
first place is highly suspicious since they are updated with various
macros but using hand-coded __DECONST(). But fixing that is a more
invasive change that I am unable to test.

```
.../freebsd/sys/dev/netmap/netmap_kloop.c:320:21: error: default initialization of an object of type 'struct netmap_ring' with const member leaves the object uninitialized [-Werror,-Wdefault-const-init-field-unsafe]
  320 |         struct netmap_ring shadow_ring; /* shadow copy of the netmap_ring */
      |                            ^
.../freebsd/sys/net/netmap.h:290:16: note: member 'buf_ofs' declared 'const' here
  290 |         const int64_t   buf_ofs;
      |                         ^
```

Test Plan: Compiles

Reviewed by:    vmaffione, jhb
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52568
2ed21f90906b230476d3f12ff9dce0e2c4642af2 Alex Richardson 2025-12-16 18:09:57

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

sdhci: Try to complete the last transaction if dumping
If the kernel panics while a thread is in the middle of an SDHCI
transaction, trying to dump to a dump target on the MMC would result in
a hang.  Fix this by completing the transaction first.

Reviewed by:    imp
Obtained from:  Hewlett Packard Enterprise
Differential Revision:  https://reviews.freebsd.org/D54255
1fad49baf390cb52f238e6c352d0bc0893c008c3 Justin Hibbits 2025-12-17 14:15:40

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

vtnet: define flags in a consistent way
This allows adding flags in the upper 32 bits in a consistent way.
No functional change intended.

MFC after:      1 week
e0c6c4ecfc755b78ac9135033053d2f15c62bf04 Michael Tuexen 2025-12-18 12:41:29

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

Commit group #0: vtnet: expose flags via sysctl tree
vtnet: expose flags via sysctl tree

Provide the flags used for a vtnet interface via the sysctl tree.
This is mostly used for debugging purposes.

Reviewed by:            Timo Völker
MFC after:              1 week
Differential Revision:  https://reviews.freebsd.org/D54283
e3a0571ad74d8429a95fcae9efc1d91cc109a337 Michael Tuexen 2025-12-18 14:42:13

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


vtnet.4: put each sentence on its own line

Reported by:    ziaee
Fixes:          https://cgit.freebsd.org/src/commit/?id=e3a0571ad74d ("vtnet: expose flags via sysctl tree")
MFC after:      1 week
f6e183301851e3e826d53a29e76cfc9bc7626477 Michael Tuexen 2025-12-18 14:57:46

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

debug: moved to hardware because 'Need to be grouped with e3a0571ad74d8429a95fcae9efc1d91cc109a337'

armv8rng: Fix an inverted test in random_rndr_read_one()
If we get a random number, the NZCV is set to 0b0000.  Then
"cset %w1, ne" will test whether Z == 0 and set %w1 to 1 if so.
More specifically, "cset %w1, ne" maps to "csinc %w1, wzr, wzr, eq",
which stores 0 in %w1 when NZCV == 0b0100 and 1 otherwise.

Thus, on a successful read we expect ret != 0, so the loop condition
needs to be fixed.  In practice this means that we would end up trying
to fetch entropy up to ten times in a row.  If all attempts are
successful, the last will be returned, otherwise no entropy will be
returned.

Reported by:    Kevin Day <kevin@your.org>
Reviewed by:    andrew
Fixes:          https://cgit.freebsd.org/src/commit/?id=9eecef052155 ("Add an Armv8 rndr random number provider")
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54259
93811883500b99f9f1fb4ffd6e764226d37dcfd0 Mark Johnston 2025-12-18 14:17:20

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

ice(4): Remove unused function
rss_getkey function is now available even if kernel RSS option
is disabled. This makes ice_get_default_rss_key no longer needed.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka@intel.com>

Reviewed by:    gallatin
Approved by:    kbowling (mentor)
Fixes:          https://cgit.freebsd.org/src/commit/?id=012ecdde3a810 ("ice: use newly exposed RSS hash key API rather than ad-hoc hashing")
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D54281
ca10598b10bc906938195af2268256ae08647039 Krzysztof Galazka 2025-12-18 19:47:50

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

aq(4): Use standard ETHER_ADDR_LEN definition
No need for a bespoke #define.
8c64625d90792462289686e0209a9f3fff67fc9b Ed Maste 2025-11-13 22:20:13

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

vtnet: expose features via sysctl tree
Right now the 64-bit flags field needs to be casted to a 32-bit field,
because clang warns if more than 32-bits are used.
Once clang is fixed, this restriction will be removed and more bits
will be added.

Reviewed by:            markj, Timo Völker
MFC after:              1 week
Differential Revision:  https://reviews.freebsd.org/D54288
634d9c0d111b630c3d63a1cf25d15c32a37afab8 Michael Tuexen 2025-12-19 16:38:35

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

vtnet: improve consistency
Use sbuf_new_for_sysctl() instead of sbuf_new_auto() when exposing
the flags via sysctl.

MFC after:              1 week
8da838ac31692e381adfc63d83ea49f2adabbf23 Michael Tuexen 2025-12-19 16:44:20

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

powerpc/intr: Minor cleanup
Use MTX_SYSINIT() instead of rolling our own.
27cb2610ef0ba6871f2649658778fb83179c0b2e Justin Hibbits 2025-12-20 19:53:37

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

Networking

Network-related commands, library, and kernel.

pf: fix min-ttl and set-tos for nat64
If we have both af-to and min-ttl or set-tos on a single rule we didn't
apply the new ttl or tos.

That's because the scrub code still applied the change, but we
subsequently create a new header for the new address family. That's done
based on the ttl/tos saved in the struct pf_pdesc, which are the values
from the incoming packet, before the scrub modification(s).

Also update the struct pf_pdesc values when we update packets.

Reported by:    Marek Zarychta
Sponsored by:   Rubicon Communications, LLC ("Netgate")
cdbc9b76ff4901816b5ebdca5d0b7e9947a015cb Kristof Provost 2025-12-15 14:26:57

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

if_clone: don't overwrite dump_nl of an attaching cloner with default
Reviewed by:          glebius
Differential Revision:  https://reviews.freebsd.org/D54190
ac6a7f62166878038b9f8bd38a3fb1ff99ee8918 Seyed Pouria Mousavizadeh Tehrani 2025-12-15 16:53:47

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

lacp: Sort port map by interface index
This makes it easier to reason about system topology, and to
potentially map applications to NIC queues by (ab)using the
mbuf flowid to select egress NIC and queue in a predictable fashion.

Differential Revision: https://reviews.freebsd.org/D54053
Reviewed by: glebius, kbowling
Sponsored by: Netflix
7ff3b13f12d97b7f67f09ecb9141e6dbaa1ad007 Andrew Gallatin 2025-12-15 16:52:48

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

Commit group #1: bpf: modularize ifnet(9) part of bpf
bpf: modularize ifnet(9) part of bpf

Imagine that bpf(9) tapping can happen at any point in the network stack,
not necessarily at interface transmit or receive.  To achieve that we need
a thin layer of abstraction defined by struct bif_methods, that defines
how generic bpf layer works with a tap point of this kind.

Implement ifnet(9) specific methods in a separate file bpf_ifnet.c.  At
this point there is 100% compatibility for all existing interfaces, there
is no KPI change, yet.  The legacy attaching KPI is layered over new ifnet
agnostic KPI.  The new KPI may change though, as we can implement multiple
DLTs per single tap point in a prettier fashion.

The new abstraction layer allows us to move all the 802.11 radio injection
hacks out of bpf.c into ieee80211_radiotap.c, so do that immediately as a
good proof of concept.

Reviewed by:            bz
Differential Revision:  https://reviews.freebsd.org/D53872
8774a990ee4094f16d596d4b78e0f3239e5d0c88 Gleb Smirnoff 2025-12-15 20:50:35

debug: classified in 03-filenames_plain1 by '['sys/net/', 'sys/net80211/']'


bpf: virtualize bpf_iflist

The reason the global list worked before 8774a990ee40 is that bpf_setif()
used if_unit(), which is a VNET-aware function, and then went through the
global list looking for bpf_if with matching pointer.

PR:     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291735
Fixes:  https://cgit.freebsd.org/src/commit/?id=8774a990ee4094f16d596d4b78e0f3239e5d0c88
0bf42a0a05b9c802a6d9ca4a6b8696b29a26e08b Gleb Smirnoff 2025-12-17 20:41:05

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


a4d766caf7114392b80793c8306d5a712f31557c Gleb Smirnoff 2025-12-18 16:46:20

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


bpf: add missing IFT_BRIDGE in the write method

Fixes:  https://cgit.freebsd.org/src/commit/?id=8774a990ee4094f16d596d4b78e0f3239e5d0c88
fe53a8a82c8185e332deb8e1926f0e137aeb2548 Gleb Smirnoff 2025-12-19 19:23:17

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

ipfw: create "ipfw0" and "ipfwlog0" bpf tapping points without ifnet(9)
As a free bonus the tapping points are now able to match packet direction.

Reviewed by:            ae
Differential Revision:  https://reviews.freebsd.org/D53875
ddf4f9eda9c295082f17e7f26963666b72c97bb9 Gleb Smirnoff 2025-12-15 20:51:42

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

ipfw: create a bpf tap point for every log rule
Dynamically allocate bpf tap points for every rule that has "log".
The name is "ipfw%u", where %u is substituted to the rule number.
The default catch all "ipfw0" tap still exists for compatibility
and it will catch packets in case if there are no bpf listeners
on a per-rule tap.

Reviewed by:            ae
Differential Revision:  https://reviews.freebsd.org/D53877
3daae1ac1d82ecdcd855101bab5206e914b12350 Gleb Smirnoff 2025-12-15 20:51:51

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

ipfilter: Prevent stack buffer overflow
When copying ipfs data from user space, don't just check that the payload
length is nonzero, but also that it does not exceed the size of the stack
buffer we're copying it into.

While we're at it, use a union to create a buffer of the exact size we
need instead of guessing that 2048 will be enough (and not too much).

Finally, check the size of the payload once it gets to where it's used.

MFC after:      3 days
Reported by:    Ilja Van Sprundel <ivansprundel@ioactive.com>
Reviewed by:    cy
Differential Revision:  https://reviews.freebsd.org/D54194
a34c50fbd2a52bb63acde82e5aec4cb57880e39b Dag-Erling Smørgrav 2025-12-16 16:11:24

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

ipfilter: Add missing kenv fetch
When a module the environment must be explicitly fetched.

Fixes:                  https://cgit.freebsd.org/src/commit/?id=d9788eabffa4
PR:                     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291548
Noted by:               markj
Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D54242
MFC after:              3 days
a6ea80bc917510b5e056cc5a29b62dfd7b39d068 Cy Schubert 2025-12-15 16:21:56

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

vlan: plug a new panic associated with interface removal
The ac6a7f621668 enabled execution of vlan_clone_dump_nl(), which
previously was effectively disabled.  The function itself was added back
in 089104e0e01f0.  This exposed a bug when Netlink dumps info on all
interfaces using a dangerous KPI if_foreach_sleep(), which may call its
callbacks on completely detached interfaces, hanging on the last
reference.  The ifc_dump_ifp_nl_default() is able to digest such interface
without a panic, but vlan_clone_dump_nl() can't.  Neither of the above
revisions is the actual culprit, rather it is design problem of detaching
interfaces and if_foreach_sleep().

Plug the problem with removing pointer to freed memory on detach and
making a NULL check later.

Reported by:    pho
d4062b9f16e46f039f2b5b40dd35592b5dabf00c Gleb Smirnoff 2025-12-17 21:05:04

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

ng_iface: don't recursively enter epoch in the rcvdata method
Reviewed by:          p.mousavizadeh_protonmail.com, zlei
Differential Revision:  https://reviews.freebsd.org/D54241
104827151e2abc7fe6fb9bf59a12b443657d1506 Gleb Smirnoff 2025-12-17 22:05:53

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

krb5: Remove extraneous exports file
We use version.map in the FreeBSD MIT KRB5 build. The exports file is
a lefteover from when the version map file was created.

MFC after:      1 week
f74173b5da3df22ec49c3bf6e8d10bcffdd1f4d3 Cy Schubert 2025-12-18 18:15:12

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

net: split ifnet_arrival_event into two events
Run the original ifnet_arrival_event before linking the interface.
Otherwise there is a race window when interface is already visible, but
not all of the protocols have completed their attach. Provide a new event
handler ifnet_attached_event, that is executed when the inteface is fully
visible.  Use it in route(4) socket and netlink(4) to announce new
interface to the userland. Properly document the ifnet events in if_var.h.

Reviewed by:            zlei, melifaro
Differential Revision:  https://reviews.freebsd.org/D54085
713b57c414b789fd6c3eb2ce7ecb682b6cb4ba30 Gleb Smirnoff 2025-12-18 16:47:31

debug: classified in 03-filenames_plain1 by '['sys/net/', 'sys/netlink/']'

pf: Fix the reply command in a couple of places
libpfctl doesn't notice the mismatch.

Reported by:    Kevin Day <kevin@your.org>
Reviewed by:    kp
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54199
7c02ba0cd03495163b55ea24efe0b6feee7490b1 Mark Johnston 2025-12-18 14:26:41

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

pf: Avoid taking the pf rules write lock in a couple of ioctls
The DIOCGETRULES ioctl handlers has taken the write lock ever since
fine-grained locking was merged to pf, but I believe it's unneeded.  Use
the read lock instead.

DIOCGETRULENV takes the write lock as well but I believe this is only
required when clearing rule counters.  Acquire the read lock if that is
not the case.

Reviewed by:    kp, allanjude
MFC after:      2 weeks
Sponsored by:   OPNsense
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D54292
ae96ff302f8ae50903a96d3a1857f9acf243f3c4 Mark Johnston 2025-12-19 14:07:26

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

ipf: copy{in,out}ptr -> ipf_copy{in,out}_indirect
These functions take the source or destintation address indirectly from
a potentially missaligned buffer.  Rename them to refect this and to
free up the copy{in,out}ptr names.

Some of the code in question is dead code and doesn't or won't compile,
but I've changed it all for consistency.

NB: If the pointers are actually stored under aligned then this code is
broken with CHERI.

Reviewed by:    cy
Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Differential Revision:  https://reviews.freebsd.org/D54232
a79e2278c58e1c59e12fbf39b5b3bf36629bfc87 Brooks Davis 2025-12-19 15:59:08

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

tcp: fix checksum calculation bug
The new function in_delayed_cksum_o() was introduced to compute
the checksum in the case the mbuf chain does not start with the
IP header. The offset of the IP header is specified by the
parameter iph_offset.
If iph_offset was positive, the function computed an incorrect
checksum.

Reviewed by:            sobomax, tuexen
Fixes:                  https://cgit.freebsd.org/src/commit/?id=5feb38e37847 ("netinet: provide "at offset" variant of the in_delayed_cksum() API")
MFC after:              1 week
Differential Revision:  https://reviews.freebsd.org/D54269
c8b3b605ae854ead6c8804e0400d80cb8fa73fdf Timo Völker 2025-12-19 16:50:20

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

iflib: support for transmit side nic KTLS offload
This change adds support to iflib for drivers that want to do
transmit-side NIC ktls offload. This change does 2 things:

1) Extends the pkt info to include an optional mbuf pointer.

This gives drivers the ability to find the start of a TLS record if
they need to re-DMA part of the record to re-construct TLS state on
the NIC. This mbuf pointer is only passed when CSUM_SND_TAG is
present on the pkthdr. Note that I don't bother to inspect the send
tag on purpose; this will only be present for TLS offloaded or paced
connections

2) Allows the driver to specify how much ring padding is needed
   before the ring is considered to be full using the new isc_tx_pad
   field in if_softc_ctx.

This re-uses a field that was marked spare in 2019 via d49e83eac3baf.
Iflib initializes this to the previous value of 2 slots and allows the
driver to override it. The TXQ_AVAIL() macro has been adjusted to
subtract this padding, and uses of the macro have removed +2 from the
other side of the comparison. To avoid potential cache misses from
looking at the ifc_softc_ctx in TXQ_AVAIL(), the value is mirrored in
the txq (in an alignment hole).

Reviewed by: kbowling, kgalazka, sumit.saxena_broadcom.com, shurd
Sponsored by: Netflix
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D54274
43d7ee540efe0df1def80ce24255b32f9f9396ba Andrew Gallatin 2025-12-19 20:48:36

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

pf: fix pcounters array size
It's a 2 * 2 * 2, not 2 * 2 * 3. We only use PF_DROP and PF_PASS, so two
rows suffices.

Sponsored by:   Rubicon Communications, LLC ("Netgate")
622d7fa18d33cd8c4e1195888068fe1fe7c631a1 Kristof Provost 2025-12-21 10:27:19

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

System administration

Stuff in man section 8 (other than networking).

ifconfig: print warning and return success on ipfw0, ipfwlog0 cloning
This should provide people a chance to remove ipfw0 and ipfwlog0 from
cloned_interfaces in their rc.conf during FreeBSD 16.x lifetime.

Differential Revision:  https://reviews.freebsd.org/D53876
1c5021f5251b231b614ad9cd175bcb4250495c12 Gleb Smirnoff 2025-12-15 20:51:47

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

etc/mtree/BSD.include.dist: Remove bsnmp tags
When building with WITHOUT_BSNMP this result in a FreeBSD-bsnmp-dev
package with only this directory and a dependency on FreeBSD-bsnmp which
doesn't exists.

Reviewed by:    ivy
Differential Revision:  https://reviews.freebsd.org/D54235
Fixes:          https://cgit.freebsd.org/src/commit/?id=436618a427b4 ("etc/mtree: Add package tags for /usr/include")
Sponsored by:   Beckhoff Automation GMbH & Co. KG
1fbdb149aa486961c5d9d6403065e90123b3f5fe Emmanuel Vadot 2025-12-15 13:49:23

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

etc/mtree/BSD.include.dist: Remove atf tags
When building with WITHOUT_TESTS this result in a FreeBSD-atf-dev
package with only this directory and a dependency on FreeBSD-atf which
doesn't exists.

Reviewed by:    ivy
Differential Revision:  https://reviews.freebsd.org/D54236
Fixes:          https://cgit.freebsd.org/src/commit/?id=436618a427b4 ("etc/mtree: Add package tags for /usr/include")
Sponsored by:   Beckhoff Automation GMbH & Co. KG
00352ef6d2a013650f0ab2a4c9b016c22552ed25 Emmanuel Vadot 2025-12-15 14:14:23

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

rtsold: Validate entries in domain search lists
Reported by:  Kevin Day <kevin@your.org>
Approved by:    so
Security:       FreeBSD-SA-25:12.rtsold
Security:       CVE-2025-14558
bf804f69dd94b3c98962618b4ad3b48a35bff2ff Mark Johnston 2025-12-15 20:50:08

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

bhyve: Eliminate exit status magic numbers
bhyve's exit status codes indicate how the VM was terminated.
Unfortunately, their meaning within the source code is somewhat
unclear since they are only used as magic numbers.

Fix this by defining exit status macros and using them to replace
the magic numbers in exit(3) function calls.

Differential Revision:  https://reviews.freebsd.org/D53730
Reviewed by:    markj, corvink, emaste
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
MFC after:      3 months
3c0686082df824ef06b739253c032ab35723e251 Bojan Novković 2025-11-06 14:28:24

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

bhyve: Introduce monitor mode
This change introduces "monitor mode", a mechanism for automatically
releasing virtual machine resources when bhyve dies, bringing us
closer towards making non-root bhyve viable.
Under this regime bhyve will create a transient virtual machine using
`vmmctl`'s `VMMCTL_CREATE_DESTROY_ON_CLOSE` flag and automatically
reboot said virtual machine as long as it exits with "reboot" status.

This is done by splitting bhyve into two processes. The parent process
creates the virtual machine while the child process initializes and
runs the virtual machine. When the child exits the parent inspects
its exit status and either exits or forks again. `vmmctl` automatically
destroys the underlying virtual machine once the parent process dies.

Differential Revision:  https://reviews.freebsd.org/D53731
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
MFC after:      3 months
f892c97b6109639b8b03dfbccd4190389a88b067 Bojan Novković 2025-11-06 14:28:47

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

snmp_pf: fix refresh
Some refresh functions had two layers of 'do we need to refresh now?'
checks, leading to inconsistent refreshes.
Consolidate them.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291725
Sponsored by:   Rubicon Communications, LLC ("Netgate")
a862e4b5a27c356e2584ee74fd9e211c18b1b125 Kristof Provost 2025-12-17 13:22:05

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

ntp: Fix buildworld with MK_OPENSSL=no
Reported by:  wosch
Tested by:      wosch
MFC after:      1 week
2804461adfc670c78c1dcb9cab6b2191c8d486ec Cy Schubert 2025-12-19 04:59:38

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

ifconfig: Fix the -L flag when using netlink
By default, when ifconfig shows a v6 address derived from a
router-advertised prefix, it shows the initial preferred and valid
lifetimes.  When -L is specified, it is supposed to show the remaining
lifetimes, but this was broken in the conversion to netlink.

Fix that, and add a regression test which validates ifconfig output
before and after a short-lived address expires.

Reported by:    Franco Fichtner <franco@opnsense.org>
Reviewed by:    melifaro, allanjude, Seyed Pouria Mousavizadeh Tehrani
Fixes:          https://cgit.freebsd.org/src/commit/?id=4c91a5dfe483 ("ifconfig: make interface and address listing use Netlink as transport")
MFC after:      2 weeks
Sponsored by:   OPNsense
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D54294
df6861d755c8f72380ae7fb8df535b27eba8c0be Mark Johnston 2025-12-19 14:11:20

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

reboot: Fix halt -p behavior
The RB_HALT bit is always set when invoked as `halt`, so to maintain a
distinction between `halt` and `halt -p`, we must check the RB_POWEROFF
bit first.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291814
Fixes:          https://cgit.freebsd.org/src/commit/?id=4453ec5b8716 ("reboot: Default to a clean shutdown")
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D54320
7f39d05b67aec8b87fbad8d5b6381084f99120ec Dag-Erling Smørgrav 2025-12-19 23:26:23

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

fwget: Add Navi 33 support
Tested on a RX7600

MFC After:      3 days
dd5a48f957868ce1809d06cebe03ad92a07af75a Emmanuel Vadot 2025-12-20 18:48:30

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

Libraries

libc/amd64: Disable baseline version of stpncpy()
This implementation appears to be broken on some CPUs.  Disable it
until the issue can be investigated and fixed.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291720
Fixes:          https://cgit.freebsd.org/src/commit/?id=66eb78377bf1 ("libc/amd64: fix overread conditions in stpncpy()")
Fixes:          https://cgit.freebsd.org/src/commit/?id=90253d49db09 ("lib/libc/amd64/string: add stpncpy scalar, baseline implementation")
ce9557d4ee174267504a63b2c8f6009be27368c9 Dag-Erling Smørgrav 2025-12-16 19:04:51

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

cdefs.h: Introduce __nonstring attribute
This attribute can be used to annotate char arrays that are not supposed to
be terminated with a NUL char and is needed to silence clang's new
-Wunterminated-string-initialization warning. The name matches linuxkpi.

Reviewed by:    emaste, jhb
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52565
802c6d5d61d15494a54a386dc2ffbcfefc68c8ab Alex Richardson 2025-12-16 18:03:44

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

libthr: fix -Wunterminated-string-initialization
Reviewed by:  jhb, emaste
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52528
4cfc7de13f110563463c15be99690c6fe7b8676a Alex Richardson 2025-12-16 18:04:18

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

libfetch: Fix -Wunterminated-string-initialization
This defaults to an error in clang HEAD, use a char-by-char
initializer instead.

Reviewed by:    emaste, jhb
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52532
79f578531f21aa57307cbffd858a8a89e562aa5c Alex Richardson 2025-12-16 18:08:51

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

rtld: silence clang's unterminated-string-initialization warning
Since the initializer is used in other places where we can't just
replace it with a char-by-char initializer, this adds a macro for the
nonstring attribute (match the linuxkpi definition).

Reviewed by:    emaste, jhb
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52535
86f325711c07b723b85c031d581d0a5c1a0964f3 Alex Richardson 2025-12-16 18:09:10

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

lib/msun/tests: Replace remaining printf() with debug()
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1871
d03c9b8f662466537753056608d6a64d8c5513c3 Siva Mahadevan 2025-10-08 21:04:28

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

lib/msun/tests: Add REQUIRE_ variants of test-utils macros
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1871
a9b1650f90f4dbc62baa52b395082b1714b6cbf3 Siva Mahadevan 2025-10-08 20:38:47

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

Commit group #2: lib/msun/tests
lib/msun/tests: xfail failing invtrig_test cases on non-x86

Replace ATF_CHECK_* with ATF_REQUIRE_* to fail fast and avoid
unexpected abort.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290099
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1871
5a0617454e37c6a3df4106c24bd5ad20b338fe3a Siva Mahadevan 2025-10-08 20:40:15

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


lib/msun/tests: xfail failing lrint_test cases on non-x86 archs

Replace ATF_CHECK_* with ATF_REQUIRE_* to fail fast and avoid
unexpected aborts.

Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290099
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1871
de601d5bf5c6d2409134abc4638c7a0818cc896e Siva Mahadevan 2025-10-08 20:40:15

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


lib/msun/tests: xfail remaining failing tests on non-x86 archs

These are the remaining trivial xfail cases where no other
test logic changes are necessary.

Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290099
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1871
405188aeac540f7666dfde37c2f32d222119f56e Siva Mahadevan 2025-10-08 20:40:15

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

libpfctl: fix tstats address count
Reported by:  Marcos Mendoza <mmendoza@netgate.com>
See also:       https://redmine.pfsense.org/issues/16588
Sponsored by:   Rubicon Communications, LLC ("Netgate")
ad7f49f98b1ae7504f69db897901a055613c8300 Kristof Provost 2025-12-17 13:59:34

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

gpart: add libxo support for "show" subcommand + man page updates
Added libxo support to `gpart show`, also updated the man
pages for geom and gpart to show where you can expect
libxo formatted output.

PR:                     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290629
MFC after:              1 week
Sponsored by:           ConnectWise
Reviewed by:            asomers, mckusick, phil
Approved by:            asomers (mentor)
Differential Revision:  https://reviews.freebsd.org/D53950
4f809ffec69cd6ede3e7be9a5bc876b2e5931028 Johan Söllvander 2025-12-18 15:06:09

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

libpfctl: export a get states variant that takes a pfctl_handle
Sponsored by: Rubicon Communications, LLC ("Netgate")
823ebd7c4f897b1c620b6f21a68221da1cef7449 Kristof Provost 2025-12-21 11:12:17

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

Filesystems

bectl: log modifying functions to zpool history
Modeled directly after the method used by the zfs/zpool commands: flag
commands with a "please log me" flag, and when there, reconstruct the
command line. On success, call the library function to add it to the
log.

(Majority of the change by Rob; minor edits by kevans@)

Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Co-authored-by: Kyle Evans <kevans@FreeBSD.org>
Sponsored by:   Modirum MDPay
Sponsored by:   Klara, Inc.
2a87929671e6e6919c18f2c25d60f2c73c3d18f4 Rob Norris 2025-12-17 17:00:47

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

unionfs: Support renaming symbolic links
This adds support for renaming a symbolic link found on the lower fs,
which necessitates copying it to the upper fs, as well as basic tests.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    olce, siderop1_netapp.com, jah
Differential Revision:  https://reviews.freebsd.org/D54229
a678e87f5533521f6dec1a4e85c3decb1c3b6584 Dag-Erling Smørgrav 2025-12-17 22:38:11

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

unionfs: Sporadic cleanup
Sponsored by: Klara, Inc.
Sponsored by:   NetApp, Inc.
e64928611b3d157608d4fb3906b7362ab98c4ad1 Dag-Erling Smørgrav 2025-12-14 23:35:58

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

nfscommon: Add some support for POSIX draft ACLs
An internet draft (expected to become an RFC someday)
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-posix-acls
describes an extension to NFSv4.2 to handle POSIX draft ACLs.

This is the first of several patches that implement the
above draft.

This patch should not result in a semantics change.
a35bbd5d9f5f887a6f3de15cfe61fcc73fe22dc8 Rick Macklem 2025-12-21 22:28:12

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

Kernel

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

remove sys/dts/arm/socfpga_*_sdmmc.dts
These two files are broken due to Linux 6.5 DTS import.
Both of these boards have support in Linux DTS tree,
please use these DTS instead.

Removed and not fixed because of commit 949efdaa1db8

Approved by: br, manu (mentor)
Differential revision: https://reviews.freebsd.org/D54216
9d56f84df5a60e012c79e694284de7d58ad0b029 Oskar Holmlund 2025-12-15 17:47:17

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

bpf: add BIOCGETIFLIST ioctl that returns all available tap points
Differential Revision:        https://reviews.freebsd.org/D53873
c10447a9256b561bf2edf26b5abf5f28071a15c7 Gleb Smirnoff 2025-12-15 20:51:26

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

khelp: make the module compile again
27554189e5122d780dd295b1a1a81f15f459accb Maxim Konovalov 2025-12-16 05:47:02

debug: classified in 03-filenames_plain1 by 'share/examples/kld/'

swap_pager_seek_data(): improve assertions
Check that the passed object indeed has the swap type.
Accept any kind of the object lock ownership, not only for read.

Reviewed by:    alc, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D54219
bdfd695037a95b076aeffd04ed9fdf042b6ce218 Konstantin Belousov 2025-12-14 09:30:21

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

swap_pager_seek_data(): move the clipping at the object size to consumers
Reviewed by:  alc, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D54219
30ae88e3b217b12476dba665d163ab0d8dd6a8a7 Konstantin Belousov 2025-12-16 05:32:37

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

vm_object_coalesce(): check that coalescing does not revive stale pages
Reviewed by:  alc, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D54219
f94bfc469df9a2bc78ed15cc42525d09e3413e0b Konstantin Belousov 2025-11-22 18:43:57

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

Commit group #3: kern: Introduce RLIMIT_VMM
kern: Introduce RLIMIT_VMM

This change introduces a new per-UID limit for controlling the
number of vmm instances, in anticipation of unprivileged bhyve.
This allows ut to limit the amount of kernel memory allocated
by the vmm driver and prevent potential memory exhaustion attacks.

Differential Revision:  https://reviews.freebsd.org/D53728
Reviewed by:    markj, olce, corvink
MFC after:      3 months
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
1092ec8b337595ed8d52accf41c6904d75b3689d Bojan Novković 2025-11-07 13:11:03

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


limits: Unbreak after RLIMIT_VMM addition

Update structures and add assertions to prevent a reoccurrence.

Fixes:          https://cgit.freebsd.org/src/commit/?id=1092ec8b3375 ("kern: Introduce RLIMIT_VMM")
Reviewed by:    bnovkov, allanjude
Differential Revision:  https://reviews.freebsd.org/D54273
53af2026f2139ae10ff9178cf2deca2de59fd780 Dag-Erling Smørgrav 2025-12-17 19:38:59

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

debug: moved to kernel because 'Need to be grouped with 1092ec8b337595ed8d52accf41c6904d75b3689d'

vmm: Add ability to destroy VMs on close
This change adds the ability to tie a virtual machine's lifecycle to
a /dev/vmmctl file descriptor. A user can request `vmmctl` to destroy a
virtual machine on close using the `VMMCTL_CREATE_DESTROY_ON_CLOSE` flag
when creating the virtual machine. `vmmctl` tracks such virtual machines
in per-descriptor lists.

Differential Revision:  https://reviews.freebsd.org/D53729
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
MFC after:      3 months
bd16bac27e7e0d31bccf88feca95cd98f0ef0fd4 Bojan Novković 2025-11-06 14:26:27

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

Commit group #4: LinuxKPI
LinuxKPI: Move vmap-related code from linux_compat.c to linux_page.c

Coming vmap_pfn() implementation requires is_vmalloc_addr() to be in
the same file with other vmap-related code. Move code out from the
overcrowded file. No functional changes intended.

MFC after:      1 week
Reviewed by:    bz
Differential Revision:  https://reviews.freebsd.org/D54223
20ce906157dfc9ae6ee834f56f2bba154f37d653 Vladimir Kondratyev 2025-12-17 21:31:11

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


LinuxKPI: Implement vmap_pfn

Required by i915kms to support recent discrete graphics cards.

MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54225
df49fd8efa1a885089488458df0e7e88c9649c90 Vladimir Kondratyev 2025-12-17 21:31:11

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


LinuxKPI: bump __FreeBSD_version for vmap_pfn implementation
1a26b161d829c9b52fec87fe44b4db50e8f046ff Vladimir Kondratyev 2025-12-17 21:31:11

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

vmem: Fix the gcc build
gcc complains when building libuvmem because the last two operands of ?:
in ORDER2SIZE and SIZE2ORDER have different signs.  Add explicit casts
to address this.

Reported by:    Jenkins
Reviewed by:    alc, kib
MFC after:      1 week
Fixes:          https://cgit.freebsd.org/src/commit/?id=1ecf01065b45 ("libuvmem: usermode port of vmem(9)")
Differential Revision:  https://reviews.freebsd.org/D54268
377e6050c1cb9edce90d2a3caa2833fcc09b8c68 Mark Johnston 2025-12-17 20:54:40

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

jail: Don't define malloc type M_PRISON_RACCT on !RACCT
Reviewed by:    emaste, jamie
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54271
a8be81456cfeecc66ba3b41eb9a2d3dfea7ebc8c Olivier Certner 2025-12-02 14:39:33

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

Commit group #5: aq(4): Add build infrastructure
aq(4): Add build infrastructure

Reviewed by:    adrian
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53839
75177aebf0397af36b1f28f6b6e64207ec3d8188 Ed Maste 2025-11-13 19:05:38

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


aq(4): Build on x86 only for now

It fails to build on arm64.  As it is experimental and in development
just limit it to x86 until this is fixed.

Reported by:            brd
Fixes: https://cgit.freebsd.org/src/commit/?id=75177aebf039 ("aq(4): Add build infrastructure")
7f3da1f800f77150fab2a07ce9cafdca41b29ee9 Ed Maste 2025-12-18 21:54:38

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

debug: moved to kernel because 'Need to be grouped with 75177aebf0397af36b1f28f6b6e64207ec3d8188'

Commit group #6: net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9)
net: attach IPv4 and IPv6 stacks to an interface with EVENTHANDLER(9)

This change retires two historic relics: the if_afdata[] array and the
dom_ifattach/dom_ifdetach methods.

The if_afdata[] array is a relic of the era, when there was expectation
that many transport protocols will coexist with IP, e.g. IPX or NetAtalk.
The array hasn't had any members except AF_INET and AF_INET6 for over a
decade already. This change removes the array and just leaves two pointer
fields: if_inet and if_inet6.

The dom_ifattach/dom_ifdetach predates the EVENTHANDLER(9) framework and
was a good enough method to initialize protocol contexts back then.  Today
there is no good reason to treat IPv4 and IPv6 stacks differently to other
protocols/features that attach and detach from an interface.

The locking of if_afdata[] is a relic of SMPng times, when the system
startup and the interface attach was even more convoluted than before this
change, and we also had unloadable protocols that used a field in
if_afdata[].  Note that IPv4 and IPv6 are not unloadable.

Note that this change removes NET_EPOCH_WAIT() from the interface detach
sequence.  This may surface several new races associated with interface
removal.  I failed to hit any with consecutive test suite runs, though.
The expected general race scenario is that while struct ifnet is freed
with proper epoch_call(9) itself, some structures hanging off ifnet are
freed with direct free(9).  The proper fix is either make if_foo point at
some static "dead" structure providing SMP visibility of this store, or
free those structure with epoch_call(9).  All of these cases are planned
to be found and resolved during 16.0-CURRENT lifetime.

Reviewed by:            zlei, gallatin, melifaro
Differential Revision:  https://reviews.freebsd.org/D54089
0d469d23715d690b863787ebfa51529e1f6a9092 Gleb Smirnoff 2025-12-18 16:47:39

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


in6_ifattach: include sys/eventhandler.h to unbreak NOVIMAGE builds

LINT-NOVIMAGE fails to build due to a missing eventhandler.h include
which in hte VIMAGE case is likely leaked through some other header.
Add the #include to unbreak the build.

Fixes:  https://cgit.freebsd.org/src/commit/?id=0d469d23715d6 (net: attach IPv4 and IPv6 stacks to an ...)
117306dc606bf331795636b165b25be66e40d6a0 Bjoern A. Zeeb 2025-12-20 22:47:40

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

debug: moved to kernel because 'Need to be grouped with 0d469d23715d690b863787ebfa51529e1f6a9092'

kern: racct: Remove code unused since %cpu resource computation revamp
Reviewed by:    emaste, markj
Fixes:          https://cgit.freebsd.org/src/commit/?id=c72188d85a79 ("racct: Improve handling of the pcpu resource")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54284
55ce12672b948c002431851af54843bfc7f50d6f Olivier Certner 2025-12-18 14:05:11

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

printf.9: Support more than 32 bits in %b
This will be usable after clang has been extended to accept length
modifiers for %b when compiling kernel code.
But we need FreeBSD to support it first...

Reviewed by:            markj, Timo Völker
MFC after:              1 week
Differential Revision:  https://reviews.freebsd.org/D54286
d2cb9cab8457b2a84898f0ac86f7b45e907f872c Michael Tuexen 2025-12-19 16:26:37

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

sys/bitcount.h: add __const_bitcount<n>
Add a version of __const_bitcount<n> which can be used to get the
numbers at compile-time when __builtin_popcountg() is not available
(see sys/compat/linuxkpi/common/include/linux/bitops.h for LLVM before
19 and gcc before 14).

Obtained from:  https://reviews.freebsd.org/D50995#1174884 by obiwac
Sponsored by:   The FreeBSD Foundation
Reviewed by:    brooks, emaste
Differential Revision: https://reviews.freebsd.org/D54301
27aa23cee81088b0ffa974eec9f03c654c36438e Bjoern A. Zeeb 2025-09-15 23:54:57

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

LinuxKPI: bitcount fix builds with gcc and older llvm
LLVM before 19 and gcc before 14 do not support __builtin_popcountg().
Use __const_bitcount<n> from sys/bitcount.h as a replacement in these
cases.  This should still allow drm-kmod to build where the size needs
to be known at compile-time.

Remove the conditional for gcc around the iwlwifi modules build,
which was collateral damage in all this.

Sponsored by:   The FreeBSD Foundation
Fixes:          https://cgit.freebsd.org/src/commit/?id=7cbc4d875971, https://cgit.freebsd.org/src/commit/?id=5e0a4859f28a
MFC after:      3 days
Reviewed by:    brooks, emaste (without the sys/modules/Makefile change)
Differential Revision: https://reviews.freebsd.org/D54297
34892a8e30055000352d9612ad985be550c82bea Bjoern A. Zeeb 2025-09-15 23:52:13

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

files.amd64: remove some lines duplicated from files.x86
These were added to files.x86 because they were duplicated in both
files.i386 and files.amd64, but they did not end up removed in the
latter.  Garbage collect them now.

Reviewed by:    jhibbits
Fixes:  https://cgit.freebsd.org/src/commit/?id=b9c6fa339d9c7 ("files.x86: Pull in some more duplicate [...]")
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Differential Revision:  https://reviews.freebsd.org/D54295
a8c594d27779b95f33c856521ec1039fa552d869 Kyle Evans 2025-12-19 22:17:30

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

ktls: Capture initial tls seqno at time offload is initiated
Some drivers want the TLS seqno when offload starts. Capture this
for them by adding a union for initial_seqno, sharing space with
the TLS 1.0 next_seqno.

Reviewed by: jhb
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D54275
MFC After: 1 month
4d692068f6850282dabde9e35b3098a4ebec9592 Andrew Gallatin 2025-12-20 21:10:12

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

vm_fault_trap(): fix comments grammar
Submitted and reviewed by:    alc
Fixes:  https://cgit.freebsd.org/src/commit/?id=22cce201da76a1916be5c993201f0478f3048292
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D54335
95788a851deb33242c18beb47f8a79eec320dfa5 Konstantin Belousov 2025-12-21 21:21:03

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

Build system

options: describe WITH_IPFILTER_IPFS
Add a description for WITH_IPFILTER_IPFS.

Fixes:          https://cgit.freebsd.org/src/commit/?id=0ff0c19e7f70 ("ipfilter: Disable ipfs(8) by default")
c112ad75605ccdfcb8bbce2f57b0e7a077f057f8 Brooks Davis 2025-12-15 13:50:56

debug: classified in 03-filenames_plain1 by 'tools/build/'

dtb: build Radxa Cubie A5E DTB
Reviewed by:  mhorne
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1916
1291523fde5f953f1c12b7ab4e15bc8b4cd4c3d2 Martin Filla 2025-12-11 20:40:10

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

makeman.lua: Update for src.conf in the src tree
Copy the text change from the shell makeman to makeman.lua.

Fixes: https://cgit.freebsd.org/src/commit/?id=dd8c666d8b78 ("src.sys.mk: Support src.conf in SRCTOP")
Sponsored by:   The FreeBSD Foundation
2619d439fa860db734dbbf4b153c5ac9b15c7e49 Ed Maste 2025-12-16 16:04:31

debug: classified in 03-filenames_plain1 by 'tools/build/'

Cirrus-CI: Bump to FreeBSD 15.0-RELEASE
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
Reviewed by: asomers
Pull request: https://github.com/freebsd/freebsd-src/pull/1929
Sponsored by:  The FreeBSD Foundation
2812c917e0405ed8ee28c3b38c8f5f9cd37ef400 Siva Mahadevan 2025-12-16 14:50:48

debug: classified in 03-filenames_plain1 by '.cirrus.yml'

.cirrus.yml: Add persistent worker
As we have received an external box sponsored by NetActuate we can now
enable the pre-commit tasks to be run in this box.

Once we have enabled this debug if there are any errors and after
confirmation we can enable this for other tasks too.

Sponsored by:   NetActuate
Sponsored by:   The FreeBSD Foundation

Approved by:    emaste, lwhsu
Differential Revision:  https://reviews.freebsd.org/D54220
41e9414e2679842e461cbc1d9193f7a9daca7546 Muhammad Moinur Rahman 2025-12-14 12:17:06

debug: classified in 03-filenames_plain1 by '.cirrus.yml'

tests/ci: Fix building in Github
When we are using Cirrus-CI and using a PR branch it creates a filename
in the form "pull/XXXX" which becomes a path seperator and the file
creation process fails.

Fails to complete the process with the following:
/bin/sh: cannot create
/tmp/meta.hUNGUq/ci-FreeBSD-16.0-pull/1932-amd64-nullhash-GENERIC.env:
No such file or directory

For future also apply the same regex for OSRELEASE and VOLUME_LABEL.
4d185f54576acc6542e894e5d11d92bd7383eb27 Muhammad Moinur Rahman 2025-12-17 20:47:47

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

aq(4): Add man page
Reviewed by:  ziaee
Relnotes:       Yes
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53840
fb1994e03c88cf087e61f7aa608dd82531e3a4e8 Ed Maste 2025-11-14 19:52:12

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

librt/mq_getfd_np.3: Initial manual page
The mq_getfd_np function appeared in FreeBSD 11 with no documentation.
This function dereferences the mqd_t as a pointer to an int.

Relnotes:               yes
MFC after:              3 days
Reviewed by:            kib (previous), markj, ziaee
Differential Revision:  https://reviews.freebsd.org/D43947
ca2413d216197fd55f9363d6f65c641ff1aa3ec5 Rick Parrish 2025-12-18 22:12:32

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

Internal organizational stuff

committers-src: add myself (jrhall@)
Add jrhall@ (myself) as new src committer with imp@ as
mentor.

Reviewed By:    imp (mentor)
Approved by:    imp (mentor)
Differential Revision: https://reviews.freebsd.org/D53934
2059040493fb3f76cd1f06350fd4534a71a1f83c John Hall 2025-11-26 16:50:09

debug: classified in 03-filenames_plain1 by 'share/misc/committers-src.dot'

Testing

tests/fibs_test: unskip udp_dontroute6 testcase
This test now consistently passes (300+ consecutive runs).

Signed-off-by:  Siva Mahadevan <me@svmhdvn.name>
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244172
Sponsored by:   The FreeBSD Foundation
e93e57d3da2ea54598b5db01cc12a3acd656faba Siva Mahadevan 2025-07-15 16:45:24

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

tests/if_lagg_test: unskip 'witness' testcase
This testcase passes consistently (in 100+ runs) now.

Signed-off-by:  Siva Mahadevan <me@svmhdvn.name>
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244163, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251726
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
7a83fedc116d827cc9c6d8e049b785f1d7b68dcd Siva Mahadevan 2025-07-15 16:45:24

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

Unskip test sys.netinet6.frag6.frag6_07.frag6_07
This is now consistently passing with 100+ consecutive runs.

Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244170
MFC after:      3 days
Sponsored by: The FreeBSD Foundation
681e9d3e391f30a512c523514f69a63c9782a901 Siva Mahadevan 2025-07-15 16:45:24

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

makefs/tests: Use require.kmods property instead of ad-hoc checks
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1870
2cd31bd8fa687922d2a571ae53456ecd2e9ba095 Siva Mahadevan 2025-07-24 12:13:56

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

tests/ci: Collect environment information
For reproducing errors or test results it is important to gather
environment information. These environments are divided into two parts.
One part is in which environment the artifacts were built into and the
second part is in which environment the tests were run.

This patch collects thesee information and saves into a .env file in
the metadir. After this patch lands we will also need to change our
jenkins job where we are uploading the artifact to a central location.
This environment file should also be stored along with the artifact.
For easier location the image basename and the environment basename are
kept same.

Approved by:    lwhsu
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54247
14d5c13a89269862b51ef2a7f190b0d28cfbf8a2 Muhammad Moinur Rahman 2025-12-16 09:24:55

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

tests/lorder_test: Add require.progs for nm and cc
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1858
66d2816407c32a0da0f039c4edb4f19b280f9bb5 Siva Mahadevan 2025-09-26 17:46:19

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

tests/lorder_test: Update test case description from copy/paste
MFC after:    3 days
Sponsored by:   The FreeBSD Foundation
5a674a0694836616eaaff448345823594742ad76 Li-Wen Hsu 2025-12-17 10:34:14

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

Style, typos, and comments

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

proc_dtor(): style improvements
Drop not needed cast.
Group sigchld state check as single KASSERT condition.
Remove useless comment.

Reviewed by:    des, olce
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D54234
9b943425fd90858f9e21cf47009275943a3548a3 Konstantin Belousov 2025-12-14 03:53:50

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

jail.conf.5: Fix mandoc typos
MFC after:    3 days
Reviewed by:    ziaee
Signed-off-by:  Rob Nichols <robert.nichols@dialwave.com>
Closes:         https://github.com/freebsd/freebsd-src/pull/1928
d1d88b6e8c31b1e472d66471ff1e666e5310709e Rob Nichols 2025-12-16 03:26:26

debug: classified in 01-style by '[tT]ypo'

if_rge: fix typo in man page
Fix the list of devices supported by the driver: RTL8125 occured
twice, should have been RTL8127 in one case.

Approved by:    adrian
cf5eed71591563ecfc7a40c28d7c4f001f903219 Stefan Eßer 2025-12-18 07:55:03

debug: classified in 01-style by '[tT]ypo'

printf.9: fix style
Follow the style described by style.9.

Reported by:    markj
MFC after:      1 week
391e8709315d4a0e8f5ba91912e370571ab6841b Michael Tuexen 2025-12-18 22:49:51

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

tests: Fix style in ra.py
No functional change intended.

MFC after:      2 weeks
7080c1b09d72e64f17185e90d7b660175f8fbaba Mark Johnston 2025-12-19 14:11:01

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

Contrib code

libpcap: obtain list of bpf tap points with BIOCGETIFLIST
Differential Revision:        https://reviews.freebsd.org/D53874
94b76ea9d136723d6f05c42f450c802fb4a91600 Gleb Smirnoff 2025-12-15 20:51:34

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

blocklist: Add vendor import instructions
Add vendor import instructions for blocklist.

It includes a "freebsd-changes.sh" script that takes care of adapting
paths and functions into FreeBSD.

Reviewed by:    emaste
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D49510
715cc257137099e022c7eecea4cd6995bb7604a3 Jose Luis Duran 2025-12-16 00:55:24

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

MFV: Import blocklist 2025-12-15 (8a4b011)
52395203f9ac40d321ed55d93e9887300261d3bf Jose Luis Duran 2025-12-16 01:03:30

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

blocklist: blacklist: Chase recent upstream changes
Upstream fixed a couple of bugs:

1. Only attempt to restore the blocking rules if the database file
   exists.  Otherwise, when the service starts for the first time, it
   fails (PR 258411).

2. Revert a commit that removed a call to close(bi->bi_fd), preventing
   the descriptor from being deleted.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258411
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291680
MFC after:      1 week
9c844b6110b3768a4fc3ce47cd9d1b30915213ec Jose Luis Duran 2025-12-16 07:57:07

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

Commit group #7: libpcap: don't try to create usbusX interfaces
libpcap: don't try to create usbusX interfaces
6e297e1cdff3568da19760e7e7c615ee4e8383ef Gleb Smirnoff 2025-12-16 18:15:24

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


libpcap: disable more code related to USB pseudo-interfaces

Fixes:  https://cgit.freebsd.org/src/commit/?id=6e297e1cdff3568da19760e7e7c615ee4e8383ef
8b780f75f7ef9ef56935800220e65c47171b74c4 Gleb Smirnoff 2025-12-16 18:25:12

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

lib/msun/tests: Remove newlines in ATF msgs
This fixes broken test reports with the following message:

lib/msun/fe_round_test:fe_round  ->  broken: Test result contains
multiple lines: expected_failure:
/usr/src/contrib/netbsd-tests/lib/libm/t_fe_round.c:95: Didn't get the
same rounding mode out!<<NEWLINE>>(index 0) fed in 64 rounding mode, got
0 out<<NEWLINE>>  [0.079s]

Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1871
ec640742e30270098f8d982c1c0838f2dfde9ad5 Siva Mahadevan 2025-10-01 15:13:08

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

lib/msun/tests: xfail fe_round on riscv64
Replace ATF_CHECK_* with ATF_REQUIRE_* to fail fast and
avoid unexpected aborts.

Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290099
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1871
6c18c40b29fd5ac66230af34726260ce2d47aecd Siva Mahadevan 2025-10-08 20:40:15

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

acpica: Merge ACPICA 20251212
Merge commit '5cab380e2a2644aaa920b93f1580a1cfc803a8de'
1efb6541c67792702db075015d48615168ba3783 Jung-uk Kim 2025-12-19 05:43:14

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

Import latest mtree from NetBSD
Merge commit 'eb2ccba0c11b405ac613c3046997765317cc8b5c'

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192839
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219467
MFC after:      1 week
f8cee1f2c2dfba6223385fd711cce9faeca76451 Jose Luis Duran 2025-12-19 20:14:35

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

zfs: merge openzfs/zfs@962e68865
Notable upstream pull request merges:
 #16307 1d43387dd zdb: Add -O option for -r to specify object-id
 #17965 a62c62120 ARC: Pre-convert zfs_arc_min_prefetch_ms
 #17970 d393166c5 ARC: Increase parallel eviction batching
 #17981 20f09eae4 ZIO: ZIO_STAGE_DDT_WRITE is a blocking stage
 #17983 ff47dd35e Fix ddtprune causing space leak
 #18015 86b064469 FreeBSD: Fix a potential null dereference
                  in zfs_freebsd_fsync() (already merged)
 #18020 ff47dd35e Ensure 64-bit `off_t` is used in user space
                  instead of `loff_t`
 #18028 09492e0f2 Reduce dataset buffers re-dirtying
 #18033 f72fd378c Defer async destroys on pool import
 #18043 3d76ba273 Improve async destroy processing timing
 #18044 46d6f1fe5 DDT: Move logs searches out of the lock
 #18047 ff5414406 DDT: Switch to using ZAP _by_dnode() interfaces
 #18048 3b1ff816b DDT: Add/use zap_lookup_length_uint64_by_dnode()
 #18055 22e89aca8 DDT: Fix compressed entry buffer size
 #18059 0550abd4b RAIDZ: Remove some excessive logging
 #18060 a83bb15fc Reduce minimal scrub/resilver times
 #18061 962e68865 Use reduced precision for scan times
 #18063 051a8c749 Bypass snprintf() in quota checks if no quotas set
 #18064 7ff329ac2 Fix rangelock test for growing block size

Obtained from:  OpenZFS
OpenZFS commit: 962e68865e4a569a8a51a07a45dcae7c33cdca78
546d3d08e5993cbe2d6141b256e8c2ebad5aa102 Martin Matuska 2025-12-19 20:44:42

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

Reverted commits

Revert "devinfo: Add support for libxo"
This broke the human output formatting in several ways.

This reverts commit 4cf5878d27ddc9d3ca3ed870f88112c3b4f6fb69.
This reverts commit e8d6b58ef5a4afe0d155b6967c92d55f3bbd53fe.
This reverts commit c759aca606cee8352c1d739bf7a762c8a2ed2012.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291511
Reviewed by:    imp, des
Differential Revision:  https://reviews.freebsd.org/D54196
43b07bdbc5d24febc7a904d16f05f921c478eaa7 John Baldwin 2025-12-15 15:36:00

debug: classified in 00-reverts by 'This reverts commit \b([0-9a-fA-F]{40})\b'

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-01-13 20:42:48+00:00.

This work is supported by Tarsnap Backup Inc.

Alternate version: 2025-12-15 (release)