FreeNAS/freenas 6ecdd3bsrc/middlewared/middlewared/api/v26_0_0 update.py, src/middlewared/middlewared/utils mock.py

NAS-140310 / 27.0.0-BETA.1 / Also handle dicts in `get_mock_return_model` (#18468)

This fixes test_update.py::test_update failing with
```
AttributeError: 'dict' object has no attribute 'available'
```
Because `update.profile_choices` is expected to be a dict of objects,
but a dict of dicts is returned due to mocking.
DeltaFile
+9-9src/middlewared/middlewared/api/v26_0_0/update.py
+16-2src/middlewared/middlewared/utils/mock.py
+25-112 files

FreeNAS/freenas 2449aebsrc/middlewared/middlewared main.py, src/middlewared/middlewared/utils mock.py

NAS-140296 / 27.0.0-BETA.1 / Fix mock infrastructure to coerce dict results to Pydantic models for generic services (#18457)

This commit fixes an issue where the mock infrastructure (test.set_mock)
returns plain dicts for methods that internally return Pydantic models.
Generic services (those with Config.generic = True) like DockerService
return Pydantic model instances from their methods (e.g. docker.config
returns a DockerEntry, docker.status returns a DockerStatusInfo). When
internal callers use attribute access (e.g. .pool) on the result, mocks
returning plain dicts would fail with "'dict' object has no attribute
'pool'".

The fix detects at mock registration time whether the mocked method
belongs to a generic service and returns any Pydantic model. If so, the
mock's dict results are automatically wrapped via model_construct()
before being returned to callers. Non-generic services and
primitive-returning methods are unaffected.

STIG tests:
http://jenkins.eng.ixsystems.net:8080/job/tests/job/stig_tests/1812/ (

    [5 lines not shown]
DeltaFile
+56-0src/middlewared/middlewared/utils/mock.py
+6-2src/middlewared/middlewared/main.py
+62-22 files

LLVM/project dd383b4llvm/utils/lit/lit TestingConfig.py

[z/OS] Add passing env vars in lit on z/OS. (#194017)

This PR adds passing environment variables in lit/TestingConfig.py on
z/OS.
DeltaFile
+8-0llvm/utils/lit/lit/TestingConfig.py
+8-01 files

LLVM/project 555140fllvm/utils/lit/tests shtest-ulimit-nondarwin.py

[z/OS] Mark shtest-ulimit-nondarwin.py unsupported on zos. (#194016)

This PR marks llvm/utils/lit/tests/shtest-ulimit-nondarwin.py
unsupported on z/OS.
DeltaFile
+1-1llvm/utils/lit/tests/shtest-ulimit-nondarwin.py
+1-11 files

LLVM/project 2abeafclldb/test/API/functionalities/multi-breakpoint TestMultiBreakpoint.py

fixup! darker formatting
DeltaFile
+1-1lldb/test/API/functionalities/multi-breakpoint/TestMultiBreakpoint.py
+1-11 files

LLVM/project 97dc0fcllvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO Attributor.cpp AttributorAttributes.cpp

[Attributor] Support SPIR-V address spaces (#192725)

Right now Attributor assumes that if the the target is a GPU is can use
a single set of address space numerical values to determine the local
address space, but that's not true in general, so add SPIR-V support,
which uses different values.

This fixes an instruction incorrectly being marked as dead and optimized
out for an OpenMP SPIR-V offloading example.

---------

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
DeltaFile
+77-6llvm/lib/Transforms/IPO/Attributor.cpp
+32-19llvm/include/llvm/Transforms/IPO/Attributor.h
+43-0llvm/test/Transforms/OpenMP/spirv_ctor.ll
+10-13llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+162-384 files

LLVM/project 77e1275lldb/test/API/functionalities/multi-breakpoint TestMultiBreakpoint.py

fixup! add comment on test
DeltaFile
+1-0lldb/test/API/functionalities/multi-breakpoint/TestMultiBreakpoint.py
+1-01 files

FreeNAS/freenas 0c1572fsrc/middlewared/middlewared/plugins/truenas license_utils.py

Expose license contract type
DeltaFile
+13-2src/middlewared/middlewared/plugins/truenas/license_utils.py
+13-21 files

LLVM/project 0a58d0cclang/test/AST/ByteCode cxx17.cpp, clang/test/SemaCXX cxx17-compat.cpp

[SystemZ] z/OS only accept C initialization (#194023)

The TLS support only accept compile constant expressions (both C and
C++) on z/OS. Add #if to skip these tests on z/OS.
DeltaFile
+2-0clang/test/AST/ByteCode/cxx17.cpp
+2-0clang/test/SemaCXX/cxx17-compat.cpp
+4-02 files

FreeNAS/freenas 2c4a307src/middlewared/middlewared/plugins/failover_ event.py, src/middlewared/middlewared/plugins/iscsi_ lio.py alua.py

Add middleware support for LIO ALUA HA

Wire up the middleware side of LIO ALUA high-availability: load
lio_ha.ko with per-node addresses on service start, manage the
4-row ALUA state table (MASTER/BACKUP × synced/not-synced) across
failover events, clean up STANDBY configfs on pool export, and
add pre-flight validation that targets have static initiator ACLs
before ALUA can be enabled.
DeltaFile
+258-53src/middlewared/middlewared/utils/lio/config.py
+179-1src/middlewared/middlewared/plugins/iscsi_/lio.py
+62-9src/middlewared/middlewared/plugins/iscsi_/alua.py
+33-21src/middlewared/middlewared/plugins/failover_/event.py
+34-19src/middlewared/middlewared/plugins/iscsi_/iscsi_global.py
+28-0src/middlewared/middlewared/plugins/iscsi_/global_linux.py
+594-1033 files not shown
+628-1039 files

LLVM/project 4e6d372llvm/lib/CodeGen/LiveDebugValues VarLocBasedImpl.cpp

[LiveDebugValues] Use std::sort for register sorting in collectIDsForRegs (#194339)

VarLocBasedLDV::collectIDsForRegs sorts a SmallVector<Register> using
array_pod_sort which is a thin wrapper around qsort. That shows up as a hotspot
in compile-time profiles under __GI___qsort_r.

Switching this to an explicit-comparator llvm::sort call, which takes the
std::sort path instead improves compile-time with no change to code-size.

CTMark geomean:
- stage1-O0-g: -0.41%
- stage1-aarch64-O0-g: -0.58%
- stage2-O0-g: -0.40%

http://llvm-compile-time-tracker.com/compare.php?from=347aa3f6fbcc48cd752d02aa581b74c33d18dd41&to=cca8df56a576682510733c4c1b6fc12556e2dd7c&stat=instructions%3Au
DeltaFile
+1-1llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
+1-11 files

LLVM/project c6de992clang/test/CodeGen/AArch64/sve2p3-intrinsics acle_sve2p3_subp.c acle_sve2p3_addqp.c, clang/test/Sema/AArch64 arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP___sme_AND_LP_sve2p3_OR_sme2p3_RP.c

[Clang][AArch64][SVE2p3][SME2p3] Add intrinsics for v9.7a add/add-and-subtract/subtract pairwise operations (#187527)

Add the following new clang intrinsics based on the ACLE specification
https://github.com/ARM-software/acle/pull/428 (Add alpha support for 9.7
data processing intrinsics)

- ADDQP (Add pairwise within quadword vector segments)
- svint8_t svaddqp_s8(svint8_t, svint8_t) / svint8_t svaddqp(svint8_t,
svint8_t)
- svuint8_t svaddqp_u8(svuint8_t, svuint8_t) / svuint8_t
svaddqp(svuint8_t, svuint8_t)
- svint16_t svaddqp_s16(svint16_t, svint16_t) / svint16_t
svaddqp(svint16_t, svint16_t)
- svuint16_t svaddqp_u16(svuint16_t, svuint16_t) / svuint16_t
svaddqp(svuint16_t, svuint16_t)
- svint32_t svaddqp_s32(svint32_t, svint32_t) / svint32_t
svaddqp(svint32_t, svint32_t)
- svuint32_t svaddqp_u32(svuint32_t, svuint32_t) / svuint32_t
svaddqp(svuint32_t, svuint32_t)

    [39 lines not shown]
DeltaFile
+928-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_sve2p3_subp.c
+265-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_sve2p3_addqp.c
+265-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_sve2p3_addsubp.c
+241-0clang/test/Sema/AArch64/arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP___sme_AND_LP_sve2p3_OR_sme2p3_RP.c
+40-0llvm/test/CodeGen/AArch64/sve2p3-intrinsics/sve2p3-intrinsics-addqp.ll
+40-0llvm/test/CodeGen/AArch64/sve2p3-intrinsics/sve2p3-intrinsics-addsubp.ll
+1,779-04 files not shown
+1,839-310 files

LLVM/project 7473478clang/lib/CodeGen CGHLSLRuntime.cpp

[Clang][HLSL] Fix -Wunused-variable (#194374)

Inline the variable definition into the assert given it is side effect
free and the variable name does not make the code much more clear.
DeltaFile
+2-3clang/lib/CodeGen/CGHLSLRuntime.cpp
+2-31 files

LLVM/project 0193af4offload/plugins-nextgen/amdgpu/src rtl.cpp, offload/plugins-nextgen/cuda/src rtl.cpp

[offload] Fix use of AsyncInfoWrapper's finalize function (#194098)

The expected use is to forward the error from the asynchronous
operation's issuing (e.g., launchImpl) directly into the
AsyncInfoWrapper::finalize(). The check of the error is already
performed inside that function. No need to forward a dummy success error
code.
DeltaFile
+3-6offload/plugins-nextgen/amdgpu/src/rtl.cpp
+3-5offload/plugins-nextgen/cuda/src/rtl.cpp
+1-4offload/plugins-nextgen/level_zero/src/L0Device.cpp
+7-153 files

LLVM/project 40a303dllvm/lib/ExecutionEngine/Interpreter Execution.cpp, llvm/test/ExecutionEngine/Interpreter test-interp-variable-arguments.ll

[llvm][lli] fix lli crash when run variable arguments function as a interpret (#173719)

Run `lli` comand with the flag `-force-interpreter=true` to execute LLVM
bitcode, if `lli` run `variable arguments` function in the bitcode, it
will crash.

Fix #173718
DeltaFile
+24-0llvm/test/ExecutionEngine/Interpreter/test-interp-variable-arguments.ll
+5-3llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+29-32 files

LLVM/project d9fd915libsycl/include/sycl/__impl queue.hpp

fix comment

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>
DeltaFile
+2-2libsycl/include/sycl/__impl/queue.hpp
+2-21 files

LLVM/project 4f50fe9llvm/lib/Target/AMDGPU VOPDInstructions.td, llvm/test/MC/Disassembler/AMDGPU gfx12_dasm_vopd_unused_operands.txt

[AMDGPU][MC] Permit unneeded VOPD mov operands to be non-zero (#194060)

Use ? instead of 0 in the tablegen definitions for VOPD containing
v_mov. This enables the instruction to be disassembled regardless of
what bits are in those fields, which helps diagnose broken code.
Previously, the disassembler would reject these.
DeltaFile
+25-0llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopd_unused_operands.txt
+4-4llvm/lib/Target/AMDGPU/VOPDInstructions.td
+29-42 files

FreeBSD/ports ed65076net-mgmt/iprange Makefile

net-mgmt/iprange: Mark as IGNORE on i386

IPv6 support was added on version 2.0 and requires __uint128_t.  There
is no configure option to disable IPv6 so lets stop building on that
platform.

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+2-0net-mgmt/iprange/Makefile
+2-01 files

NetBSD/pkgsrc gcgSslddoc CHANGES-2026

   doc: Updated wayland/xwayland to 24.1.11
VersionDeltaFile
1.2628+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc BCok6U4wayland/xwayland distinfo Makefile

   xwayland: update to 24.1.11.

   This release addresses a number of regressions found in Xwayland 24.1.10:

   * Avoids spurious focus changes with KDE when listening for mouse buttons
     is enabled for legacy X11 application support
   * Fix tablet tools not working anymore as "slave" devices
   * Fix a crash when running some XTS tests
   * Fix a crash in window damage handling caused a NULL pointer dereference
VersionDeltaFile
1.3+4-4wayland/xwayland/distinfo
1.3+2-2wayland/xwayland/Makefile
+6-62 files

FreeNAS/freenas 60a0113tests/unit test_smb_share.py

NAS-140805 / 26.0.0-BETA.2 / Fix test regression after libzfs -> truenas_pylibzfs (by anodos325) (#18814)

This commit fixes a regression in SMB share unit tests after switching
to truenas_pylibzfs from py-libzfs (old).

Original PR: https://github.com/truenas/middleware/pull/18813

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+5-5tests/unit/test_smb_share.py
+5-51 files

OPNSense/core 388cf99src/opnsense/mvc/app/controllers/OPNsense/Kea/forms generalSettings6.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv6.xml KeaDhcpv6.php

Services: Kea DHCPv6: Allow customizing mac_sources and change default to ipv6-link-local since it seems to align best with the expectations of our setup, especially taking PD route installation via kea_prefix_watcher.py into account.

Per default KEA would derive MAC addresses of clients from the DUID, but these do not take multiple interfaces into account. This means, the route target could be the wrong MAC address. The new default ipv6-link-local takes the EUI-64 assumption of the link-local address, this seems to be better suited as our default.

Two methods have been skipped since they are not implemented by KEA upstream, raw and subscriber-id.
DeltaFile
+14-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+7-0src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings6.xml
+1-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+22-13 files

LLVM/project cc2b2f5libc/docs CMakeLists.txt, libc/docs/headers index.rst

[libc][docs] Add sys/sem.h POSIX header documentation (#122006) (#194358)

Add sys/sem.h implementation-status docs to llvm-libc.
DeltaFile
+25-0libc/utils/docgen/sys/sem.yaml
+1-0libc/docs/CMakeLists.txt
+1-0libc/docs/headers/index.rst
+27-03 files

LLVM/project 06ddfcflibunwind/src AddressSpace.hpp DwarfParser.hpp

[libunwind] fix build errors on x32 and mips n32 (#194310)
DeltaFile
+1-1libunwind/src/AddressSpace.hpp
+1-1libunwind/src/DwarfParser.hpp
+2-22 files

NetBSD/pkgsrc PDq0AOjdoc CHANGES-2026

   doc: Updated textproc/uriparser to 1.0.1
VersionDeltaFile
1.2627+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc OQ6wW3Etextproc/uriparser distinfo PLIST

   uriparser: update to 1.0.1.

   2026-04-27 -- 1.0.1

   >>>>>>>>>>>>> SECURITY >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
     * Fixed: [CVE-2026-42371]
         Protect from integer overflow in text range comparison.
         Thanks for the report and pull request to Joshua W. Windle! (GitHub #298)
   >>>>>>>>>>>>> SECURITY >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
     * Fixed: Fix `reallocarray` preprocessor handling for Illumos (GitHub #289)
     * Improved: Fix an in-code comment typo in src/UriCommon.c;
         Thanks for the report and pull request to Tim Düsterhus! (GitHub #290)
     * Improved: CMake: Start enforcing supported C++ standard (GitHub #295)
     * Improved: Allow use of C++11 to future unit tests (GitHub #296)
     * Infrastructure: Cover compilation with Visual Studio 18 2026 (GitHub #301)
     * Infrastructure: Address warning on CMake <3.10 in CI (GitHub #297)
     * Soname: 3:1:2 — see https://verbump.de/ for what these numbers do
         (liburiparser.so.1.2.1)
VersionDeltaFile
1.21+4-4textproc/uriparser/distinfo
1.12+2-2textproc/uriparser/PLIST
1.23+2-2textproc/uriparser/Makefile
+8-83 files

LLVM/project 8242576clang/docs ReleaseNotes.rst, clang/lib/Parse ParseCXXInlineMethods.cpp

[Clang] prevent crash in delayed default-argument lambda captures (#176749)

Fixes #176534

---

This patch resolves a crash when parsing delayed default arguments that
contain lambda expressions.

```cpp
struct S {
  void f(int x, int = sizeof([x] { return x; }()));
};
```

When late-parsing default arguments that contain lambdas, `Sema` builds
a `FunctionScopes` stack containing only the lambda scope
(`FunctionScopes.size()` equals 1), however, `tryCaptureVariable`
expects an enclosing function scope outside the lambda scope

    [19 lines not shown]
DeltaFile
+30-0clang/test/SemaCXX/lambda-unevaluated.cpp
+14-9clang/lib/Parse/ParseCXXInlineMethods.cpp
+1-0clang/docs/ReleaseNotes.rst
+45-93 files

LLVM/project 5f0f269mlir/lib/Dialect/MemRef/Transforms ElideReinterpretCast.cpp

[MemRef] Fix -Wunused-function (#194366)

areIndicesInBounds is only used within an assert statement, so mark it
[[maybe_unused]] so that the compiler does not otherwise warn in
non-assertion builds.
DeltaFile
+1-1mlir/lib/Dialect/MemRef/Transforms/ElideReinterpretCast.cpp
+1-11 files

FreeNAS/freenas 89d742ftests/unit test_smb_share.py

Fix test regression after libzfs -> truenas_pylibzfs

This commit fixes a regression in SMB share unit tests after
switching to truenas_pylibzfs from py-libzfs (old).

(cherry picked from commit 36134c0f0eac8f2a09045807bcda71672ea4448f)
DeltaFile
+5-5tests/unit/test_smb_share.py
+5-51 files

FreeNAS/freenas cc9ae79tests/unit test_smb_share.py

NAS-140805 / 27.0.0-BETA.1 / Fix test regression after libzfs -> truenas_pylibzfs (#18813)

This commit fixes a regression in SMB share unit tests after switching
to truenas_pylibzfs from py-libzfs (old).
DeltaFile
+5-5tests/unit/test_smb_share.py
+5-51 files