Linux/linux b29fb88fs/smb/server oplock.c auth.c

Merge tag 'v7.0-rc3-ksmbd-server-fixes' of git://git.samba.org/ksmbd

Pull smb server fixes from Steve French:

 - Fix potential use after free errors

 - Fix refcount leak in smb2 open error path

 - Prevent allowing logging signing or encryption keys

* tag 'v7.0-rc3-ksmbd-server-fixes' of git://git.samba.org/ksmbd:
  ksmbd: Don't log keys in SMB3 signing and encryption key generation
  smb: server: fix use-after-free in smb2_open()
  ksmbd: fix use-after-free in smb_lazy_parent_lease_break_close()
  ksmbd: fix use-after-free by using call_rcu() for oplock_info
  ksmbd: fix use-after-free in proc_show_files due to early rcu_read_unlock
  smb/server: Fix another refcount leak in smb2_open()
DeltaFile
+25-10fs/smb/server/oplock.c
+2-20fs/smb/server/auth.c
+5-5fs/smb/server/vfs_cache.c
+4-4fs/smb/server/smb2pdu.c
+3-2fs/smb/server/oplock.h
+39-415 files

LLVM/project 5799a5dlldb/packages/Python/lldbsuite/test lldbtest.py decorators.py

[lldb/test] Add generic test variant infrastructure (#185145)

Add a generic `TestVariant` class and `_expand_test_variants` function
that can be used to create new test variant dimensions (similar to the
existing debug_info variant expansion).

Each TestVariant describes a dimension that multiplies test methods by
different configurations. The infrastructure handles method expansion,
xfail/skip decorator support, and setUp-time configuration.

This also generalizes `_xfailForDebugInfo`/`_skipForDebugInfo` into
`_xfailForVariant`/`_skipForVariant`, and changes the decorator's inner
fn() to accept **kwargs so variant values can be passed by name.

The `_test_variants` list is currently empty — downstream forks (i.e.
swift) can register their own variants without modifying the metaclass
logic.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+215-39lldb/packages/Python/lldbsuite/test/lldbtest.py
+44-10lldb/packages/Python/lldbsuite/test/decorators.py
+259-492 files

LLVM/project 7472b4aclang/include/clang/Basic AttrDocs.td Attr.td, clang/lib/CodeGen CodeGenFunction.cpp

Basic,Sema: introduce `__attribute__((__personality__(...)))` (#185225)

This attribute allows specifying a custom personality routine for a
function, overriding the default emitted by Clang. The motivating use
case is the Swift concurrency runtime, where C/C++ runtime functions
need to act as barriers for exception propagation — the custom
personality ensures exceptions do not propagate through these frames
unchecked. More generally, this is useful whenever a language runtime is
implemented in a host language with different EH semantics. LLVM IR
already supports arbitrary personality functions on definitions; this
attribute simply exposes that capability to the C/C++ frontend.

Co-authored-by: Erich Keane <ekeane at nvidia.com>
DeltaFile
+80-0clang/test/CodeGen/attr-personality.c
+30-0clang/test/CodeGen/attr-personality-failures.c
+27-0clang/lib/Sema/SemaDeclAttr.cpp
+18-0clang/include/clang/Basic/AttrDocs.td
+9-0clang/lib/CodeGen/CodeGenFunction.cpp
+7-0clang/include/clang/Basic/Attr.td
+171-05 files not shown
+188-011 files

LLVM/project f2f5845llvm/lib/Target/WebAssembly WebAssemblyFastISel.cpp, llvm/test/CodeGen/WebAssembly load-ext.ll offset-fastisel.ll

[WebAssembly][FastISel] Fold AND mask operations into ZExt load (#183743)

FastISel emits separate load and AND instructions for bitmasking.
(before) %1:i32 = LOAD_I32 %addr; %2:i32 = AND_I32 %1, 255

Fold AND masks into ZExt loads by verifying operands with
maskTrailingOnes. A getFoldedLoadOpcode wrapper is implemented
to manage dispatching logic for better extensibility.
(after) %1:i32 = LOAD8_U_I32 %addr

Fixed: https://github.com/llvm/llvm-project/issues/180783
DeltaFile
+40-72llvm/test/CodeGen/WebAssembly/load-ext.ll
+64-3llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+1-3llvm/test/CodeGen/WebAssembly/offset-fastisel.ll
+105-783 files

LLVM/project 3752a35llvm/test/CodeGen/AArch64 clmul-fixed.ll, llvm/test/CodeGen/PowerPC clmul-vector.ll

Merge branch 'fix-blockfreq-unroll-unconditional-latches--fast' into fix-blockfreq-unroll-unconditional-latches--uniform
DeltaFile
+54,752-7,425llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+18,872-3,329llvm/test/CodeGen/RISCV/rvv/clmul-sdnode.ll
+6,812-3,080llvm/test/CodeGen/AArch64/clmul-fixed.ll
+5,488-0llvm/test/CodeGen/X86/bit-manip-i512.ll
+2,338-2,209llvm/test/CodeGen/PowerPC/clmul-vector.ll
+1,561-2,812llvm/test/CodeGen/X86/wide-scalar-shift-by-byte-multiple-legalization.ll
+89,823-18,8553,075 files not shown
+208,349-63,4473,081 files

OpenBSD/src OYm9OUletc/root root.mail, share/mk sys.mk

   move to 7.9-beta
VersionDeltaFile
1.214+4-4sys/conf/newvers.sh
1.63+4-4usr.bin/signify/signify.1
1.180+3-3etc/root/root.mail
1.146+3-3sys/sys/param.h
1.99+2-2share/mk/sys.mk
1.56+2-2sys/arch/macppc/stand/tbxidata/bsd.tbxi
+18-186 files

FreeBSD/ports 8b6a525math/octave-forge-biosig distinfo Makefile, math/octave-forge-biosig/files patch-mexSSAVE.cpp

math/octave-forge-biosig: Update to 3.9.4.
DeltaFile
+0-19math/octave-forge-biosig/files/patch-mexSSAVE.cpp
+3-3math/octave-forge-biosig/distinfo
+1-2math/octave-forge-biosig/Makefile
+4-243 files

LLVM/project e950a80llvm/lib/Target/WebAssembly WebAssemblyISelLowering.cpp, llvm/test/CodeGen/WebAssembly simd-offset.ll

[WebAssembly] Look through freeze nodes when folding vector load + ext (#185143)

When folding loads with extensions, the extension operand can be a freeze node
in addition to a load. We can look through it to do the desirability check.

Fixes #184676
DeltaFile
+16-0llvm/test/CodeGen/WebAssembly/simd-offset.ll
+7-1llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+23-12 files

LLVM/project 53a2fd9llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 icmp-shift-opt.ll

[DAGCombiner] Combine (fshl A, B, S) | (fshr C, D, BW-S) --> (fshl (A|C), (B|D), S) (#180889)

This is similar to the FSHL/FSHR handling in
hoistLogicOpWithSameOpcodeHands.
Here the opcodes aren't exactly the same, but the operations are
equivalent.

Fixes regressions from #180888
DeltaFile
+8-12llvm/test/CodeGen/X86/icmp-shift-opt.ll
+18-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+26-122 files

OpenBSD/ports phQAtEZdevel/codex distinfo Makefile, devel/codex/patches patch-codex-rs_core_src_config_mod_rs patch-codex-rs_Cargo_toml

   devel/codex: update to 0.114.0
VersionDeltaFile
1.9+1-10devel/codex/patches/patch-codex-rs_core_src_config_mod_rs
1.7+3-3devel/codex/patches/patch-codex-rs_Cargo_toml
1.9+2-2devel/codex/distinfo
1.9+1-1devel/codex/Makefile
+7-164 files

FreeNAS/freenas bfc9985src/middlewared/middlewared/plugins/service_/services/pseudo misc.py

NAS-140230 / 27.0.0-BETA.1 / Fix middleware status check of 'pseudo' mountd service. (#18424)

Middleware does a service check on the 'pseudo' mountd service. There is
no 'get_state' handler and the default indicates it's always running.
The caller is expecting mountd to be stopped. Adding a `get_state`
handler which just calls the systemd status for `nfs-mountd`.
DeltaFile
+3-0src/middlewared/middlewared/plugins/service_/services/pseudo/misc.py
+3-01 files

LLVM/project c95450fllvm/test/CodeGen/AArch64 clmul-fixed.ll, llvm/test/CodeGen/PowerPC clmul-vector.ll

Merge branch 'fix-blockfreq-unroll-unconditional-latches' into fix-blockfreq-unroll-unconditional-latches--fast
DeltaFile
+54,752-7,425llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+18,872-3,329llvm/test/CodeGen/RISCV/rvv/clmul-sdnode.ll
+6,812-3,080llvm/test/CodeGen/AArch64/clmul-fixed.ll
+5,488-0llvm/test/CodeGen/X86/bit-manip-i512.ll
+2,338-2,209llvm/test/CodeGen/PowerPC/clmul-vector.ll
+1,561-2,812llvm/test/CodeGen/X86/wide-scalar-shift-by-byte-multiple-legalization.ll
+89,823-18,8553,075 files not shown
+208,349-63,4473,081 files

FreeNAS/freenas 7c09cacsrc/middlewared/middlewared/plugins/service_/services/pseudo misc.py

Fix middleware status check of 'pseudo' mountd service.
DeltaFile
+3-0src/middlewared/middlewared/plugins/service_/services/pseudo/misc.py
+3-01 files

FreeBSD/ports edb0110devel/patch Makefile, devel/patch/files patch-lib__localcharset.c patch-lib__Makefile.in

devel/patch: update GNU patch to the latest version 2.8

- GC previous Debian patches, backport new upstream fixes:
  add missing filename quoting, enable merge, skip read-only
  check when output file specified, reject empty filenames
- On i386, apply the same fix as Debian for Hurd/i386
- The port now seemingly builds fine with BSD make(1)
- Install some standard documentation files

PR:     285796
DeltaFile
+0-98devel/patch/files/patch-lib__localcharset.c
+0-43devel/patch/files/patch-lib__Makefile.in
+42-0devel/patch/files/patch-src_patch.c
+16-11devel/patch/Makefile
+14-0devel/patch/files/patch-tests_bad-filenames
+11-0devel/patch/files/patch-tests_read-only-files
+83-1522 files not shown
+97-1578 files

LLVM/project 482bb3dllvm/include/llvm/Transforms/Vectorize/SandboxVectorizer DependencyGraph.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer DependencyGraph.cpp

[SandboxVec][DAG] Mark UnscheduledSuccs as invalid when vectorized (#185519)

When a DAG node gets scheduled, it's UnscheduledSuccs variable becomes
invalid. Up until now we had no way in the code of expressing this.

This patch converts UnscheduledSuccs to an std::optional in order to
protect its use when not valid.
DeltaFile
+24-10llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h
+21-4llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp
+3-3llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
+48-173 files

LLVM/project 86bf89aclang/test/AST/ByteCode builtin-functions.cpp, clang/test/Sema constant-builtins-2.c

[test] Add bit < 8 testcase for x86 __builtin_bswapg (#180124)

### Summary
the related PR: https://github.com/llvm/llvm-project/pull/179177, add
bits < 8 testcase for __builtin_bswapg
DeltaFile
+3-0clang/test/AST/ByteCode/builtin-functions.cpp
+2-0clang/test/Sema/constant-builtins-2.c
+2-0clang/test/SemaCXX/builtin-bswapg.cpp
+7-03 files

NetBSD/pkgsrc-wip f7934cemtr-graph distinfo Makefile

mtr-graph(mtr085): bump to 0.85.227
DeltaFile
+3-3mtr-graph/distinfo
+2-2mtr-graph/Makefile
+5-52 files

FreeNAS/freenas 3398420src/middlewared/middlewared/plugins dlm.py

Call dlm.reset_active when peer disconnects

Previously reset_active was only called when STANDBY reconnected, leaving
DLM RSBs in an inconsistent state for the duration of the outage.  Calling
it immediately when the peer goes down ensures DLM recovery runs and repairs
pending lock lookups before SCST issues new dlm_lock requests during
logout_all.

Three guards prevent acting in the wrong context: only runs on MASTER;
skips if the peer's DLM port is still reachable (middleware-only restart);
skips if we have logged-in extents (we are STANDBY or mid-transition and
the failover event is already handling cleanup).
DeltaFile
+45-3src/middlewared/middlewared/plugins/dlm.py
+45-31 files

LLVM/project 2410418llvm/lib/Target/RISCV RISCVISelLowering.cpp

[RISCV] Refactor lowerBUILD_VECTOR splat opcode selection to avoid duplication. NFC. (#185573)

Hoist the common ANY_EXTEND, DAG.getNode, and convertFromScalableVector
calls out of the duplicated if/else branches. Use a single IsScalar bool
to select between VMV_S_X_VL/VFMV_S_F_VL and VMV_V_X_VL/VFMV_V_F_VL.
DeltaFile
+9-15llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+9-151 files

FreeBSD/doc 5af0ae1website/content/en/releases/14.4R errata.adoc

14.4/errata: Loader regression fixed in main

Reported by:    leres
DeltaFile
+1-1website/content/en/releases/14.4R/errata.adoc
+1-11 files

NetBSD/src fa6fcZHtests/usr.bin/xlint/lint1 lex_preprocess.c, usr.bin/xlint/lint1 scan.l

   lint: accept '$' in preprocessor macro expansions
VersionDeltaFile
1.144+3-3usr.bin/xlint/lint1/scan.l
1.2+1-3tests/usr.bin/xlint/lint1/lex_preprocess.c
+4-62 files

LLVM/project a3f2823compiler-rt/lib/builtins CMakeLists.txt, compiler-rt/lib/builtins/wasm __cpp_exception.S

[WebAssembly] Move __cpp_exception to libunwind (#185770)

The `__cpp_exception` symbol is now defined in libunwind instead of
compiler-rt. This is moved for a few reasons, but the primary reason is
that compiler-rt is linked duplicate-ly into all shared objects meaning
that it's not suitable for define-once symbols such as
`__cpp_exception`. By moving the definition to the user of the symbol,
libunwind itself, that guarantees that the symbol should be defined
exactly once and only when appropriate. A secondary reason for this
movement is that it avoids the need to compile compiler-rt twice: once
with exception and once without, and instead the same build can be used
for both exceptions-and-not.
DeltaFile
+0-26compiler-rt/lib/builtins/wasm/__cpp_exception.S
+15-0libunwind/src/Unwind-wasm.c
+0-1llvm/utils/gn/secondary/compiler-rt/lib/builtins/sources.gni
+0-1compiler-rt/lib/builtins/CMakeLists.txt
+15-284 files

NetBSD/src MlcfD5ndistrib/sets/lists/tests mi, tests/usr.bin/xlint/lint1 emit.c lex_preprocess.c

   tests/lint: test preprocessing tokens (lint1) and noreturn (lint2)
VersionDeltaFile
1.19+23-1tests/usr.bin/xlint/lint1/emit.c
1.1+24-0tests/usr.bin/xlint/lint1/lex_preprocess.c
1.16+7-0tests/usr.bin/xlint/lint1/emit.exp-ln
1.1415+2-1distrib/sets/lists/tests/mi
+56-24 files

OpenBSD/ports P1suhCCsysutils/firmware/radeondrm distinfo Makefile

   update radeon firmware to 20260309
   no binary change
VersionDeltaFile
1.29+2-2sysutils/firmware/radeondrm/distinfo
1.33+1-1sysutils/firmware/radeondrm/Makefile
+3-32 files

LLVM/project 7ad5ff1cmake/Modules LLVMVersion.cmake, libcxx/include __config

Bump version to 22.1.2
DeltaFile
+1-1cmake/Modules/LLVMVersion.cmake
+1-1libcxx/include/__config
+1-1llvm/utils/gn/secondary/llvm/version.gni
+1-1llvm/utils/lit/lit/__init__.py
+1-1llvm/utils/mlgo-utils/mlgo/__init__.py
+5-55 files

OpenBSD/ports MVcdJkzsysutils/firmware/amdgpu distinfo Makefile, sysutils/firmware/amdgpu/pkg PLIST

   update amdgpu firmware to 20260309
VersionDeltaFile
1.33+2-2sysutils/firmware/amdgpu/distinfo
1.36+1-1sysutils/firmware/amdgpu/Makefile
1.23+1-0sysutils/firmware/amdgpu/pkg/PLIST
+4-33 files

FreeBSD/ports a6099d8graphics/egl-x11 distinfo pkg-descr, graphics/egl-x11/files patch-src_x11_x11-platform.h

graphics/egl-x11: Update to version 1.0.5

Changes:
https://github.com/NVIDIA/egl-x11/releases/tag/v1.0.5

While here, drop a patch that is now included in upstream,
and add warning about minimum supported version of NVIDIA
drivers (560) in pkg-descr.

PR:             293718
Reviewed by:    ashafer (versioning)
Differential Revision:  https://reviews.freebsd.org/D55797
DeltaFile
+0-15graphics/egl-x11/files/patch-src_x11_x11-platform.h
+3-3graphics/egl-x11/distinfo
+3-0graphics/egl-x11/pkg-descr
+1-1graphics/egl-x11/Makefile
+7-194 files

FreeBSD/ports e5bc282net-p2p/bazarr pkg-plist

net-p2p/bazarr: Fix build with python version other than 3.11

PR:             293708
Approved by:    Michiel van Baak Jansen <michiel at vanbaak.eu> (maintainer)
MFH:            2026Q1

(cherry picked from commit d000c5fe82e03452f035761e9ea217f61d0645f1)
DeltaFile
+3-3net-p2p/bazarr/pkg-plist
+3-31 files

LLVM/project 78beeb7clang/lib/Driver/ToolChains WebAssembly.cpp, clang/test/Driver wasm-toolchain.cpp

[WebAssembly] Clang support for exception-based lookup paths (#185775)

This commit is an attempt to make progress on WebAssembly/wasi-sdk#565
where with wasi-sdk I'd like to ship a single toolchain which is capable
of building binaries both with C++ exceptions and without. This means
that there can't be a single set of precompiled libraries that are used
because one set of libraries is wrong for the other mode. The support
added here is to use `-fwasm-exceptions` to automatically select a
lookup path in the sysroot. The intention is then that wasi-sdk will
ship both a "eh" set of C++ libraries as well as a "noeh" set of C++
libraries too. Clang will automatically select the correct one based on
compilation flags which means that the final distribution will be able
to build both binaries with exceptions and without.
DeltaFile
+35-16clang/lib/Driver/ToolChains/WebAssembly.cpp
+35-0clang/test/Driver/wasm-toolchain.cpp
+70-162 files

FreeNAS/freenas 336b658src/middlewared/middlewared main.py, src/middlewared/middlewared/plugins/webshare config.py __init__.py

Convert webshare service to new pattern
DeltaFile
+21-86src/middlewared/middlewared/plugins/webshare/config.py
+72-0src/middlewared/middlewared/plugins/webshare/__init__.py
+46-0src/middlewared/middlewared/plugins/webshare/utils.py
+1-1src/middlewared/middlewared/main.py
+140-874 files