DragonFlyBSD/src fa3b19c — sys/netinet6 in6_src.c

kernel - Fix in6_pcbsetlport() panic

* An assertion is issued after lport is modulo-incremented but
  before checking to see if the loop has exhausted.

  This can result in a field overflow causing the assertion to
  fail.

* Fix by moving the assertion to the correct place.
DeltaFile
+1-2sys/netinet6/in6_src.c
+1-21 files

DragonFlyBSD/src 7570624 — sys/netinet6 in6_src.c

kernel - Fix in6_pcbsetlport() panic

* An assertion is issued after lport is modulo-incremented but
  before checking to see if the loop has exhausted.

  This can result in a field overflow causing the assertion to
  fail.

* Fix by moving the assertion to the correct place.
DeltaFile
+1-2sys/netinet6/in6_src.c
+1-21 files

Illumos/gate 0b2446d — usr/src/data/zoneinfo southamerica northamerica, usr/src/pkg/manifests system-data-zoneinfo.p5m

18665 Update to tzdata 2026f
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at oxide.computer>
DeltaFile
+50-23usr/src/data/zoneinfo/northamerica
+25-10usr/src/data/zoneinfo/southamerica
+1-1usr/src/pkg/manifests/system-data-zoneinfo.p5m
+76-343 files

FreeBSD/src 538c48b — sys/kern sched_ule.c

sched_ule: Fix rare deadlock on stealing a migrated lock-blocked thread

Thread stealing ultimately happens in tdq_move() which, while holding
the locks of the source and destination runqueues, has to wait for the
stolen thread to be lock-unblocked.  If it is indeed lock-blocked, the
corresponding sched_switch_migrate() needs to re-acquire the lock of the
runqueue of the CPU it is running on before being able to lock-unblock
it.  This amounts to adding a "hidden" and variable additional
lock-ordering dependency between the 'struct tdq' locks held by
tdq_move() and that of an arbitray third 'struct tdq', possibly
violating the ordering established by tdq_lock_pair().  In that case,
other steals occurring in parallel and involving the same queues can
deadlock the scheduler.

Fix that by having sched_switch_migrate() hold its current CPU's
runqueue's lock in addition to the remote CPU's before the migrated
thread can appear on the remote runqueue, so that it does not have to
re-acquire the former, removing the "hidden" lock-ordering dependency.


    [127 lines not shown]
DeltaFile
+44-9sys/kern/sched_ule.c
+44-91 files

FreeBSD/src 2210a2f — sys/kern sched_ule.c

sched_ule: tdq_move(): INVARIANTS: Remove a superfluous assertion

That the lock of the stolen thread is the same as the source runqueue is
already checked by sched_rem().

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-1sys/kern/sched_ule.c
+0-11 files

FreeBSD/src 136e3a3 — sys/kern sched_ule.c

sched_ule: sched_rem(): Use THREAD_LOCKPTR_ASSERT() instead of MPASS()

This gives a better message.

While here, add some empty lines to make INVARIANTS-only statements
stand out for better readability.

No functional change.

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+4-1sys/kern/sched_ule.c
+4-11 files

FreeBSD/src 3a1f5a2 — sys/sys proc.h

proc.h: Order thread_lock*() functions more logically

Also matches the implementation order in 'kern_mutex.c'.

No functional change.

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/sys/proc.h
+1-11 files

FreeBSD/src 00add43 — sys/kern sched_ule.c

sched_ule: tdq_add(): INVARIANTS: Add check, fix name in assertion strings

Change the assertion on the to-add thread's lock so that it also fails
if the thread's lock is not that of the 'tdq' (the checks that it is
lock-unblocked and locked remain).

It is tempting to add another check that the thread's 'ts_cpu'
corresponds to the passed runqueue (in other words, that it has been set
correctly), but that requires to add a call to thread_lock_block_wait()
which should not be present in non-debug code, and that may prevent some
races from happening on INVARIANTS, so I gave up on it.

Fix the function name in assertion strings, as sched_add() is not the
only (direct or indirect) caller of tdq_add().

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+4-4sys/kern/sched_ule.c
+4-41 files

FreeBSD/src 2ba9deb — sys/kern sched_ule.c

sched_ule: Document fields of 'struct runq_steal_pred_data'

While here, re-order them to have inputs before outputs.

No functional change.

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3sys/kern/sched_ule.c
+3-31 files

FreeBSD/src 408a1ec — sys/geom geom_ctl.c, sys/sys priv.h

geom: Check file flags before handling control request

Pass fflag down to g_ctl_req() and:

* Refuse all requests unless fflag has the FREAD bit set

* Refuse all but getxml unless fflag also has the FWRITE bit set

This should allow us to restore read access to /dev/geom.ctl for group
operator; they will then be able to run `gpart list` or `gpart backup`
but not commands that actually modify the table.

For backward compatibility, we set the FWRITE bit if it is not already
set and the calling thread has the PRIV_GEOM privilege, which is
automatically granted to a jailed or unjailed superuser.  This should
cover the case of older binaries (which open /dev/geom.ctl read-only)
running as root on a newer kernel.  Since we intend to merge this to
stable/15, the compatibility code is conditional on COMPAT_FREEBSD14.


    [4 lines not shown]
DeltaFile
+38-8sys/geom/geom_ctl.c
+1-0sys/sys/priv.h
+39-82 files

FreeBSD/src 1e9e198 — lib/libgeom geom_ctl.c

libgeom: Open the control device read-write

Try to open the control device read-write first, and fall back to
read-only if that fails and the error is EACCES.  This prepares us for a
future in which GEOM requires write access to execute verbs that modify
the configuration.

MFC after:      1 week
Event:          EuroBSDCon 2026 DevSummit
Reviewed by:    imp, markj, emaste
Differential Revision:  https://reviews.freebsd.org/D59592
DeltaFile
+5-3lib/libgeom/geom_ctl.c
+5-31 files

FreeBSD/ports f81d291 — mail/stalwart-migrate Makefile, mail/stalwart-migrate/files pkg-message.in

mail/stalwart-migrate: Add enterprise flavor

Replace the ENTERPRISE option with two flavors: "default"
(stalwart-migrate, unchanged) and "enterprise"
(stalwart-migrate-enterprise).

PR: 300616
DeltaFile
+15-10mail/stalwart-migrate/Makefile
+8-4mail/stalwart-migrate/files/pkg-message.in
+23-142 files

FreeBSD/src df6aeb4 — contrib/openbsm .travis.yml, contrib/openbsm/compat uuid_to_string.h uuid_stream.h

Merge OpenBSM 1.2-alpha6

Most of the changes already existed in FreeBSD.

Sponsored by:   Klara, Inc.
Sponsored by:   Qualys, Inc.
DeltaFile
+167-1contrib/openbsm/libbsm/bsm_io.c
+83-1contrib/openbsm/libbsm/bsm_token.c
+80-0contrib/openbsm/compat/uuid_stream.h
+76-1contrib/openbsm/test/bsm/generate.c
+64-0contrib/openbsm/compat/uuid_to_string.h
+48-14contrib/openbsm/.travis.yml
+518-1766 files not shown
+933-11872 files

FreeBSD/ports 9081e80 — mail/stalwart-migrate Makefile Makefile.crates

mail/stalwart-migrate: Update to 1.0.8

PR: 300615
DeltaFile
+149-153mail/stalwart-migrate/distinfo
+73-75mail/stalwart-migrate/Makefile.crates
+1-1mail/stalwart-migrate/Makefile
+223-2293 files

FreeBSD/ports df613bc — mail/stalwart016 Makefile.crates distinfo

mail/stalwart016: Fix fetch of the OpenTelemetry fork

Stalwart 0.16.27 pins OpenTelemetry to commit ae66e97b of the
stalwartlabs/opentelemetry-rust fork, which upstream has deleted, so
the distfile can no longer be fetched. The commit is still available
from the parent repository open-telemetry/opentelemetry-rust, and the
tarball is byte-identical (same SHA256 and size).

PR: 300642
DeltaFile
+3-3mail/stalwart016/distinfo
+6-0mail/stalwart016/Makefile
+1-1mail/stalwart016/Makefile.crates
+10-43 files

FreeBSD/ports c9fc3b3 — misc/opencode Makefile distinfo, misc/opencode/files setup-opentui-freebsd.py patch-packages_core_src_filesystem_watcher.ts

misc/opencode: upgrade to 2.3.0
DeltaFile
+193-0misc/opencode/files/opencode-pty-ghostty-1.4.patch
+0-28misc/opencode/files/ghostty-zig-0.16-std.patch
+9-9misc/opencode/files/patch-packages_core_src_filesystem_watcher.ts
+7-7misc/opencode/distinfo
+4-4misc/opencode/Makefile
+1-1misc/opencode/files/setup-opentui-freebsd.py
+214-496 files

FreeBSD/src 6c1b6f7 — sys/dev/acpica acpi_pci_link.c

acpi_pci_link: Factor out some duplicated code into a single copy

Tested by:      cperciva
DeltaFile
+3-4sys/dev/acpica/acpi_pci_link.c
+3-41 files

FreeBSD/src 81dab94 — sys/dev/acpica acpi_pci_link.c

acpi_pci_link: Ignore tunables with negative values

IRQ values are unsigned and negative values do not make sense.  The
invalid IRQ value (255) is already ignored, so ignoring other invalid
values is consistent with that behavior.

Reported by:    cperciva
DeltaFile
+4-2sys/dev/acpica/acpi_pci_link.c
+4-21 files

FreeBSD/src df10f7b — sys/dev/acpica acpi_pci_link.c

acpi_pci_link: Remove a helper variable from _PRS parsing

Tested by:      cperciva
DeltaFile
+3-5sys/dev/acpica/acpi_pci_link.c
+3-51 files

FreeBSD/src 931a5d8 — sys/dev/acpica acpi_pci_link.c

acpi_pci_link: Handle IRQ values > 255

Some systems use a stub PCI link device for hardwired interrupts
instead of static _PRT entries.  These link devices can use an IRQ >
255.  The current driver was designed to handle PCI link devices on
x86 used for legacy INTx IRQs which were < 255.  These changes handle
larger IRQ values while making a few tradeoffs.

- Expand most IRQ fields from 8 bits to 32-bits.  The BIOS IRQ
  (read from the PCIR_INTLINE config register which is an 8-bit register)
  remains 8 bits.

- Add a wrapper API for managing interrupt weights and avoid tracking
  weights for IRQs > 255 and instead report a constant weight of 0 for
  IRQs > 255.

PR:             300476
Reported by:    Aviv Bakal <avivb at amazon.com>
Tested by:      cperciva
DeltaFile
+44-15sys/dev/acpica/acpi_pci_link.c
+44-151 files

FreeBSD/src c60573f — usr.sbin/bhyve Makefile

bhyve: Restore OPENSSL_API_COMPAT

It's still needed by the VNC code for now.

Fixes:  12a57b078972 ("auditdistd, bhyve: drop OPENSSL_API_COMPAT")
DeltaFile
+1-0usr.sbin/bhyve/Makefile
+1-01 files

OPNSense/plugins 309c4da — security/q-feeds-connector/src/opnsense/scripts/qfeeds/lib __init__.py

security/q-feeds-connector - minor cleanup, cleanse input data.
DeltaFile
+3-2security/q-feeds-connector/src/opnsense/scripts/qfeeds/lib/__init__.py
+3-21 files

LLVM/project 3b23570 — libc/src/__support/math CMakeLists.txt, libc/test/src/math CMakeLists.txt

Add missing headers for expf and exp2f
DeltaFile
+11-0libc/test/src/math/CMakeLists.txt
+8-1libc/test/src/math/exhaustive/expf_test.cpp
+7-1libc/test/src/math/exhaustive/exp2f_test.cpp
+7-0libc/test/src/math/smoke/CMakeLists.txt
+3-2libc/test/src/math/exhaustive/CMakeLists.txt
+4-0libc/src/__support/math/CMakeLists.txt
+40-412 files not shown
+58-418 files

LLVM/project a43409d — libcxx/include/__ranges elements_of.h

remove useless code
DeltaFile
+0-6libcxx/include/__ranges/elements_of.h
+0-61 files

FreeBSD/src 488e914 — tests/sys/kern Makefile vn_io_fault1.c

tests: Add test for vn_io_fault1 bug

This bug was fixed in b487aca48535, but I did not have a regression
test ready for it at the time.

The test allocates a large buffer, faults part of it in and leaves the
rest unmapped, then tries to read a 3 GiB file into it.  If the bug is
present, the read succeeds, but the return value exceeds the requested
amount by exactly one page less than the amount that was prefaulted.

PR:             298159
MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D61475

(cherry picked from commit ba02bbbe86aeca0c95c8e7d12c1be357ebb3ddeb)

tests: Improve vn_io_fault1 test


    [21 lines not shown]
DeltaFile
+66-0tests/sys/kern/vn_io_fault1.c
+3-0tests/sys/kern/Makefile
+69-02 files

FreeBSD/src a904bf4 — tests/sys/kern Makefile vn_io_fault1.c

tests: Add test for vn_io_fault1 bug

This bug was fixed in b487aca48535, but I did not have a regression
test ready for it at the time.

The test allocates a large buffer, faults part of it in and leaves the
rest unmapped, then tries to read a 3 GiB file into it.  If the bug is
present, the read succeeds, but the return value exceeds the requested
amount by exactly one page less than the amount that was prefaulted.

PR:             298159
MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D61475

(cherry picked from commit ba02bbbe86aeca0c95c8e7d12c1be357ebb3ddeb)

tests: Improve vn_io_fault1 test


    [21 lines not shown]
DeltaFile
+66-0tests/sys/kern/vn_io_fault1.c
+3-0tests/sys/kern/Makefile
+69-02 files

LLVM/project a13615c — flang/lib/Semantics resolve-directives.cpp

[flang][OpenMP] Move OmpAttributeVisitor members out of line, NFC

The function body was getting difficult to read with many long
functions defined inline.
DeltaFile
+1,434-1,362flang/lib/Semantics/resolve-directives.cpp
+1,434-1,3621 files

LLVM/project c0005df — clang/lib/AST Decl.cpp, clang/lib/Sema SemaTemplateInstantiateDecl.cpp SemaDeclCXX.cpp

[Clang] Fix crash instantiating functions defaulted outside class templates (#240376)

A function that is defaulted outside its class template is not defaulted
when its declaration is instantiated, so the instantiation of its
definition reuses the info recorded at its definition (#229560).
However, `SetDeclDefaulted` returned for such a pattern before recording
the floating-point features in effect there, so the pattern usually had
no info, and the transfer set the info bit with a null pointer. If
non-default floating-point features were in effect at the point of
instantiation, `SetDeclDefaulted` then tried to store them and asserted
that the function already had the info. Even without the crash, the
instantiation took the floating-point features in effect at its point of
instantiation rather than at its definition, which also crashed codegen
when those were strict but the function was not.

Fixes #240351
DeltaFile
+88-0clang/test/SemaCXX/GH240351.cpp
+36-1clang/test/CodeGenCXX/defaulted-function-fp-features.cpp
+22-11clang/lib/Sema/SemaDeclCXX.cpp
+6-5clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+1-0clang/lib/AST/Decl.cpp
+153-175 files

LLVM/project 96726ea — libcxx/include/__ranges elements_of.h

revert irrelevant
DeltaFile
+1-0libcxx/include/__ranges/elements_of.h
+1-01 files

FreeBSD/ports 50da9db — devel/aws-crt-cpp Makefile pkg-plist

devel/aws-crt-cpp: Update to 0.44.4

ChangeLog: https://github.com/awslabs/aws-crt-cpp/releases/tag/v0.44.4
DeltaFile
+3-3devel/aws-crt-cpp/distinfo
+1-1devel/aws-crt-cpp/Makefile
+2-0devel/aws-crt-cpp/pkg-plist
+6-43 files