FreeBSD/src d6915bfsys/fs/nullfs null_vnops.c

nullfs: close a race when syncing inotify flags from the lower vnode

After a bypassed VOP, nullfs mirrors the lower vnode's inotify state
onto the upper vnode.  The flags were checked with lockless reads
before being updated with the asserting flag set/unset primitives, so
two threads syncing the same vnode concurrently (or a sync racing a
watch being established) could both decide to make the same change;
the loser then trips the "flags already set" assertion on an
INVARIANTS kernel.  On other kernels the race is harmless.

Keep the lockless check as the fast path, but re-make the decision
under the vnode interlock before actually changing the flags.

Reproduced in a 4-CPU VM with one thread cycling an inotify watch on
a lower-filesystem file while several threads stat(2) the same file
through a nullfs mount: the unpatched INVARIANTS kernel panics under
this load, the patched kernel runs it to completion.

Fixes:                  f1f230439fa4 ("vfs: Initial revision of inotify")

    [4 lines not shown]
DeltaFile
+14-5sys/fs/nullfs/null_vnops.c
+14-51 files

FreeNAS/freenas b117171src/middlewared/middlewared/api/v27_0_0 vm.py, src/middlewared/middlewared/plugins/vm clone.py crud.py

Stop a VM before destroying its backing zvols on delete

Deleting a VM with `zvols=true` tore down the backing zvols before stopping the domain, so ZFS could be pulled out from under a live qemu process — risking in-flight corruption and leaving zvols that fail to destroy with EBUSY. The `force` option also didn't really gate deleting a running VM despite what its description implied.

Reject deleting an active (running/suspended) VM unless `force` is set, and stop/undefine the domain before touching its zvols so the block devices are released first; the `force` field description now matches that behaviour. Picked up a few smaller VM-plugin tidy-ups along the way: clone rollback unwinds the snapshots/clones (and half-created VM record) it made if something fails partway, the disk-convert guard treats suspended VMs like running ones, and the convert path check looks at the real destination directory rather than its parent — with unit tests for the convert checks.
DeltaFile
+98-0src/middlewared/middlewared/pytest/unit/plugins/vm/test_convert_validation.py
+29-25src/middlewared/middlewared/plugins/vm/clone.py
+15-6src/middlewared/middlewared/plugins/vm/crud.py
+5-3src/middlewared/middlewared/plugins/vm/vm_device_convert.py
+6-1src/middlewared/middlewared/api/v27_0_0/vm.py
+153-355 files

NetBSD/pkgsrc-wip 2aa8971chromium distinfo Makefile

chromium: update to 150.0.7871.128
DeltaFile
+6-6chromium/distinfo
+1-1chromium/Makefile
+7-72 files

FreeBSD/src 9b21a52sys/kern sys_process.c

kern_ptrace(): reduce code duplication

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58334
DeltaFile
+15-10sys/kern/sys_process.c
+15-101 files

LLVM/project dcf03fellvm/include/llvm/ADT Eytzinger.h, llvm/unittests/ADT EytzingerTest.cpp

[ADT] Add begin and end to EytzingerTableSpan and EytzingerTable (NFC) (#210478)

This patch adds iterator and const_iterator type aliases as well as
begin() and end() methods to EytzingerTableSpan and EytzingerTable.

I'm going to be using these as part of the SecNameTable in the
Eytzinger layout.

RFC:
https://discourse.llvm.org/t/rfc-faster-sample-profile-loading/90957/8

Assisted-by: Antigravity
DeltaFile
+47-0llvm/unittests/ADT/EytzingerTest.cpp
+13-0llvm/include/llvm/ADT/Eytzinger.h
+60-02 files

NetBSD/pkgsrc Gwib2JDwww/py-websockets Makefile

   py-websockets: add comment about tests

   (not intended to be run in distributions)
VersionDeltaFile
1.36+3-13www/py-websockets/Makefile
+3-131 files

NetBSD/src sr9TdWGsys/arch/sun2/sun2 pmap.c, sys/arch/sun3/sun3 pmap.c

   More diff reduction.
VersionDeltaFile
1.189+14-19sys/arch/sun3/sun3/pmap.c
1.62+9-12sys/arch/sun2/sun2/pmap.c
+23-312 files

OpenBSD/ports gGtotV1wayland/mango distinfo Makefile

   wayland/mango: Update to 0.15.4

   Very similar patch proposed by and additional tests from yaydn (at)
   protonmail
VersionDeltaFile
1.10+2-2wayland/mango/distinfo
1.11+1-1wayland/mango/Makefile
+3-32 files

LLVM/project 9f6c84b.github/workflows/containers/libc Dockerfile

[Github] symlink `llvm-tools` in libc container (#210561)

Missed thing in #210414. We need to symlink the LLVM tools that are
under `/usr/lib/llvm-23/bin/` to avoid errors like this because the LLVM
tools have a `-23` suffix when they're installed inside the container

```
# RUN: at line 2
/usr/bin/clang-23   -gline-tables-only   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta  -DCOMPILER_RT_HAS_FLOAT16 -nobuiltininc -I/__w/llvm-project/llvm-project/compiler-rt/include -idirafter /usr/lib/llvm-23/lib/clang/23/include -resource-dir=/__w/llvm-project/llvm-project/build/compiler-rt -Wl,-rpath,/__w/llvm-project/llvm-project/build/compiler-rt/lib/linux  -fno-builtin -I /__w/llvm-project/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /__w/llvm-project/llvm-project/compiler-rt/test/builtins/Unit/aarch64/emupac.c -lm -Wl,--start-group /__w/llvm-project/llvm-project/build/compiler-rt/lib/linux/libclang_rt.builtins-aarch64.a -lc -Wl,--end-group -o /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/AARCH64LinuxConfig/aarch64/Output/emupac.c.tmp
# executed command: /usr/bin/clang-23 -gline-tables-only -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -DCOMPILER_RT_HAS_FLOAT16 -nobuiltininc -I/__w/llvm-project/llvm-project/compiler-rt/include -idirafter /usr/lib/llvm-23/lib/clang/23/include -resource-dir=/__w/llvm-project/llvm-project/build/compiler-rt -Wl,-rpath,/__w/llvm-project/llvm-project/build/compiler-rt/lib/linux -fno-builtin -I /__w/llvm-project/llvm-project/compiler-rt/lib/builtins -nodefaultlibs /__w/llvm-project/llvm-project/compiler-rt/test/builtins/Unit/aarch64/emupac.c -lm -Wl,--start-group /__w/llvm-project/llvm-project/build/compiler-rt/lib/linux/libclang_rt.builtins-aarch64.a -lc -Wl,--end-group -o /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/AARCH64LinuxConfig/aarch64/Output/emupac.c.tmp
# RUN: at line 3
/__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/AARCH64LinuxConfig/aarch64/Output/emupac.c.tmp 1
# executed command: /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/AARCH64LinuxConfig/aarch64/Output/emupac.c.tmp 1
# RUN: at line 4
/__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/AARCH64LinuxConfig/aarch64/Output/emupac.c.tmp 2
# executed command: /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/AARCH64LinuxConfig/aarch64/Output/emupac.c.tmp 2
# RUN: at line 5
not --crash  /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/AARCH64LinuxConfig/aarch64/Output/emupac.c.tmp 3
# executed command: not --crash /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/AARCH64LinuxConfig/aarch64/Output/emupac.c.tmp 3

    [3 lines not shown]
DeltaFile
+8-4.github/workflows/containers/libc/Dockerfile
+8-41 files

LLVM/project 6375064llvm/test/Transforms/SLPVectorizer/AArch64 masked-div-rem-non-pow2-revec.ll

[SLP][NFC]Add a test with potential masked revec udiv, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/210596
DeltaFile
+34-0llvm/test/Transforms/SLPVectorizer/AArch64/masked-div-rem-non-pow2-revec.ll
+34-01 files

FreeBSD/src 11edc98sys/amd64/include vm.h, sys/arm/include vm.h

vm: Make sure NULL is defined for vm_memattr_name()

Fixes:  a7e483ee146a ("vm_phys: Add a sysctl to dump registered fictitious memory ranges")
DeltaFile
+2-0sys/amd64/include/vm.h
+2-0sys/arm/include/vm.h
+2-0sys/arm64/include/vm.h
+2-0sys/i386/include/vm.h
+2-0sys/powerpc/include/vm.h
+2-0sys/riscv/include/vm.h
+12-06 files

FreeBSD/ports b700ef8Mk/Uses npm.mk

Mk/Uses/npm.mk: Copy pnpm-workspace.yaml from PKGJSONSDIR to WRKSRC when it exists
DeltaFile
+10-0Mk/Uses/npm.mk
+10-01 files

FreeBSD/src 02c440esys/x86/cpufreq hwpstate_intel.c

hwpstate_intel: Minimize ifdef for i386 build

Reported by:    jrtc27
Fixes:  bdc0f7678257
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-4sys/x86/cpufreq/hwpstate_intel.c
+0-41 files

NetBSD/pkgsrc Tjf7mHIdoc CHANGES-2026

   doc: Updated graphics/ruby-mini-magick to 5.3.2
VersionDeltaFile
1.4571+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc yYlVw7jgraphics/ruby-mini-magick distinfo Makefile

   graphics/ruby-mini-magick: update to 5.3.2

   5.3.2 (2026-07-14)

   * Restored instantiating legacy MiniMagick::Tool::* classes for backwards
     compatibility, which got broken in 5.0.

   * Reintroduced manual timeouts instead of relying on $MAGICK_TIME_LIMIT,
     which wasn't reliably enforcing the timeout (and isn't compatible with
     GraphicsMagick).
VersionDeltaFile
1.38+4-4graphics/ruby-mini-magick/distinfo
1.37+2-2graphics/ruby-mini-magick/Makefile
+6-62 files

LLVM/project ab39c49llvm/lib/Target/X86 X86InstrInfo.cpp X86InstrInfo.h, llvm/test/CodeGen/X86/apx optimize-compare-multipred.ll optimize-compare-multipred.mir

[X86][APX] Reuse EFLAGS across multi-predecessor blocks via NF in optimizeCompareInstr (#208184)

Extend optimizeCompareInstr to reuse EFLAGS produced in predecessor
blocks (including via NF variants) when a compare is redundant, covering
multi-predecessor, dominating, and cyclic CFGs. Share the NF-clobber
removal helper with FlagsCopyLowering, correctly handle swapped and
immediate-adjusted flag reuse, and simplify EFLAGS live-in marking.

Adds MIR tests exercising multi-predecessor reuse over cyclic and
dominating CFGs, including a multi-level idom walk.

Assisted-By: Claude Opus 4.8
DeltaFile
+483-0llvm/test/CodeGen/X86/apx/optimize-compare-multipred.ll
+354-0llvm/test/CodeGen/X86/apx/optimize-compare-multipred.mir
+153-18llvm/lib/Target/X86/X86InstrInfo.cpp
+28-0llvm/lib/Target/X86/X86InstrInfo.h
+10-12llvm/test/CodeGen/X86/apx/add.ll
+1-10llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
+1,029-401 files not shown
+1,030-437 files

LLVM/project 5c7dc8elibcxx/test/libcxx/ranges/range.adaptors/range.enumerate nodiscard.verify.cpp

[libc++][ranges] Add missing test cases for `[[nodiscard]]` tests in `enumerate_view` (#209289)

Addresses missing `[[nodiscard]]` test cases for
`std::views::enumerate`.

---------

Co-authored-by: Hristo Hristov <zingam at outlook.com>
DeltaFile
+16-3libcxx/test/libcxx/ranges/range.adaptors/range.enumerate/nodiscard.verify.cpp
+16-31 files

NetBSD/pkgsrc myl0bIRdoc CHANGES-2026

   doc: Updated devel/ruby-rugged to 1.9.6
VersionDeltaFile
1.4570+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc YTsfUkxdevel/ruby-rugged PLIST distinfo

   devel/ruby-rugged: update to 1.9.6

   1.9.5 (2026-07-19)

   * Merge pull request #1010 from libgit2/cmn/update-19-sec
     vendor: bump libgit2 to v1.9.5

   1.9.5.1 (2026-07-19)

   * 1.9.5 was tagged wrong version.

   1.9.6  (2026-07-19)

   * Merge pull request #1009 from libgit2/cmn/update-19
     vendor: bump libgit2 to v1.9.6
VersionDeltaFile
1.23+43-36devel/ruby-rugged/PLIST
1.31+4-4devel/ruby-rugged/distinfo
1.38+2-2devel/ruby-rugged/Makefile
+49-423 files

FreeBSD/src bdc0f76sys/x86/cpufreq hwpstate_intel.c

hwpstate_intel: Fix i386 build

Reviewed by:    olce
Fixes:  7b26353a59d6
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58208
DeltaFile
+8-0sys/x86/cpufreq/hwpstate_intel.c
+8-01 files

OpenBSD/src xbt9nUqusr.bin/mg echo.c

   use strncmp instead of memcmp in complt()

   cpos is not necessarely shorter than lh->l_name length, so we might end
   up memcmp'ing out of bounds.

   from Han Boetes (hboetes at gmail)
VersionDeltaFile
1.71+2-2usr.bin/mg/echo.c
+2-21 files

FreeBSD/ports 89e5e41Mk/Uses npm.mk

Mk/Uses/npm.mk: Remove temp directory in pnpm store before making archive

Leaving the directory in place may cause the node modules archive to
be unreproducible.
DeltaFile
+4-3Mk/Uses/npm.mk
+4-31 files

OpenBSD/src uEgOqSkusr.bin/mg interpreter.c

   fix NULL-deref in parsexp; from Han Boetes (hboetes at gmail)
VersionDeltaFile
1.38+3-2usr.bin/mg/interpreter.c
+3-21 files

LLVM/project 4b4d4a6llvm/test/Transforms/SLPVectorizer/AArch64 masked-div-rem-non-pow2.ll

[SLP][NFC]Add a test for potential masked div/rem ops, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/210593
DeltaFile
+184-0llvm/test/Transforms/SLPVectorizer/AArch64/masked-div-rem-non-pow2.ll
+184-01 files

OpenBSD/ports cVVg08Kdevel/gopls distinfo modules.inc

   Update to gopls-0.23.0

   From Laurent Cheylus (maintainer)
VersionDeltaFile
1.19+92-104devel/gopls/distinfo
1.19+32-38devel/gopls/modules.inc
1.20+1-1devel/gopls/Makefile
+125-1433 files

OpenBSD/ports fDHNFETnet/miniflux distinfo modules.inc

   Update to miniflux-2.3.2

   From Igor Zornik (maintainer)
VersionDeltaFile
1.30+42-42net/miniflux/distinfo
1.28+13-13net/miniflux/modules.inc
1.34+3-1net/miniflux/Makefile
+58-563 files

OpenBSD/ports GbDHRONsysutils/node_exporter distinfo modules.inc

   Update to node_exporter-1.12.0
VersionDeltaFile
1.19+106-116sysutils/node_exporter/distinfo
1.11+37-41sysutils/node_exporter/modules.inc
1.29+1-1sysutils/node_exporter/Makefile
+144-1583 files

OpenBSD/ports x3GN3V5sysutils/fzf distinfo Makefile

   Update to fzf-0.74.1

   From Laurent Cheylus (maintainer)
VersionDeltaFile
1.53+2-2sysutils/fzf/distinfo
1.62+1-1sysutils/fzf/Makefile
+3-32 files

FreeBSD/ports 6116844databases/rainfrog distinfo Makefile.crates

databases/rainfrog: Update to 0.3.20

ChangeLog:      https://github.com/achristmascarl/rainfrog/releases/tag/v0.3.20
Reported by:    "github-actions[bot]" <notifications at github.com>
DeltaFile
+143-21databases/rainfrog/distinfo
+70-9databases/rainfrog/Makefile.crates
+1-1databases/rainfrog/Makefile
+214-313 files

LLVM/project cd99637mlir/lib/Dialect/Bufferization/Transforms BufferDeallocationSimplification.cpp, mlir/test/Dialect/Bufferization/Transforms buffer-deallocation-simplification.mlir

[mlir][bufferization] Fix stale BufferOriginAnalysis in BufferDeallocationSimplification (#210105)

Fixes #205228

This change fixes a use-after-free bug in the
BufferDeallocationSimplification pipeline caused by the greedy pattern
rewriter deleting operation tracked by the BufferOriginAnalysis.
BufferViewFlowAnalysis (internally used by BufferOriginAnalysis) creates
the dependencies map once during initialization. In this specific case,
the folder removed the `memref.cast` ops making later uses a
use-after-free bug.

Below is the snippet of running the pass using
`-debug-only=greedy-rewriter`. It erases a `memref.cast` and crashes in
RemoveDeallocMemrefsContainedInRetained.

```
...
[greedy-rewriter:1] //===-------------------------------------------===//

    [20 lines not shown]
DeltaFile
+29-0mlir/test/Dialect/Bufferization/Transforms/buffer-deallocation-simplification.mlir
+14-2mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocationSimplification.cpp
+43-22 files