OpenZFS/src 0317365 — tests/zfs-tests/tests/functional/mmp mmp.kshlib mmp_on_off.ksh

ZTS: mmp_on_off must not leave a suspended pool behind

mmp_on_off runs with zfs_multihost_interval=100 and the default ten
fail intervals, so MMP suspends the pool when no MMP write has
succeeded for one second.  In CI one MMP write took 1.25 s:

    WARNING: MMP writes to pool 'testpool' have not succeeded in
    over 1109 ms; suspending pool

A pool suspended by MMP can't be cleared on its own host (#19033), so
cleanup failed ("pool is imported on a different host") and left it
imported.  The tests after it failed on their zpool create, and
mmp_on_zdb's cleanup destroyed it: zpool destroy -f unmounts the root
dataset, and the unmount waits in zil_commit() for the suspended pool
forever, so the CI job ran into its 300 minute timeout.

mmp_clear_suspended() should have stopped that destroy, but it asks
zpool for the pool's health, and once a cleanup has removed the
hostid, zpool reports the hostid mismatch (ONLINE), not the

    [12 lines not shown]
DeltaFile
+11-0tests/zfs-tests/tests/functional/mmp/mmp_on_off.ksh
+5-1tests/zfs-tests/tests/functional/mmp/mmp.kshlib
+16-12 files

LLVM/project 4248015 — utils/bazel .bazelrc configure.bzl, utils/bazel/llvm-project-overlay REPO.bazel

[bazel] Enable include scanning (#248169)

This scans source files to determine what headers need to be inputs to
their compilation actions. This massively reduces network traffic when
using remote execution. In my testing a full build without remote
execution transfers ~12gb of source files, and with include scanning it
transfers ~1gb

This is only enabled for first party code. If a file isn't included
because of its include not being regexable, for example if it's
included via a define:

```
 #define FOO "bar.h"
 #include FOO
```

It can be added to `additional_compiler_inputs` in order to get scanned.
If there's a larger problem individual targets can set `features =
["-cc_include_scanning"]`
DeltaFile
+4-4utils/bazel/configure.bzl
+5-0utils/bazel/llvm-project-overlay/REPO.bazel
+4-0utils/bazel/.bazelrc
+2-1utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/flang-rt/lib/runtime/BUILD.bazel
+16-55 files

LLVM/project a910ca3 — llvm/lib/Analysis TypeMetadataUtils.cpp, llvm/test/Transforms/WholeProgramDevirt vfunc-ptr-as-argument.ll

[WPD] Don't treat a call that passes a vtable slot as a virtual call (#245870)

findCallsAtConstantOffset recorded every call or invoke that used the
function pointer loaded from a vtable slot, including one that only
passes it as an argument. Devirtualizing such a call hit the
"devirtualizing direct call?" assertion in applySingleImplDevirt or,
without assertions, rewrote the callee or folded the result of an
unrelated direct call.

This happens when hot/cold splitting outlines the indirect call into a
function that takes the loaded slot as an argument; the WPD run for
-fdevirtualize-speculatively comes after it.

Record only calls whose callee is the slot pointer, and treat any other
call use as a non-call use.

Assisted-by: Claude Code
DeltaFile
+77-0llvm/test/Transforms/WholeProgramDevirt/vfunc-ptr-as-argument.ll
+3-4llvm/lib/Analysis/TypeMetadataUtils.cpp
+80-42 files

LLVM/project 9eb83e1 — flang-rt/lib/runtime CMakeLists.txt

[flang-rt][cuda] Add reduce.cpp to the supported files (#248183)

Add `reduce.cpp` to the list of supported files for the CUDA build so we
can support `reduce` in compute region.

```
!$acc parallel loop copyin(a) copyout(r)
  do i = 1, 8
    r(i) = reduce(a(:, i), iadd)
  end do
```
DeltaFile
+1-0flang-rt/lib/runtime/CMakeLists.txt
+1-01 files

FreeNAS/freenas 8ad268b — src/middlewared/middlewared/plugins/network_ global_config.py, tests/api2 test_network_configuration.py

Update `/etc/hosts` on hostname change

(cherry picked from commit 02f2a2b430bc857ef9a11ed58a71863d8be83cff)
DeltaFile
+95-0tests/api2/test_network_configuration.py
+2-3src/middlewared/middlewared/plugins/network_/global_config.py
+97-32 files

FreeNAS/freenas 481a00f — src/middlewared/middlewared/plugins/network_ global_config.py, tests/api2 test_network_configuration.py

NAS-145419 / 28.0.0-BETA.1 / Update `/etc/hosts` on hostname change (#20303)

Fixing https://github.com/truenas/middleware/pull/20180 exposed this
latent bug.

While I am here, increase tests coverage.
DeltaFile
+95-0tests/api2/test_network_configuration.py
+2-3src/middlewared/middlewared/plugins/network_/global_config.py
+97-32 files

OPNSense/core f4c2100 — src/etc/inc interfaces.inc

interfaces: add prefix to ifctl for blackhole route in 6rd and 6to4

PR: https://forum.opnsense.org/index.php?topic=53359.0
DeltaFile
+6-0src/etc/inc/interfaces.inc
+6-01 files

FreeNAS/freenas aee12ac — src/middlewared/middlewared/pytest/unit/utils test_filesystem_misc.py, src/middlewared/middlewared/utils/filesystem utils.py

NAS-145549 / 28.0.0-BETA.1 / Fix infinite loop in path_in_ctldir() on paths starting with // (#20354)

`path_in_ctldir()` can enter an infinite loop when a path starts with
exactly two slashes, such as `//mnt/tank/share`. This can happen when a
user accidentally enters an extra leading slash in an SMB share path or
supplies such a path through the API. Linux treats `//` like `/`,
allowing the path to pass the earlier existence checks.

The loop assumes that the root is always `/`, but `pathlib` preserves
exactly two leading slashes. Since the parent of `//` is itself,
terminate the loop when `path == path.parent` instead of comparing
against `/`.

Added a regression test, reproduced the hang against master and verified
the fix on a TrueNAS VM.
DeltaFile
+8-0src/middlewared/middlewared/pytest/unit/utils/test_filesystem_misc.py
+2-1src/middlewared/middlewared/utils/filesystem/utils.py
+10-12 files

LLVM/project d4c9537 — clang/lib/DependencyScanning ModuleDepCollector.cpp, clang/lib/Lex PPDirectives.cpp

[clang][deps] Add dependency scanning support for #embed

Teach the dependency directive lexer to scan #embed like we do for #include,
and the dependency scanner to record the dependencies from #embed and
__has_embed. Modules work by virtue of the embedded files being input files to
the scanner pcms. Incidentally fix the strict context hash to include embed
directories.

Claude Opuse helped with the tests.
DeltaFile
+103-0clang/test/ClangScanDeps/modules-embed.c
+71-0clang/test/ClangScanDeps/embed.c
+35-0clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
+32-0clang/test/Modules/context-hash.c
+13-0clang/lib/DependencyScanning/ModuleDepCollector.cpp
+5-0clang/lib/Lex/PPDirectives.cpp
+259-05 files not shown
+267-111 files

LLVM/project f9ebb78 — mlir/include/mlir/Interfaces MemorySlotInterfaces.td, mlir/lib/Transforms Mem2Reg.cpp

[mlir][mem2reg][NFCI] Only scan blocks that interact with the promoted slot (#244298)

`promoteInBlock` walks every operation of every block in the slot's
region, once per promoted slot, so promotion cost grows with slots times
operations even when each slot is used in a few blocks.

Only blocks holding a blocking use or a region to promote can read or
redefine the slot. `promoteSlot` now collects those blocks, and
`promoteInBlock` forwards the reaching definition through any other
block without visiting its operations. The interface docs now state two
properties every in-tree implementation already has and this relies on:
`storesTo` implies a blocking use, and `setupPromotion` does not move
operations across blocks.

`mlir-opt --mem2reg`, one function with 6,000 allocas over 3,000
diamonds (9,001 blocks), median of 5 runs, byte-identical output:

| Input        | Before  | After  |
|--------------|---------|--------|

    [4 lines not shown]
DeltaFile
+63-0mlir/test/Transforms/Mem2Reg/memref.mlir
+43-0mlir/test/Transforms/Mem2Reg/scf.mlir
+19-1mlir/lib/Transforms/Mem2Reg.cpp
+5-3mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
+1-2mlir/test/lib/Dialect/Test/TestOpDefs.cpp
+131-65 files

LLVM/project c816ba6 — clang/include/clang/Lex Preprocessor.h, clang/lib/Lex PPDirectives.cpp PPMacroExpansion.cpp

[clang] Rebuild implicit modules when #embed files change

Files embedded are intentionally not sloc entries, so explicitly track the
embedded files and add them to the AST's input files in ASTWriter. This
ensures implicit modules are rebuilt correctly when they change.

Claude Opus helped with the tests.
DeltaFile
+69-0clang/test/Modules/embed.c
+32-0clang/lib/Serialization/ASTWriter.cpp
+23-0clang/test/PCH/validate-file-content.m
+11-0clang/include/clang/Lex/Preprocessor.h
+3-0clang/lib/Lex/PPMacroExpansion.cpp
+2-0clang/lib/Lex/PPDirectives.cpp
+140-01 files not shown
+141-07 files

LLVM/project d4390a9 — lldb/source/Plugins/Process/Windows/Common NativeThreadWindows.cpp NativeProcessWindows.cpp

[lldb][Windows] Invalidate the ARM64 register cache when a thread runs (#248084)

Since #197385, `NativeRegisterContextWindows_arm64` caches the thread's
`CONTEXT`.

Stops and register writes drop the cache but not resumes. Therefore,
exception handlers in `NativeProcessWindows` that read registers before
calling `StopThread()` get stale values.

This patch drops the cache when a thread resumes, and when a debug
exception arrives for it.

This fixes the flakes in `TestMultipleBreakpoints`.
DeltaFile
+3-0lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
+2-0lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp
+5-02 files

FreeNAS/freenas 9d81afd —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 2b5aed7 — src/middlewared/middlewared/pytest/unit/utils test_filesystem_misc.py, src/middlewared/middlewared/utils/filesystem utils.py

NAS-145549 / 28.0.0-BETA.1 / Fix infinite loop in path_in_ctldir() on paths starting with // (#20354)

### Motivation

`path_in_ctldir()` can enter an infinite loop when a path starts with
exactly two slashes, such as `//mnt/tank/share`. This can happen when a
user accidentally enters an extra leading slash in an SMB share path or
supplies such a path through the API. Linux treats `//` like `/`,
allowing the path to pass the earlier existence checks.

### Description

The loop assumes that the root is always `/`, but `pathlib` preserves
exactly two leading slashes. Since the parent of `//` is itself,
terminate the loop when `path == path.parent` instead of comparing
against `/`.

### Testing

Added a regression test, reproduced the hang against master and verified
the fix on a TrueNAS VM.
DeltaFile
+8-0src/middlewared/middlewared/pytest/unit/utils/test_filesystem_misc.py
+2-1src/middlewared/middlewared/utils/filesystem/utils.py
+10-12 files

LLVM/project 579e79c — llvm/lib/Transforms/IPO Internalize.cpp, llvm/test/Transforms/Internalize ifunc.ll

[Internalize] Internalize GlobalIFunc symbols (#247949)

InternalizePass previously iterated over functions, globals, and
aliases, leaving GlobalIFunc symbols exported even when not in the
public API list. This broke the internal sanitizer symbolizer build on
https://lab.llvm.org/buildbot/#/builders/sanitizer-x86_64-linux after
#215813 added std::__new_at_least as a gnu::ifunc in libc++.

Assisted-by: Gemini
DeltaFile
+31-0llvm/test/Transforms/Internalize/ifunc.ll
+11-0llvm/lib/Transforms/IPO/Internalize.cpp
+42-02 files

FreeBSD/ports f1efefa — deskutils/kdeconnect-kde Makefile pkg-message

deskutils/kdeconnect-kde: Add a pkg message

Reviewed by:            arrowd
Differential Revision:  https://reviews.freebsd.org/D62327
DeltaFile
+11-0deskutils/kdeconnect-kde/pkg-message
+1-1deskutils/kdeconnect-kde/Makefile
+12-12 files

NetBSD/pkgsrc rPSK69l — doc CHANGES-2026

   doc: Updated games/luanti to 5.18.1
VersionDeltaFile
1.8648+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc OPukqPl — games/luanti/patches patch-irr_src_CIrrDeviceSDL.cpp patch-irr_src_CIrrDeviceSDL.h

   luanti: forgot the new patches...
VersionDeltaFile
1.1+31-0games/luanti/patches/patch-irr_src_CIrrDeviceSDL.h
1.1+30-0games/luanti/patches/patch-irr_src_CIrrDeviceSDL.cpp
+61-02 files

NetBSD/pkgsrc pEoU7t5 — games/luanti Makefile distinfo

   luanti: update to 5.18.1

   Packaging Updates:
   - fixed bug on NetBSD systems with many wsmouse(4) inputs with
     absolute mode

   Upstream Updates:
   - Fix client hang on invalid particles, and wrong "sheet_2d"
     synchronization
   - Fix crash caused by invalid "plantlike_rooted" node registrations
   - Update build system dependencies to fix CVEs
VersionDeltaFile
1.11+6-4games/luanti/distinfo
1.28+2-3games/luanti/Makefile
+8-72 files

OpenBSD/ports JwSOytW — textproc/delta crates.inc Makefile

   textproc/delta: Update to 0.23.0

   From Maintainer Laurent Cheylus, thanks
VersionDeltaFile
1.21+4-4textproc/delta/distinfo
1.20+1-1textproc/delta/crates.inc
1.29+1-1textproc/delta/Makefile
+6-63 files

NetBSD/pkgsrc hzDs8kQ — doc TODO CHANGES-2026

   doc: Updated devel/ddd to 3.5.0
VersionDeltaFile
1.28505+1-2doc/TODO
1.8647+2-1doc/CHANGES-2026
+3-32 files

NetBSD/pkgsrc PF8bWH5 — devel/ddd Makefile distinfo, devel/ddd/patches patch-ddd_strclass.h patch-ddd_strclass.C

   devel/ddd -- update to v3.5.0

   DDD-3.5.0 (Fiordland)
   =====================

   New Features
   ------------
   Added data display with a pixel inspector powered by Gnuplot.
       Supports OpenCV, CImg, dlib, Eigen, Armadillo, ImageLib, and user-defined
       image structures.
       Improve graph scaling and add mini-map for navigation.

   Add high resolution icons and source code glyphs.

   Add source view syntax highlighting and coloring.

   Add source code tabs.

   Add command line option (--dlog) to generate log file.

    [234 lines not shown]
VersionDeltaFile
1.13+10-26devel/ddd/PLIST
1.24+4-10devel/ddd/distinfo
1.88+7-5devel/ddd/Makefile
1.2+1-1devel/ddd/patches/patch-ddd_strclass.h
1.2+1-1devel/ddd/patches/patch-ddd_strclass.C
1.2+1-1devel/ddd/patches/patch-ddd_exit.C
+24-443 files not shown
+27-479 files

FreeBSD/src 8241725 — lib/libc/tests/stdio open_memstream2_test.c open_wmemstream_test.c

libc: memstream tests: also assert in the wmemstream test

This should have been done in the previous commit, but whoops.  While
we're here- there can be garbage after the buffer, so only print the
valid portion.

Fixes:  dc34894d410 ("libc: memstream tests: convert [...]")
Sponsored by:   Klara, Inc.
DeltaFile
+3-4lib/libc/tests/stdio/open_wmemstream_test.c
+1-1lib/libc/tests/stdio/open_memstream2_test.c
+4-52 files

LLVM/project 3231e95 — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AArch64 fsub-same-fmul-no-fma.ll

[DAGCombiner] Don't fold fsub of identical fmul operands into FMA (#247293)

visitFSUBForFMACombine has no guard for identical operands, unlike
visitFADDForFMACombine. When the target enables aggressive FMA fusion
(e.g. AArch64 A64FX, ThunderX2/3, Apple A14), fsub(m, m) with m = fmul
x, y is folded to fma(x, y, -m), i.e. fmul + fnmsub. The fused form
computes the rounding error of the product instead of 0.0, and it is
never beneficial: the fmul must still be computed for the addend, and
the fsub is replaced by a more complex instruction with higher latency
and register pressure.

Skip the fold when both operands are the same node.
DeltaFile
+28-0llvm/test/CodeGen/AArch64/fsub-same-fmul-no-fma.ll
+8-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+36-02 files

LLVM/project fb5acf9 — llvm/include/llvm/ProfileData SampleProf.h SampleProfWriter.h, llvm/lib/ProfileData DataAccessProf.cpp

[SampleProf] Address review feedback

- Move DataAccessProf.h include from SampleProf.h to
  SampleProfReader.h and SampleProfWriter.h.
- Expand DataAccessProfData::merge documentation and
  add readability improvements.
- Add comments to RUN groups in
  sample-data-access-profile.test.
DeltaFile
+12-0llvm/test/tools/llvm-profdata/sample-data-access-profile.test
+6-2llvm/lib/ProfileData/DataAccessProf.cpp
+5-1llvm/include/llvm/ProfileData/DataAccessProf.h
+0-1llvm/include/llvm/ProfileData/SampleProf.h
+1-0llvm/include/llvm/ProfileData/SampleProfWriter.h
+1-0llvm/include/llvm/ProfileData/SampleProfReader.h
+25-46 files

FreeNAS/freenas fa1bfd2 — src/middlewared/middlewared/pytest/unit/utils test_filesystem_misc.py, src/middlewared/middlewared/utils/filesystem utils.py

Fix infinite loop in path_in_ctldir() on paths starting with //

path_in_ctldir() walked up from the given path until it reached '/'.
pathlib keeps a leading '//' as the root, because POSIX leaves its
meaning to the implementation, and the parent of '//' is '//', so for
such a path the loop never ended. filesystem.stat, filesystem.listdir
and SMB share validation, which stat the requested path, could hang
on a path such as //mnt/tank/share.

Stop at the root, the path that is its own parent. Paths that start
with a single '/' are walked as before.
DeltaFile
+8-0src/middlewared/middlewared/pytest/unit/utils/test_filesystem_misc.py
+2-1src/middlewared/middlewared/utils/filesystem/utils.py
+10-12 files

LLVM/project 453a704 — lld/MachO SyntheticSections.cpp, lld/test/MachO/invalid string-table-too-large.s

[lld][MachO] Error out on string tables over 4 GiB

Symbol string table offsets (`n_strx`) and the table's size (`strsize`) are
32 bits wide, but `StringTableSection` tracks its size in a `size_t` and
silently truncates offsets past 4 GiB, producing a corrupt symbol table.

This PR reports an error once all strings have been added instead. The test
reaches 4 GiB cheaply by linking one object with a 1 MiB local symbol name
4096 times under `-no-deduplicate-symbol-strings`.

Assisted by Claude.
DeltaFile
+13-0lld/test/MachO/invalid/string-table-too-large.s
+4-0lld/MachO/SyntheticSections.cpp
+17-02 files

FreeBSD/src 88ef1ff — . .arclint

.arclint: Replace deprecated PEP8 linter with flake8

Reviewed by:    adrian, lwhsu
Differential Revision:  https://reviews.freebsd.org/D61001
DeltaFile
+1-1.arclint
+1-11 files

FreeBSD/ports 7030936 — security/arti Makefile Makefile.crates, security/arti/files patch-crates_arti_Cargo.toml

security/arti: Update to 2.9.0
DeltaFile
+123-131security/arti/distinfo
+60-64security/arti/Makefile.crates
+16-3security/arti/files/patch-crates_arti_Cargo.toml
+2-2security/arti/Makefile
+201-2004 files

FreeBSD/src 44202b8 — usr.sbin/pkg pkg.c, usr.sbin/pkg/tests pkg_test.sh

pkg: Fix two issues with -r

* Since we pass the -r option and its argument unmodified to the real
  pkg, we shouldn't chdir before executing it.  It is unnecessary if the
  argument is absolute, and harmful if it is relative as a second chdir
  will fail.

* Unlike -j, we can't assume that the target environment for -r is
  executable; we might be cross-building an image, for instance.
  Therefore, we should execute the pkg binary from our own environment,
  not the one we just bootstrapped.

Fixes:          cad99ff75342 ("pkg: Add -j and -r options")
Sponsored by:   Klara, Inc.
Sponsored by:   The FreeBSD Foundation
Reviewed by:    bapt
Differential Revision:  https://reviews.freebsd.org/D62268
DeltaFile
+121-70usr.sbin/pkg/tests/pkg_test.sh
+0-6usr.sbin/pkg/pkg.c
+121-762 files