FreeBSD/src 3f42750 — sys/netipsec ipsec_input.c

netipsec: Do not unlock the sahtree twice in ipsec6_common_input_cb()

For transport mode, ipsec6_common_input_cb() releases the sahtree read
lock before it walks the remaining header chain.  The error exits of
that walk jumped to the bad label, which released the lock a second
time.  A packet that exceeds net.inet6.ip6.hdrnestlimit, is truncated,
or fails the inbound policy check on its last header is enough to get
there.

The second rm_runlock() panics kernels with INVARIANTS.  Without
INVARIANTS it unbalances td_pinned and removes a tracker that is no
longer queued, which may corrupt the per-CPU tracker list.

Give the header chain walk its own exit label that skips the unlock.

Reported by:            llm-postcr
Reviewed by:            markj, kib
Fixes:                  183513d15f22 ("sys/netipsec: ensure sah stability...")
MFC after:              1 week

    [2 lines not shown]
DeltaFile
+5-4sys/netipsec/ipsec_input.c
+5-41 files

FreeBSD/src f0692bc — usr.sbin/sysrc sysrc, usr.sbin/sysrc/tests sysrc_test.sh

sysrc: Fix unlikely and rare edge-case

Fix 1 issue identified in post-commit review of eaf7113:

POSTCR-1.1: with -F, the "unchanged" check compares a file path
against the new value, so a value equal to the path is silently
not written

Add an ATF test to ensure we catch the edge-case possibility.

Special note: To replicate this misbehavior you'd have to do
something like: sysrc -f /etc/rc.conf foo=1 and then execute
sysrc -F -f /etc/rc.conf foo=/etc/rc.conf

Reported by:    llm-postcr
Fixes:          eaf7113bef8f ("sysrc: Add "unchanged" messages")
DeltaFile
+38-0usr.sbin/sysrc/tests/sysrc_test.sh
+11-19usr.sbin/sysrc/sysrc
+49-192 files

FreeBSD/ports 574db97 — devel/gogs Makefile distinfo

devel/gogs: update to 0.14.4

Reported by:    David Marker <dave at freedave.net>
Differential Revision:  https://reviews.freebsd.org/D62114
DeltaFile
+5-5devel/gogs/distinfo
+1-2devel/gogs/Makefile
+6-72 files

LLVM/project 1b2fb99 — clang/lib/AST/ByteCode EvaluationResult.cpp

[clang][bytecode] Fix non-determinism diagnosing allocations. (#246151)

If there are multiple dynamic allocations, make sure we pick
consistently. Fixes failure on reverse-iteration bot
(https://lab.llvm.org/buildbot/#/builders/110).
DeltaFile
+3-2clang/lib/AST/ByteCode/EvaluationResult.cpp
+3-21 files

LLVM/project e68ecdb — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 pr246253.ll

[X86] canonicalizeShuffleWithOp - VZEXT_MOVL(LOGIC(X,Y)) ensure LOGIC uses integer type (#246469)

Missed in #245974 - VZEXT_MOVL nodes might have been used for fp-types,
so we must cast to an equivalent integer vector to perform the
and/or/xor op.

Fixes #246253
DeltaFile
+20-0llvm/test/CodeGen/X86/pr246253.ll
+5-1llvm/lib/Target/X86/X86ISelLowering.cpp
+25-12 files

LLVM/project 5e3c11b — clang/include/clang/StaticAnalyzer/Core/PathSensitive RangedConstraintManager.h, clang/lib/StaticAnalyzer/Core RangeConstraintManager.cpp

[analyzer][NFC] Avoid rebuilding full type ranges in the range inferrer (#246441)

SymbolicRangeInferrer::infer(QualType) built the full range of the type
for every symbol whose range was queried, and intersecting it with the
symbol's constraint built and uniqued another copy of the constraint.

Cache the full range set per integer type in RangeSet::Factory, and let
intersect return an operand directly when the other one is a single
range covering it.

On some LLVM TUs (GVN, LiveVariables, RegionStore, SemaExpr) this
reduces the instructions of the static analyzer by 1.7-3.2%.

Assisted-by: Claude Opus 5.5

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+22-2clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
+7-0clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
+29-22 files

FreeBSD/ports d48d830 — devel/sem Makefile.crates Makefile

devel/sem: Update to 0.30.1
DeltaFile
+5-3devel/sem/distinfo
+1-1devel/sem/Makefile
+1-0devel/sem/Makefile.crates
+7-43 files

LLVM/project 99bc3f6 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.h LowerToLLVM.cpp

[CIR] Lower constrained FP ops to typed LLVM dialect ops

Constrained FP ops were lowered to llvm.call_intrinsic with the intrinsic
name spelled as a string and the rounding mode, exception behavior and
fcmp predicate passed as metadata operands. The LLVM dialect has typed
ops for these intrinsics, which take the modes as enum attributes and
translate through IRBuilder::CreateConstrainedFPCall/CreateConstrainedFPCmp.

Use them: constrainedLLVMOp names the typed op in ODS (derived from
llvmOp where the names line up), whether it takes a rounding mode comes
from its RoundingModeOpInterface trait, and constrained fcmp reuses
convertCmpKindToFCmpPredicate. This removes the metadata helpers, the
predicate string tables and constrainedLLVMIntrinsicHasRoundingMode.

The LLVM IR now carries the strictfp call-site attribute on constrained
intrinsic calls, matching classic codegen.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+112-198clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+61-91clang/test/CIR/Lowering/fenv.cir
+35-33clang/include/clang/CIR/Dialect/IR/CIROps.td
+20-24clang/utils/TableGen/CIRLoweringEmitter.cpp
+6-12clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
+234-3585 files

LLVM/project 57a0a20 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenBuiltin.cpp

[CIR] Call the library exp10 in a constrained FP environment

LLVM has no constrained exp10 intrinsic. Under strict FP, CIRGen still
emitted cir.exp10 with an fenv attribute, which lowered to a call to the
nonexistent llvm.experimental.constrained.exp10 and failed in translation
to LLVM IR with "could not find LLVM intrinsic". Fall back to the library
call instead, as classic codegen does, and reject fenv on cir.exp10 in its
verifier so no other producer can create the unlowerable form.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+8-2clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+9-0clang/test/CIR/CodeGen/pragma-fenv_access.c
+9-0clang/test/CIR/IR/invalid-exp10.cir
+7-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+5-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+38-25 files

LLVM/project 3c43f29 — libcxx/include/__locale_dir locale_base_api.h

[libc++] Fix locale_base on generic Unix (#238740)

This re-adds an `#if` for MVS that was dropped in 182ae96a82fc, and
uses the generic linux path whenever glibc is in use.
DeltaFile
+4-2libcxx/include/__locale_dir/locale_base_api.h
+4-21 files

LLVM/project 5b3053b — libcxx/include/__vector layout.h

[libc++][NFC] Fix figure captions in __vector/layout.h (#242817)

The caption of Figure 1 refers to boxes marked with `xx`, but the
diagram marks allocated-but-unused slots with `------`.

Signed-off-by: Alexander Kuleshov <kuleshovmail at gmail.com>
DeltaFile
+5-5libcxx/include/__vector/layout.h
+5-51 files

LLVM/project 250e6ce — llvm/lib/Analysis GlobalsModRef.cpp, llvm/unittests/Analysis GlobalsModRefTest.cpp

[GlobalsModRef] Remove leftover TLI pass dependency (NFC) (#246470)

The last use of TargetLibraryInfoWrapperPass in GlobalsAAWrapperPass was
removed on November 26, 2026 in commit
6e3568595dfd49d950b75c00be2b522455885bd1.  This patch removes the
remaining analysis requirement and the unused Trip variable.

Assisted-by: Antigravity
DeltaFile
+0-2llvm/unittests/Analysis/GlobalsModRefTest.cpp
+0-2llvm/lib/Analysis/GlobalsModRef.cpp
+0-42 files

LLVM/project f6c78a1 — llvm/lib/CodeGen HardwareLoops.cpp, llvm/lib/ObjCopy/MachO MachOWriter.h

[llvm] Remove write-only and unused members (NFC) (#246266)

This patch removes private member variables across llvm/ that are
initialized or assigned to but never read, along with their initializers
and assignments.  This patch also removes two unimplemented private
member function declarations, MachOWriter::strTableSize and
XCoreTargetLowering::LowerGlobalTLSAddress.

Assisted-by: Antigravity
DeltaFile
+2-4llvm/lib/CodeGen/HardwareLoops.cpp
+1-4llvm/tools/dsymutil/DwarfLinkerForBinary.h
+1-4llvm/lib/Target/LoongArch/LoongArchAsmPrinter.h
+1-4llvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
+1-4llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
+1-4llvm/lib/ObjCopy/MachO/MachOWriter.h
+7-247 files not shown
+11-3913 files

LLVM/project 9ebc3b8 — llvm/lib/CodeGen MachinePipeliner.cpp, llvm/test/CodeGen/Hexagon swp-large-rec.ll fp_latency.ll

[MachinePipeliner] Remove unused -pipeliner-prune-loop-carried after #174394 (#246480)
DeltaFile
+0-7llvm/lib/CodeGen/MachinePipeliner.cpp
+1-1llvm/test/CodeGen/Hexagon/fp_latency.ll
+0-1llvm/test/CodeGen/Hexagon/swp-large-rec.ll
+1-93 files

LLVM/project be13150 — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

[CIR] Lower complex constants through CIRAttrToValue

The complex branch of the cir.const lowering rebuilt the same
llvm.mlir.constant as CIRAttrToValue::visitCirAttr(ConstComplexAttr).
Delegate to it, and drop UndefAttr checks that the earlier undef
case already makes unreachable. No output change.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+13-37clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+13-371 files

LLVM/project db65065 — clang/lib/StaticAnalyzer/Checkers NumberObjectConversionChecker.cpp

[analyzer][NFC] Skip NumberObjectConversionChecker in TUs without number objects (#246446)

NumberObjectConversionChecker runs its AST matcher on every function
body. Every match involves a declaration named CFNumberRef,
CFBooleanRef, OSBoolean, OSNumber or NSNumber, so nothing can match if
none of these identifiers is in the identifier table, which is the case
for most C++ translation units. Skip the matching then. The lookups use
IdentifierTable::find, so that they do not create the identifiers.
Declarations deserialized from a PCH or module add their identifiers to
the table, so this works with those too.

The matcher itself is already built only once per checker; this avoids
running it. On some LLVM TUs (GVN, LiveVariables, RegionStore, SemaExpr)
this reduces the instructions of the static analyzer by 0.6-2.2% and the
cycles by 0.9-2.4%.

Assisted-by: Claude Opus 5.5

---------

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+9-0clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
+9-01 files

FreeBSD/ports 31f6658 — filesystems/zrepl-dsh2dsh Makefile distinfo

filesystems/zrepl-dsh2dsh: Update 1.4.3 => 1.5.0

Changelog:
https://github.com/dsh2dsh/zrepl/releases/tag/v1.5.0

PR:     301160
DeltaFile
+5-5filesystems/zrepl-dsh2dsh/distinfo
+1-2filesystems/zrepl-dsh2dsh/Makefile
+6-72 files

LLVM/project 4ce49cd — llvm/lib/TargetParser Host.cpp

[RISCV] Clear Zvl*b in getHostCPUFeatures when vector is unavailable (#244253)

The impetus for this was seeing this post

<https://lore.kernel.org/spacemit/apSYF5x1Tu7PlyL1@aurel32.net/T/#ma79474016077620f81ff0a3caeba52f7b4b85da4>
complaining that an LLVM JIT immediately fails if booting a system with
V disabled. Looking into what could cause that, I found two relevant
issues and this is the first.

For this code path we have a problem in the following scenario (as I
understand it!):
* The kernel has vector disabled, e.g. removing 'v' from the devicetree.
* JITTargetMachineBuilder::detectHost (or `-mcpu=native` for llc/lli)
takes the CPU from getHostCPUName and builds a feature string from
getHostCPUFeatures.
* getHostCPUName returns the name of a core that supports vector (say
spacemit-x60). #142745 returns the CPU name based on examining
mvendorid/marchid/mimpid as reported by hwprobe. spacemit-x60 of course
is defined as including V and Zvl256b.

    [33 lines not shown]
DeltaFile
+5-0llvm/lib/TargetParser/Host.cpp
+5-01 files

FreeBSD/ports f82fef2 — net-p2p/autopulse Makefile.crates distinfo, net-p2p/autopulse/files patch-Cargo.toml patch-Cargo.lock

net-p2p/autopulse: Update 1.5.0 => 2.0.0

Upstream 2.0.0 adds settings rather than replacing them: app gains
base_path, secure_cookies and trusted_proxies, opts gains the webhook
retry, timeout and interval knobs, hookshot and json webhooks are new,
and the database migrations are additive and run at startup. No 1.x
configuration key was removed, so existing configuration files keep
working.

Build with the system OpenSSL instead of the bundled copy. Patch the
library manifest and Cargo.lock to drop the vendored feature and the
openssl-src build dependency, following sysutils/eza, so CARGO_CRATES
and distinfo no longer carry openssl-src.

Ship a full sample configuration covering every setting, installed as
autopulse:autopulse 0600 because it holds credentials, and run the
daemon under daemon(8) as the autopulse user with output to
/var/log/autopulse.log. Add a newsyslog drop-in for log rotation and
create /var/db/autopulse for the sqlite database in the rc script. The

    [14 lines not shown]
DeltaFile
+559-381net-p2p/autopulse/distinfo
+278-189net-p2p/autopulse/Makefile.crates
+213-3net-p2p/autopulse/files/autopulse.yml.sample
+24-10net-p2p/autopulse/files/autopulse.in
+26-0net-p2p/autopulse/files/patch-Cargo.lock
+15-8net-p2p/autopulse/files/patch-Cargo.toml
+1,115-5919 files not shown
+1,173-66015 files

LLVM/project fb7a216 — libcxx/include/__iterator iterator_traits.h

Revert "[libc++] Simplify the implementation of iterator_traits a bit (#222297)"

This reverts commit d69f50220fc4e82a75bd06827aaa3146ea0562ef.
DeltaFile
+98-35libcxx/include/__iterator/iterator_traits.h
+98-351 files

FreeBSD/ports 32079d4 — sysutils/dust Makefile Makefile.crates

sysutils/dust: Update to 1.2.8
DeltaFile
+53-75sysutils/dust/distinfo
+25-36sysutils/dust/Makefile.crates
+1-1sysutils/dust/Makefile
+79-1123 files

FreeBSD/src 26e7dea — contrib/wpa/src/drivers driver_bsd.c

wpa_supplicant: Mark FreeBSD scan result levels as dBm

The FreeBSD driver wrapper converts net80211's half-dB RSSI relative
to the noise floor into an absolute signal level, but leaves
WPA_SCAN_LEVEL_DBM unset.

Without the flag, scan_snr() uses the raw level instead of subtracting
the noise floor. The scan comparator also uses uncapped raw levels
rather than its dB-based SNR calculation. This can favour a stronger
2.4 GHz BSS over a faster 5 GHz BSS.

Set the flag alongside the existing conversion in the __FreeBSD__
branch, as other driver wrappers do for levels reported in dBm.

Tested with base wpa_supplicant 2.11 on FreeBSD 15.1-RELEASE-p7,
using an Intel 8265 on a dual-band network. Three stock cold starts
selected 2.4 GHz; two starts with this change selected 5 GHz HT40.

PR:             301132
Reviewed by:    emaste
DeltaFile
+1-0contrib/wpa/src/drivers/driver_bsd.c
+1-01 files

OpenBSD/xenocara 1MhR3fX — app/xenodm/xenodm auth.c

   Prevent user .Xauthority files from hanging xenodm.
   Check that it is a regular file, with a reasonable size (< 1Mo)
   From Acts1631.
VersionDeltaFile
1.21+26-5app/xenodm/xenodm/auth.c
+26-51 files

LLVM/project d3b54ce — clang/lib/Analysis/LifetimeSafety LoanPropagation.cpp

[LifetimeSafety][NFC] Do not store empty loan sets (#246460)

An origin missing from the loan propagation lattice has no loans, so
remove it instead of storing an empty set when it is killed, expires or
receives no loans from a flow. This keeps the maps smaller.

On the lifetime safety benchmarks this reduces the peak memory by 8% for
the CFG merge test and 3% for the switch fan-out test, with no change in
instructions for the others.

Assisted-by: Claude Opus 5.5

---------

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+6-5clang/lib/Analysis/LifetimeSafety/LoanPropagation.cpp
+6-51 files

OpenBSD/src ZOPiq5p — sys/scsi scsiconf.h scsi_base.c

   report bytes received in scsi_report_luns() and fail with EIO in the
   impossible case

   take the lun count from the smaller of the length field or bytes received

   this way we avoid taking garbage from devices when we enable report luns on USB

   ok miod@
VersionDeltaFile
1.256+12-6sys/scsi/scsiconf.c
1.287+9-2sys/scsi/scsi_base.c
1.204+2-2sys/scsi/scsiconf.h
+23-103 files

FreeBSD/ports ba130d4 — sysutils/try-rs Makefile distinfo

sysutils/try-rs: Update to 1.7.17
DeltaFile
+3-3sysutils/try-rs/distinfo
+3-2sysutils/try-rs/Makefile
+6-52 files

LLVM/project bf7d264 — llvm/lib/Transforms/Utils BuildLibCalls.cpp, llvm/test/Transforms/InferFunctionAttrs annotate.ll

[BuildLibCalls] Do not mark ctermid argument as nocapture (#241813)

Remove setDoesNotCapture flag from ctermid.

char* ctermid(char* s), according to POSIX spec returns either address
of static buffer, or its argument if non-NULL, which counts as capture.

This was detected with RTEMS tests, clang incorrectly optimized out
input to ctermid assuming nocapture.
DeltaFile
+3-0llvm/lib/Transforms/Utils/BuildLibCalls.cpp
+1-1llvm/test/Transforms/InferFunctionAttrs/annotate.ll
+4-12 files

LLVM/project 022b71c — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.cpp

[SandboxVec][LoadStoreVec] Factor out canUnpack and unpackIfNeeded (NFC) (#245732)

This moves the logic that unpacks each original load from the lanes it
occupies in a vector load, and the check that those lanes can be
reinterpreted as the load's type, out of `vectorizeLoads()` into two new
helpers, `canUnpack()` and `unpackIfNeeded()`.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+34-25llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+10-0llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.h
+44-252 files

LLVM/project 2dd9157 — clang/include/clang/Analysis RetainSummaryManager.h, clang/lib/Analysis RetainSummaryManager.cpp

[analyzer][NFC] Skip RetainSummaryManager's OSObject and ISL checks when they cannot match (#246458)

For every call it summarizes, RetainSummaryManager runs AST matchers to
check whether a record derives from OSMetaClassBase, and prints
parameter types to check for an "isl_" prefix. Neither can match if no
identifier in the translation unit is named OSMetaClassBase or starts
with "isl_", which is the case for most translation units, so skip them
then.

On some LLVM TUs (GVN, LiveVariables, RegionStore, SemaExpr) this
reduces the instructions of the static analyzer by 1.5-2.4%.

Assisted-by: Claude Opus 5.5

---------

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+24-1clang/include/clang/Analysis/RetainSummaryManager.h
+12-7clang/lib/Analysis/RetainSummaryManager.cpp
+36-82 files

OpenBSD/src PBur5HV — sys/dev/usb usbdivar.h ohci.c, sys/dev/usb/dwc2 dwc2.c

   in dwc2, ehci and ohci reopen the default pipe using a common routine
   to avoid potential double close on the closed pipe and buffer leak

   ok miod@
VersionDeltaFile
1.171+16-1sys/dev/usb/usb_subr.c
1.166+3-5sys/dev/usb/ohci.c
1.223+3-5sys/dev/usb/ehci.c
1.69+2-3sys/dev/usb/dwc2/dwc2.c
1.86+2-1sys/dev/usb/usbdivar.h
+26-155 files