FreeBSD/src 8802a76 — sys/netpfil/ipfw ip_fw2.c

ipfw: Destroy global state after the vnets on unload

A module's MOD_UNLOAD handler runs before any of its SYSUNINITs.  Since
ipfw_destroy() moved into MOD_UNLOAD, vnet_ipfw_uninit() runs after it
and takes locks that ipfw_destroy() has already destroyed: the sockopt
handler lock, and vnet_mtx in a vnet that tracks interfaces.  kldunload
ipfw panics with INVARIANTS:

panic: mtx_lock() of destroyed mutex @ sys/netpfil/ipfw/ip_fw_sockopt.c:3038
ipfw_del_sopt_handler() <- ipfw_destroy_tables() <- vnet_ipfw_uninit()
<- vnet_deregister_sysuninit() <- linker_file_sysuninit()
<- linker_file_unload()

Call ipfw_destroy() from a SYSUNINIT at SI_ORDER_FIRST instead, which
runs after the SI_ORDER_SECOND vnet teardown, as before 9bcc1e97dda8
and as pf does for pf_unload().

Reviewed by:            glebius
Fixes:                  9bcc1e97dda8 ("ipfw: cleanup SYSINIT(9)s")

    [2 lines not shown]
DeltaFile
+7-3sys/netpfil/ipfw/ip_fw2.c
+7-31 files

FreeBSD/src cfe07ee — sys/netpfil/ipfw ip_fw_nat.c, sys/netpfil/ipfw/nat64 ip_fw_nat64.c

ipfw: Run the vnet hooks of ipfw_nat, nat64 and nptv6 after ipfw's

9bcc1e97dda8 put the SYSINITs of ipfw_nat, ipfw_nat64 and ipfw_nptv6
at SI_ORDER_SECOND, the order of ipfw's own vnet hooks; before, they
ran after them.

In ipfw_nat, the module-wide hooks and the vnet hooks now share that
order too, which leaves their relative order to the sort.  As built,
kldunload ipfw_nat runs ipfw_nat_destroy() first: it clears
ipfw_nat_ptr and lookup_nat_ptr while every vnet still has
V_ipfw_nat_ready set, and a packet that hits a nat rule in between
calls a NULL pointer:

  (null)() at 0 <- ipfw_check_packet <- pfil_mbuf_in <- ip_input

Loading can open the same window the other way around.

The vnet hooks of all three modules also tie with ipfw's, and run after
them on vnet creation and before them on destruction only because ipfw

    [10 lines not shown]
DeltaFile
+6-2sys/netpfil/ipfw/ip_fw_nat.c
+3-2sys/netpfil/ipfw/nptv6/ip_fw_nptv6.c
+3-2sys/netpfil/ipfw/nat64/ip_fw_nat64.c
+12-63 files

FreeBSD/src 878fab6 — sys/netpfil/ipfw ip_fw2.c

ipfw: Drain the state expiry task before taking the upper half lock

vnet_ipfw_uninit() takes the upper half lock and then drains the task
that expires dynamic states.  Since 331333ba0186 that task, dyn_tick(),
takes the same lock, so when it fires while a vnet is being destroyed
the two wait for each other and jail -r hangs:

  jail:  taskqueue_drain_timeout <- vnet_ipfw_uninit <- vnet_destroy
  swi6:  _sx_xlock <- dyn_tick <- taskqueue_run_locked

Drain the task first.  The pfil hooks and the sockopt handler are
detached by then, and dyn_tick() takes the lock itself.

Reviewed by:            glebius
Fixes:                  331333ba0186 ("ipfw: hold sleepable "upper half...")
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D62245
DeltaFile
+3-2sys/netpfil/ipfw/ip_fw2.c
+3-21 files

LLVM/project b0ef7b8 — mlir/include/mlir/Dialect/LLVMIR LLVMIntrinsicOps.td, mlir/test/Dialect/LLVMIR cse-matrix-intrinsics.mlir

[mlir][LLVM] Mark matrix.multiply and matrix.transpose as Pure (#247388)

The LLVM intrinsics llvm.matrix.multiply and llvm.matrix.transpose are
declared with IntrNoMem and IntrSpeculatable in Intrinsics.td, but the
corresponding LLVM dialect ops were defined without any side-effect
traits. As a result, MLIR treated them as having unknown memory effects,
and passes like CSE could not eliminate duplicate instances.

Add the Pure trait to LLVM_MatrixMultiplyOp and LLVM_MatrixTransposeOp
to match the LLVM intrinsic properties, consistent with other
side-effect-free intrinsics in LLVMIntrinsicOps.td.

Fixes #247055
DeltaFile
+28-0mlir/test/Dialect/LLVMIR/cse-matrix-intrinsics.mlir
+4-2mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
+32-22 files

FreeBSD/ports 1153280 — www/paseo-web distinfo

www/paseo-web: Update to 0.18.2

Assisted-by:    Claude Code (Opus 5.5)
DeltaFile
+3-3www/paseo-web/distinfo
+3-31 files

FreeBSD/ports de37266 — misc/paseo-desktop/files patch-packages_desktop_src_main.ts, misc/paseo-desktop/files/packagejsons package-lock.json

misc/paseo-desktop: Update to 0.18.2

Assisted-by:    Claude Code (Opus 5.5)
DeltaFile
+49-32misc/paseo-desktop/files/packagejsons/package-lock.json
+60-0misc/paseo-desktop/files/packagejsons/packages/workflows/package.json
+12-7misc/paseo-desktop/files/packagejsons/packages/server/package.json
+11-3misc/paseo-desktop/files/packagejsons/packages/client/package.json
+6-6misc/paseo-desktop/files/patch-packages_desktop_src_main.ts
+5-5misc/paseo-desktop/files/packagejsons/packages/plugin/package.json
+143-5315 files not shown
+172-7921 files

FreeBSD/ports 53d986b — misc/paseo Makefile.common distinfo, misc/paseo/files gen-zsh-completion.mjs

misc/paseo: Update to 0.18.2

Assisted-by:    Claude Code (Opus 5.5, Fable 5.2)
DeltaFile
+81-46misc/paseo/files/packagejsons/package-lock.json
+34-6misc/paseo/files/gen-zsh-completion.mjs
+5-5misc/paseo/distinfo
+1-1misc/paseo/files/packagejsons/package.json
+1-1misc/paseo/Makefile.common
+122-595 files

LLVM/project 1f5ceba — mlir/lib/Dialect/Tensor/IR TensorOps.cpp, mlir/test/Dialect/Tensor canonicalize.mlir

[mlir][tensor] Avoid repeating memory reads when folding extract from generate (#246276)

`ExtractFromTensorGenerate` replaces an extract by recomputing the
requested element at the extract’s location. The old
`wouldOpBeTriviallyDead` check allowed reads because unused reads can be
erased.

**Original IR**

```mlir
func.func @snapshot(%buf: memref<i32>, %new: i32) -> i32 {
  %old = tensor.generate {
    %v = memref.load %buf[] : memref<i32>
    tensor.yield %v : i32
  } : tensor<i32>
  memref.store %new, %buf[] : memref<i32>
  %v = tensor.extract %old[] : tensor<i32>
  return %v : i32
}

    [28 lines not shown]
DeltaFile
+23-0mlir/test/Dialect/Tensor/canonicalize.mlir
+3-2mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
+26-22 files

LLVM/project 9cc4720 — llvm/lib/Target/Hexagon HexagonDepIICHVX.td HexagonDepIICScalar.td, llvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-lscp.ll

Merge branch 'main' into users/chinmaydd/builtin-convert-from-arbitrary-fp
DeltaFile
+19,205-18,966llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+15,666-15,524llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+7,746-8,018llvm/lib/Target/Hexagon/HexagonDepIICHVX.td
+4,870-4,906llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+9,174-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lscp.ll
+4,456-4,506llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+61,117-51,92013,882 files not shown
+787,949-513,40113,888 files

LLVM/project c94d16c — compiler-rt/lib/scudo/standalone mem_map_linux.cpp report_linux.h, compiler-rt/lib/scudo/standalone/tests wrappers_c_test.cpp

[scudo] Avoid deadlock when reporting map errors on glibc (#246746)

The map, unmap and protect error reports call strerror(). On glibc,
strerror() translates the message through gettext, which calls malloc().
If the error is reported while scudo holds its own locks, that malloc()
re-enters the allocator and deadlocks.

This happens when the initial reservation of the primary fails, e.g.
under a low RLIMIT_AS: the thread already holds the TSD registry mutex,
so the process hangs instead of printing the error and aborting.

On glibc >= 2.32, use strerrordesc_np() instead. It is documented as
async-signal-safe and returns the untranslated message. Other C
libraries keep using strerror(); musl and bionic don't allocate in it.
The mincore() failure message gets the same treatment.

Add a regression test that reports a map error while the allocator is
disabled with malloc_disable().
DeltaFile
+30-3compiler-rt/lib/scudo/standalone/report_linux.cpp
+18-0compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
+5-0compiler-rt/lib/scudo/standalone/report_linux.h
+1-1compiler-rt/lib/scudo/standalone/mem_map_linux.cpp
+54-44 files

LLVM/project 083db35 — libc/test/UnitTest GTest.h

[libc][test] Add stream printers, Types, and file paths to GTest.h (#247346)

Bring libc/test/UnitTest/GTest.h up to parity with LibcTest.h for
building llvm-libc unit tests against GoogleTest:

- Include TestFilePath.h so libc_make_test_file_path dispatches to
  libc_make_test_file_path_func (matching LibcTest.h, where tests using
  it link CmakeFilePath.cpp or BazelFilePath.cpp rather than falling
  back to Test.h's bare-filename macro), and include TestLogger.h for
  LIBC_NAMESPACE::testing::tlog.
- Re-export ::testing::Types into LIBC_NAMESPACE::testing for typed
  test suites.
- Provide ::std::ostream operator<< overloads for cpp::string_view,
  cpp::string, and BigInt, plus ADL PrintTo overloads for
  cpp::string_view and cpp::string so GoogleTest prints them as strings
  rather than character containers.
- Undefine the XSI isascii and toascii macros that system <ctype.h> may
  leak transitively through <gtest/gtest.h> and <ostream> and collide
  with qualified LIBC_NAMESPACE::isascii and LIBC_NAMESPACE::toascii

    [6 lines not shown]
DeltaFile
+52-5libc/test/UnitTest/GTest.h
+52-51 files

LLVM/project 8eeb970 — llvm/lib/CodeGen/GlobalISel GISelValueTracking.cpp, llvm/unittests/CodeGen/GlobalISel KnownBitsTest.cpp

[GlobalISel] Use source known bits in G_ASSERT_ALIGN (#246927)

Compute the source's known bits before setting the low zero bits from
the alignment.

Assisted-by: Claude Opus 5.5
DeltaFile
+26-0llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
+3-2llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
+29-22 files

OpenBSD/ports 6X1mQQH — devel/libosdp Makefile distinfo, devel/libosdp/patches patch-utils_src_utils_c patch-misc_libosdp_pc_in

   Update to libosdp-4.0.0
VersionDeltaFile
1.2+4-4devel/libosdp/pkg/PLIST
1.2+4-4devel/libosdp/distinfo
1.2+3-3devel/libosdp/Makefile
1.2+0-0devel/libosdp/patches/patch-utils_src_utils_c
1.2+0-0devel/libosdp/patches/patch-misc_libosdp_pc_in
+11-115 files

FreeBSD/src 17dfc1a — contrib/expat/gennmtab Makefile.in, contrib/expat/lib xmlparse.c

contrib/expat: import expat 2.11.0

Changes: https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/Changes

Security:       CVE-2026-124317
Security:       CVE-2026-128241
Security:       CVE-2026-134703

(cherry picked from commit aeab7c6e62d1ff6ba3d33edf2d853dcebb10c1fe)
DeltaFile
+1,081-0contrib/expat/tests/fifth_edition_tests.c
+661-224contrib/expat/tests/basic_tests.c
+442-301contrib/expat/lib/xmlparse.c
+740-0contrib/expat/gennmtab/Makefile.in
+300-38contrib/expat/tests/misc_tests.c
+322-1contrib/expat/tests/xmltest.sh
+3,546-56452 files not shown
+5,562-1,14658 files

LLVM/project 37debf0 — clang-tools-extra/test/clang-doc compile_flags.txt CMakeLists.txt

[clang-doc][test] Avoid compdb lookups in clang-doc tests (#247381)

In #247006, it was pointed out that our tests are searching the build
dir and picking up the local compdb. This breaks w/ PCH enabled builds,
as the compiler has been modified.

Instead of passing `--` to every test, follow the clangd example and use
an empty compile_flags.txt file generated by the build, and a checked in
file for our test dir. This means we won't silently regress, when
someone forgets to suffix `--` on a RUN line, and tests that pass
specific combdb params will work per normal.
DeltaFile
+4-0clang-tools-extra/test/clang-doc/CMakeLists.txt
+0-0clang-tools-extra/test/clang-doc/compile_flags.txt
+4-02 files

LLVM/project b68acb5 — llvm/test/CodeGen/AMDGPU mad-mix-lo.ll, llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rvv urem.mir udiv.mir

Merge branch 'main' into users/dhruvachak/refactor-rp-av
DeltaFile
+2,567-2,884llvm/test/CodeGen/X86/vector-compress.ll
+1,122-79llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
+953-0llvm/test/Transforms/LoopVectorize/any-of-non-cmp-cond.ll
+801-0llvm/test/Instrumentation/MemorySanitizer/address-space.ll
+752-0llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rvv/urem.mir
+752-0llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/rvv/udiv.mir
+6,947-2,9631,828 files not shown
+74,712-18,3951,834 files

LLVM/project 1c42816 — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/MCTargetDesc MipsInstPrinter.cpp

[ASM 1][nanoMIPS] Add basic operand print methods
DeltaFile
+255-0llvm/test/MC/Mips/nanomips/valid.s
+45-3llvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
+18-0llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+7-7llvm/test/CodeGen/Mips/nanomips/32bit-system.mir
+6-6llvm/test/CodeGen/Mips/nanomips/16bit.mir
+5-5llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+336-212 files not shown
+342-238 files

LLVM/project 864916d — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/Disassembler MipsDisassembler.cpp

[ASM 1][nanoMIPS] Add basic disassembler support
DeltaFile
+150-5llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
+133-0llvm/test/MC/Mips/nanomips/valid.s
+24-0llvm/test/MC/Mips/crc/valid-nanomips.s
+11-0llvm/test/MC/Mips/ginv/valid-nanomips.s
+6-0llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+2-1llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
+326-66 files

LLVM/project d61fc84 — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/AsmParser MipsAsmParser.cpp

[ASM 1][nanoMIPS] Add basic assembler support
DeltaFile
+419-57llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+299-0llvm/test/MC/Mips/nanomips/valid.s
+175-18llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+142-0llvm/test/MC/Mips/nanomips/cp0sel-names.s
+29-8llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
+33-0llvm/test/MC/Mips/crc/invalid-nanomips.s
+1,097-837 files not shown
+1,148-9113 files

FreeBSD/ports d6fb55e — emulators/rpcs3 Makefile

emulators/rpcs3: chase bundled LLVM after 6718c02379a9

https://github.com/RPCS3/rpcs3/commit/8cafb2dc15a4
DeltaFile
+7-6emulators/rpcs3/Makefile
+7-61 files

LLVM/project 7a01507 — llvm/lib/Target/M68k M68kInstrInfo.cpp

[M68k] ExpandMOVI - remove ambiguous cast (#245011)

MSVC fails to determine how to cast from the MachineInstrBuilder to a
MachineBasicBlock::iterator.

Since this is only used for a debugging message I've removed the code to
fix the build, but we can tweak the code (get buildClearRegister to
return the last created MachineInstr?) if necessary.
DeltaFile
+0-2llvm/lib/Target/M68k/M68kInstrInfo.cpp
+0-21 files

LLVM/project 706659a — llvm/lib/Target/RISCV/GISel RISCVInstructionSelector.cpp, llvm/test/CodeGen/RISCV/GlobalISel half-zfa.ll float-zfa.ll

[RISCV][GlobalISel] Use Zfa fli for floating-point constants (#246564)

G_FCONSTANT always built the value in a GPR and moved it with fmv, so
even 1.0 took two instructions and f64 on RV32 went through the stack.
Select fli when Zfa can encode the constant, using fli + fneg for the
negative values that are not in the table, matching SelectionDAG.
DeltaFile
+58-0llvm/test/CodeGen/RISCV/GlobalISel/double-zfa.ll
+48-0llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
+37-0llvm/test/CodeGen/RISCV/GlobalISel/half-zfa.ll
+37-0llvm/test/CodeGen/RISCV/GlobalISel/float-zfa.ll
+180-04 files

FreeBSD/src 56d0faf — tests/sys/kern procdesc.c

tests/sys/kern/procdesc: test the debugger's wait after the last close

Attach a debugger to a PD_NOWAITPID child, let the child exit, and let
the parent close the last process descriptor before the debugger waits.
Check that a debugger which is neither the parent nor the reaper can
still wait for the child, which then goes to the reaper, and that a
reaper which is the debugger can collect the child.

The child exits on its own: kill(2) does not kill a traced process, it
only stops it for the debugger.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+217-0tests/sys/kern/procdesc.c
+217-01 files

FreeBSD/src 07ae760 — sys/amd64/amd64 vm_machdep.c, sys/powerpc/powerpc vm_machdep.c

amd64, powerpc64: treat procctl(P_PID, 0) as request for current process

Discussed with: markj
Fixes:  f833ab9dd187 ("procctl(2): add consistent shortcut P_ID:0 as curproc")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D61919
DeltaFile
+9-3sys/powerpc/powerpc/vm_machdep.c
+9-3sys/amd64/amd64/vm_machdep.c
+18-62 files

FreeBSD/src 56d0da2 — tests/sys/kern procdesc.c

tests/sys/kern/procdesc: test the reap by a close from a non-parent

The parent waits for its pdfork(2) child, and then another process,
which inherited the descriptor over fork(2), closes the last one and so
reaps the zombie.  Check that the child's resource usage is accounted
to the parent and not to the closing process, and that the child's
SIGCHLD is no longer pending for the parent.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+99-0tests/sys/kern/procdesc.c
+99-01 files

FreeBSD/src b00886b — sys/kern kern_exit.c

proc_reap(): account the reaped child to its parent

When the last process descriptor of a zombie is closed by a process
other than its parent, proc_reap() added the child's resource usage to
the closing process instead of the parent.  Add it to the parent, and do
it before dropping proctree_lock, which keeps the parent from being
reaped meanwhile.

Reported by:    llm-postcr
Fixes:  cfb5f7686588 ("Add experimental support for process descriptors")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+10-4sys/kern/kern_exit.c
+10-41 files

FreeBSD/src 66f2f76 — sys/kern kern_exit.c

proc_reap(): dequeue the child's SIGCHLD under the parent's lock

p_ksi is only queued to the parent, but proc_reap() took it off the
queue with the caller locked.  When the last process descriptor of a
zombie is closed by a process other than its parent, e.g. one which
inherited the descriptor over fork(2) or opened it with pdopenpid(2),
the parent's signal queue and p_pendingcnt were modified without the
parent's lock.

Since bcdb6ba94d08 this is easy to hit: a pdfork(2) child without
PD_NOWAITPID signals its parent with p_ksi on exit, and while the
descriptor is open, the parent's wait only drops PZOMBIEREF_PARENT and
leaves p_ksi queued if the parent blocks or catches SIGCHLD.

Lock the parent, as proc_reparent() does.

Reported by:    llm-postcr
Fixes:  cfb5f7686588 ("Add experimental support for process descriptors")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+6-2sys/kern/kern_exit.c
+6-21 files

FreeBSD/src c8198b5 — sys/kern sys_procdesc.c

procdesc_close(): leave a zombie parked at its debugger with it

A debugger which is not the parent of a PD_NOWAITPID child, and got the
child via PT_ATTACH, can wait for the child after it exited.  If the
parent closed the last process descriptor before the debugger waited,
the close dropped the last zombie reference, and proc_reap() gave the
zombie back to the real parent.  The real parent cannot wait for a
PD_NOWAITPID child, and the debugger got ECHILD, so the zombie stayed
until the real parent exited.

Handle a zombie parked at its debugger as procdesc_close() handles a
traced live process: keep it with the debugger, and make the reaper the
real parent.  The debugger's wait then gives the zombie to the reaper,
which proc_reparent() lets wait for it.  A debugger which is the reaper
gets PZOMBIEREF_PARENT right away.

Reported by:    llm-postcr
Fixes:  bcdb6ba94d08 ("processes: add zombie references, each of them prevents reap")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+30-8sys/kern/sys_procdesc.c
+30-81 files

FreeBSD/ports 3dd7901 — devel/py-ytmusicapi Makefile distinfo

devel/py-ytmusicapi: Update to 1.12.4

ChangeLog: https://github.com/sigma67/ytmusicapi/releases/tag/1.12.4

MFH:            2026Q4
(cherry picked from commit 71210b8991abe58fa65325a8d8ccf8d1f3929709)
DeltaFile
+3-3devel/py-ytmusicapi/distinfo
+1-1devel/py-ytmusicapi/Makefile
+4-42 files

FreeBSD/ports 339f777 — net/dataplaneapi Makefile distinfo, net/dataplaneapi/files patch-configuration_configuration.go

net/dataplaneapi: Update to 3.4.8

ChangeLogs:

- https://github.com/haproxytech/dataplaneapi/releases/tag/v3.4.7
- https://github.com/haproxytech/dataplaneapi/releases/tag/v3.4.8

MFH:            2026Q4
(cherry picked from commit 7679b6f77e74dedd8db652fc1a73f9f5cb3691ed)
DeltaFile
+5-5net/dataplaneapi/distinfo
+4-3net/dataplaneapi/files/patch-configuration_configuration.go
+2-3net/dataplaneapi/Makefile
+11-113 files