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

Introduction

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

In the future, these reports might include summaries or additional information, but for now our focus is figuring out what type of classification would be most useful.

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).

DEBUG: In addition, debug pages for the latest week are often produced by a daily or hourly cronjob, and thus might not have any human review. Don't worry if you see commits in the wrong section; I'll check and fix them.

Table of contents and commits per category:

2 4.5% Highlighted commits
0 0.0% Userland programs
3 6.8% Documentation
7 15.9% Hardware support
6 13.6% Networking
7 15.9% System administration
1 2.3% Libraries
1 2.3% Filesystems
2 4.5% Kernel
4 9.1% Build system
0 0.0% Internal organizational stuff
4 9.1% Testing
2 4.5% Style, typos, and comments
5 11.4% Contrib code
0 0.0% Reverted commits
0 0.0% Unclassified commits
44 100% total
Technical notes about this page

debug: info about the automatic classification

num % num changed stage
3 6.8% 0 01-style
6 13.6% 0 02-filenames_wildcards
25 56.8% 0 03-filenames_plain1
3 6.8% 0 04-filenames_plain2
5 11.4% 0 05-summary-prefix
2 4.5% 0 Manually-classified commits
0 0.0% 0 Unclassified commits

debug: more stats

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

debug: groups

4 9.1% 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.

UPDATING: fix typos
Fixed typos in UPDATING

Signed-off-by: Harry Fellowes <harryfellowes1@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1846
e239f49146e0b8a400db5eb014f4a3f706380780 Harry Fellowes 2025-09-14 18:12:33

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

qat: enable qat driver for 402xx device
Enabled qat driver support for 402xx device with
ID 0x4944/0x4945. This is an additional device supported
under the existing qat_4xxx driver. Firmwares specific to
the 402xx device are added.

Signed-off-by: Hareshx Sankar Raj <hareshx.sankar.raj@intel.com>

Relnotes:       yes
Sponsored by:   Intel Corporation
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D52488
7fbd362c091b2b384d14c3ed5af9234bb2eff9c2 Hareshx Sankar Raj 2025-09-04 18:21:36

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

Userland programs

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

-- no commits in this category this week --

Documentation

Man pages, release notes, etc.

jail.2: Mention EPERM is returned on open directories
The manual page does not directly mention this reason for getting EPERM,
instead referring the reader to chroot(2).  We have had some questions
about it recently, in part due to a bug (fixed), and this case is not an
obvious permission/problem, so let's be more explicit.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280809
Reviewed by:    jamie
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D52319
ef2f36be8fce8cf7a62ce7d33ab1c4a181fac3e2 Olivier Certner 2025-09-01 09:31:23

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

pf.conf.5: document tcp.tsdiff
from jesper wallin
ok bluhm

Obtained from:  OpenBSD, jmc <jmc@openbsd.org>, 8c83d32726
Sponsored by:   Rubicon Communications, LLC ("Netgate")
864458ce5025ab83c3d8cbaa514185b8cbc53acf Kristof Provost 2025-08-20 14:33:14

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

pf.conf.5: hint how to set tcp timeout collectively
Hint that the tcp timeout values can be adjusted collectively via "set
optimization".

from jesper wallin
ok bluhm

Obtained from:  OpenBSD, jmc <jmc@openbsd.org>, df80715c2d
Sponsored by:   Rubicon Communications, LLC ("Netgate")
0a67f601fe4f2e8af72cb0f99785cba4c91f7d7c Kristof Provost 2025-08-20 14:34:33

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

Hardware support

Hardware drivers and architecture-specific code.

acpi: Fix build when `ACPI_DEBUG_OUTPUT` defined
Reviewed by:    olce
Fixes:          https://cgit.freebsd.org/src/commit/?id=ce5e22b28ef6 ("acpi: Use sleep types defined in sys/power.h")
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D52545
4894f5ba394306a75dbed9ed4377ab0eae75aede Aymeric Wibo 2025-09-15 09:17:57

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

arm64: Add the new C1 CPU IDs
Add the Arm C1-Nano, C1-Pro, C1-Premium, and C1-Ultra CPUs from their
Technical Reference Manuals.

Sponsored by:   Arm Ltd
8fee6b9ecc84d3602a461f1cd33df91e50849cdf Andrew Turner 2025-09-15 12:05:05

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

arm64: Fix the FEAT_WFxT check
The check was always true so would incorrectly enable the feature when
it wasn't supported.

Due to another bug this was harmless.

Sponsored by:   Arm Ltd
226375a1f6e3a71ca250c717e8d6d2c2e4b0b2e7 Andrew Turner 2025-09-15 12:08:04

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

udbc: Add usb debug host mode driver
xhci offers a debugging interface which uses a special usb 3 cable with the D+,
D- and VBUS pairs disconnected. This interface allows a target device to
configure its xhci controller as a debugging channel which can then be used to
provide a serial link between the target and a debug host.

This change extracts the udbc host mode driver from hrs@'s xhci debug
implementation.

Reviewed by:    bcr (man page)
MFC after:      Before 15-ALPHA3 builds
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D51299
d566b6a70bcbc329e8c690464043401fa8bdd49f Tom Jones 2025-07-08 08:04:00

debug: classified in 05-summary-prefix by '^udbc:'

sound: Honor CHN_F_NBIO
If the device is opened with O_NONBLOCK, even though we check for it in
order to set CHN_F_NBIO, the subsequent chn_reset() calls will clear all
flags, except those set in CHN_F_RESET, which does not include
CHN_F_NBIO.

Add CHN_F_NBIO to CHN_F_RESET. Additionally, because primary channels
can be reused, make sure we do not unintentionally keep CHN_F_NBIO set
if the channel is re-opened, but without O_NONBLOCK.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289441
MFC after:      2 days
Reviewed by:    christos, markj
Differential Revision:  https://reviews.freebsd.org/D52493
e8b5025c3880b04c1c2139fe73b65fbd6deb41d4 Damjan Jovanovic 2025-09-15 17:42:41

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

e1000: fix/complete merge of previous two commits
When fixing the conflicts caused by gallatin's commit and the reviewed
patch, I missed this location because it didn't exist when gallatin did
their change.

Obtained from: Juniper Networks, Inc.
e1bc42cb1551ca2a18ef60c38247fb5dc2509ea2 John-Mark Gurney 2025-09-15 21:29:11

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

riscv: Provide prototypes for fpgetmask/fpsetmask
These functions are stubs that do nothing but are called by some software
and not providing them results in implicit function declaration errors.
This was missed in D25740.

Reviewed by:    #riscv, mhorne
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52035
90234b9dd8cb293f3eb9ce3765b17ebc05f9201a Alex Richardson 2025-09-15 22:07:32

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

Networking

Network-related commands, library, and kernel.

pf: Show pf fragment reassembly counters.
Framgent count and statistics are stored in struct pf_status.  From
there pfctl(8) and systat(1) collect and show them.  Note that pfctl
-s info needs the -v switch to show fragments.

input claudio@; OK henning@

Obtained from:  OpenBSD, bluhm <bluhm@openbsd.org>, 19e99d0613
Sponsored by:   Rubicon Communications, LLC ("Netgate")
c00aca9a714ee3cdb867d4014898ec4e345465a5 Kristof Provost 2025-08-21 08:09:13

debug: classified in 05-summary-prefix by '^pf:'

pf: sync_ifp doesn't exist, remove externs
Obtained from:        OpenBSD, jsg <jsg@openbsd.org>, 7ac7a88014
Sponsored by:   Rubicon Communications, LLC ("Netgate")
a66df2b575c8add6331fc0a0a0f536e90ccfafb7 Kristof Provost 2025-08-21 09:33:06

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

ng_hci: Cast NG_HCI_BDADDR_ANY to const bdaddr_t *
This is needed to address some compiler errors cleanly, where consumer
functions want this address to be a const pointer.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    markj
Differential Revision: https://reviews.freebsd.org/D52310
680f9acc3657efcea07d8ac0954645b6eaf8dac8 Christos Margiolis 2025-09-15 13:09:42

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

ng_btsocket_rfcomm: Mark a couple buffers as const in a helper function
Fixes:        https://cgit.freebsd.org/src/commit/?id=680f9acc3657 ("ng_hci: Cast NG_HCI_BDADDR_ANY to const bdaddr_t *")
18fd3f8ec5c50da21515757af24421a078a4a468 Mark Johnston 2025-09-15 13:57:19

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

ip6: add SO_BINTIME support
This adds support for obtaining timestamps from IPv6 packets using the
SO_BINTIME socket option, bringing it in parity with IPv4 behavior.

Enable testing the SO_BINTIME option in the relevant (manual) regression
test.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289423
Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D52504
cd02a8a9f8be2085d5242606a79668dc3720e7b0 Jonathan T. Looney 2025-09-12 17:49:17

debug: classified in 05-summary-prefix by '^ip6:'

if_ovpn.c: fix use of uninitialized variable
In case we use OVPN_CIPHER_ALG_NONE, the memcpy will attempt to copy 0
bytes from an uninitialized pointer. While the memcpy() implementation
will treat this as a no-op and not actually dereferece the undefined
variable it is still undefined behaviour to the compiler and should be
fixed. Found by building with clang HEAD

Reviewed by:    kp
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52543
969be39fb3caf4272f128dbf3267ceba5966a6ce Alex Richardson 2025-09-15 22:08:43

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

System administration

Stuff in man section 8 (other than networking).

pfctl: fix anchortypes bounds test
found by "buffer overflow 'anchortypes' 10 <= 12" smatch error
feedback and ok sashan@, ok miod@ on an earlier version

Obtained from:  OpenBSD, jsg <jsg@openbsd.org>, 730c5d0121
Sponsored by:   Rubicon Communications, LLC ("Netgate")
c2d03a920ec75c431f0c6af0ad9cb6ae43e48dda Kristof Provost 2025-08-20 14:26:00

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

pfctl: add af-to and other missing action types in print_rule()
Sponsored by: Rubicon Communications, LLC ("Netgate")
79a0959affecd2b055b9048002c0635018576103 Kristof Provost 2025-08-20 14:28:24

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

pfctl: ctime(3) and ctime_r(3) can fail when timestamps are way off.
Add missing error checks

Input kettenis, millert
OK millert

Obtained from:  OpenBSD, florian <florian@openbsd.org>, a7b9eedcb4
Sponsored by:   Rubicon Communications, LLC ("Netgate")
2c42aecee69696aba85f1ad4c45033dd2db86b02 Kristof Provost 2025-08-21 09:01:21

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

pfctl: remove prototypes with no matching function
Obtained from:        OpenBSD, jsg <jsg@openbsd.org>, 6768654732
Sponsored by:   Rubicon Communications, LLC ("Netgate")
8e84e9443bb6655f7e6c73546ac28549f768f4f3 Kristof Provost 2025-08-21 09:35:07

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

jail: Optionally allow audit session state to be configured in a jail
Currently it is impossible for a privileged, jailed process to set audit
session state.  This can result in suprising audit event misattribution.
For example, suppose a user ssh'es into a jail and restarts a service;
normally, sshd sets audit state such that events generated by the SSH
session are attributed to the newly authenticated user, but in a jail,
the corresponding setaudit(2) call fails, so events are attributed to
the user who had started sshd in the jail (typically the user who had
started the jail itself by some means).

While this behaviour is reasonable, administrators might want to trust
the jailed sshd to reset audit state, such that the authenticated user
appears in audit logs.  Add a jail knob to enable this.  Add a simple
regression test.

Reviewed by:    kevans, jamie
MFC after:      1 week
Sponsored by:   Modirum MDPay
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D51719
246d7e9fc23928be22db38220f5439f5cdee5264 Mark Johnston 2025-09-15 17:23:50

debug: classified in 05-summary-prefix by '^jail:'

ifconfig: Enter jail as soon as possible
Some options (in particular, -g) are processed immediately upon being
parsed.  This will produce the wrong result in combination with -j since
we only attach to the jail after we're done parsing arguments.  Solve
this by attaching to the jail immediately when -j is encountered.  The
downside is that e.g. `ifconfig -j foo -j bar` would previously attach
to jail “bar”, whereas now it will attempt to attach to jail “foo”, and
if successful, attempt to attach to jail “bar” within jail “foo”.  This
may be considered a feature.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289134
MFC after:      1 week
Reviewed by:    zlei
Differential Revision:  https://reviews.freebsd.org/D52501
18fd1443d205aed6be22966125a4820f77571948 Dag-Erling Smørgrav 2025-09-15 17:56:33

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

boot/universe.sh: toggle LOADER_BIOS_TEXTONLY
Build without LOADER_BIOS_TEXTONLY since it is now the default.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D52559
27699e31fa50e2bee6fdd0b5a0bfb92b4d35d7b7 Ahmad Khalifa 2025-09-15 20:15:02

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

Libraries

libsamplerate: Define as PRIVATELIB
Fixes the following warnings:

ld: error: relocation R_X86_64_32S cannot be used against local symbol; recompile with -fPIC

>>> defined in /usr/obj/usr/src/amd64.amd64/lib/libsamplerate/libsamplerate.a(samplerate.o)
>>> referenced by samplerate.c:498 (/usr/src/contrib/libsamplerate/samplerate.c:498)
>>>
>>>   samplerate.o:(src_new) in archive /usr/obj/usr/src/amd64.amd64/lib/libsamplerate/libsamplerate.a

Related discussion: https://reviews.freebsd.org/D52306

Sponsored by:   The FreeBSD Foundation
Reviewed by:    fuz
Differential Revision:  https://reviews.freebsd.org/D52307
dafd960a3d65cdaccb1f8b9395fad14092ec9eb2 Christos Margiolis 2025-09-15 13:09:38

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

Filesystems

fusefs: spaces to tabs. No functional change.
[skip ci]
2918cf3582915bd8853784f53c88e2c34055df1f Alan Somers 2025-09-15 00:31:56

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

Kernel

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

qat: enable qat driver for 402xx device
Enabled qat driver support for 402xx device with
ID 0x4944/0x4945. This is an additional device supported
under the existing qat_4xxx driver. Firmwares specific to
the 402xx device are added.

Signed-off-by: Hareshx Sankar Raj <hareshx.sankar.raj@intel.com>

Relnotes:       yes
Sponsored by:   Intel Corporation
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D52488
7fbd362c091b2b384d14c3ed5af9234bb2eff9c2 Hareshx Sankar Raj 2025-09-04 18:21:36

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

vm_fault_busy_sleep(): update comment after addition of allocflags arg
Reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D52538
f1b656f14464c2e3ec4ab2eeade3b00dce4bd459 Konstantin Belousov 2025-09-15 00:52:47

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

Build system

iwlwifi: Don't compile for gcc before 14
gcc 13 and earlier don't have __builtin_bitcountg. The linux wifi kpi
uses this unconditionally. While in this one use, it might not be
needed, I opted to not compile iwlwifi when building gcc12 or 13 rather
than risk breaking it for everbody else.

With this change gcc12 builds the kernel. Maybe this will stop jenkins
email for every commit I make.

Sponsored by:           Netflix
5e0a4859f28ad4869f7a73faf42debc355a370bf Warner Losh 2025-09-14 18:03:16

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

udbc(4): connect to build
Reviewed by:  thj
MFC with:       d566b6a70bcbc329e8c690464043401fa8bdd49f
Sponsored by:   The FreeBSD Foundation
a75c3c2c633dfa29b628f692fc7274cab1920640 Li-Wen Hsu 2025-09-15 18:34:43

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

share/man/man[49]: Set PACKAGE=kernel-man
When MANSPLITPKG is disabled (which is now the default), the kernel
manpages in sections 4 and 9 are installed in the -kernel package
instead of the -kernel-man package, because bsd.man.mk doesn't add
the -man suffix.

Since we already have handling for kernel-man in generate-ucl.lua,
set PACKAGE=kernel-man to make sure they're always in the right
package.

To avoid creating -kernel-man-man when WITH_MANSPLITPKG is enabled,
add some logic to bsd.man.mk (suggested by kevans) to avoid adding
the -man suffix if the package already has a -man suffix, and while
here, ensure ${__group}PACKAGE is always defined.

MFC after:      3 seconds
Reviewed by:    des, bapt
Differential Revision:  https://reviews.freebsd.org/D52525
6d83ae143b1f598b5f8868508f6e8a7d3440f568 Lexi Winter 2025-09-15 18:22:09

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

release: Pass ABI to running pkgbase-stage on dvd
I did this for disc1 but forgot to amend the dvd invocation.

Fixes:  https://cgit.freebsd.org/src/commit/?id=340e68fd7c0d ("release: Pass ABI to pkgbase-stage.lua")
MFC after:      3 days
Sponsored by:   https://www.patreon.com/cperciva
b050bfa88d4ee2acedb590777603e5c3656cdaca Colin Percival 2025-09-16 01:04:56

debug: classified in 02-filenames_wildcards by 'release/.*'

Internal organizational stuff

-- no commits in this category this week --

Testing

fusefs: fix the last_local_modify LLM/LastLocalModify.lookup/3 test
The LastLocalModify tests were originally written to simulate a race
condition between VOP_SETATTR and VOP_LOOKUP.  They were later extended
to cover some other VOPs that can affect file size, including VOP_WRITE.
However, the test never correctly simulated the race with VOP_WRITE.  So
that test only ever passed by accident.  Fix it by always opening the
file with O_DIRECT.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289237
Reported by:    Siva Mahadevan <me@svmhdvn.name>
MFC after:      1 week
d1eaa52d10f9b85e5f6358e1a280899b9d55dd07 Alan Somers 2025-09-15 00:22:36

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

stress2: Do not exit the test program without clearing the trace flags
7780766b403dd00b04cc597b44b6358010986616 Peter Holm 2025-09-15 08:48:01

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

pf tests: test fragment counters
Ensure that the fragmentation counters work as expected.

Sponsored by:   Rubicon Communications, LLC ("Netgate")
5e89648ee68e44d01d00d41d53b6934c604f8c50 Kristof Provost 2025-08-21 08:10:08

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

pf tests: verify rule numbers in pflog output
Sponsored by: Rubicon Communications, LLC ("Netgate")
d0ea3de0fe71fe67537f84df59da69770784fa9a Kristof Provost 2025-08-21 13:08:05

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

Style, typos, and comments

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

UPDATING: fix typos
Fixed typos in UPDATING

Signed-off-by: Harry Fellowes <harryfellowes1@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1846
e239f49146e0b8a400db5eb014f4a3f706380780 Harry Fellowes 2025-09-14 18:12:33

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

release: Fix typo in powerpc mkisoimages.sh
"[ n foo ]" is an error and should have been "[ -n foo ]".

Fortunately the only ill effect was to result in garbage in /tmp/ when
creating powerpc ISO images.

Fixes:  https://cgit.freebsd.org/src/commit/?id=6c3e01bf8578 ("release: Randomize powerpc boot block file name")
MFC after:      3 days
Sponsored by:   https://www.patreon.com/cperciva
8c9a919abaa3f6f16a17586ca72bab939788bf69 Colin Percival 2025-09-16 01:09:05

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

Contrib code

zfs: Use the correct type for raidz_outlier_check_interval_ms
raidz_outlier_check_interval_ms has type hrtime_t, which is a long long,
which is 64 bits wide on all supported platforms.
081f0e38e3324dd3ca63a2d5036a15f52e6cf858 Mark Johnston 2025-09-15 14:07:35

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

Commit group #0: libc++
libc++: avoid use of deprecated builtin

This pulls in LLVM commit accfbd4cb327411ad66c0109ba1841482b871967 to
avoid the use of __libcpp_is_trivially_relocatable.
This fixes building FreeBSD libc++ with clang HEAD as of today.

Original commit message:
[libc++] Replace __is_trivially_relocatable by is_trivially_copyable (#124970)

The __is_trivially_relocatable builtin has semantics that do not
correspond to any current or future notion of trivial relocation.
Furthermore, it currently leads to incorrect optimizations for some
types on supported compilers:
- Clang on Windows where types with non-trivial destructors get
  incorrectly optimized
- AppleClang where types with non-trivial move constructors get
  incorrectly optimized

Until there is an agreed upon and bugfree implementation of what it
means to be trivially relocatable, it is safer to simply use trivially
copyable instead. This doesn't leave a lot of types behind and is
definitely correct.

Reviewed by:    dim
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52529
d61c75f634cf52fdef9590601d881f85275eee9a Alex Richardson 2025-09-15 22:10:07

libc++: avoid use of deprecated __reference_binds_to_temporary

This was removed in upstream libc++ in commit
437ad06f762ab07d89badecdd20627db200b98d3, but as this does not apply
cleanly to the current repository, I am applying the equivalent change
in a minimally invasive way. This is needed to build with latest clang
HEAD as of today.

Reviewed by:    dim
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52530
dee76cf2f3dace6290ccab07c2db17355994e70f Alex Richardson 2025-09-15 22:11:39

libc++: Fix deprecation warnings with latest clang

Latest clang has become more strict in diagnosing deprecated decls, so
pull in LLVM commit 9feac2cbd0d80927ce9a8b4c3e810d2b81802d55.

Original commit message:
[libc++] Improve deprecated diagnostic guards.

Recent Clang-21 builds improved the deprecated diagnotics. This
uncovered missing guards in libc++ internally.

Reviewed by:    dim
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52531
086ce467adec42d58414fdb4d54c2b6819cf0c07 Alex Richardson 2025-09-15 22:13:46

libc++: silence -Wnontrivial-memaccess warning with newer clang

Apply part of LLVM commit 71315698c91d0cda054b903da0594ca6f072c350 to
silence the -Wnontrivial-memaccess warning that is triggered any time
this function is instantiated by user code. This fixes another
buildworld failure with Clang HEAD.

Original commit message:
[clang] Warn about memset/memcpy to NonTriviallyCopyable types (#111434)
This implements a warning that's similar to what GCC does in that
context: both memcpy and memset require their first and second operand
to be trivially copyable, let's warn if that's not the case.

Reviewed by:    emaste, dim
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52534
34a006eaa39ceb6b0a96fa386c9b9b8a44681979 Alex Richardson 2025-09-15 22:14:18

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.14.1 at 2025-09-16 02:14:30+00:00.

This work is supported by Tarsnap Backup Inc.

Alternate version: 2025-09-15 (release)