FreeNAS/freenas 8ca28ffsrc/middlewared/middlewared/plugins/tunable utils.py crud.py, src/middlewared/middlewared/test/integration/utils mock_binary.py

NAS-140431 / 27.0.0-BETA.1 / Propagate tunable changes to the backup node (by themylogin) (by bugclerk) (#18633)

Automatic cherry-pick failed. Please resolve conflicts by running:

    git reset --hard HEAD~1
    git cherry-pick -x bfde08c08eb12dc5cf57858d173550450d9ee49f

If the original PR was merged via a squash, you can just cherry-pick the
squashed commit:

    git reset --hard HEAD~1
    git cherry-pick -x 52e6f759a02f0c5d9abf695eb576c8d456e6f342



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

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+58-12tests/api2/test_tunables.py
+60-7src/middlewared/middlewared/plugins/tunable/utils.py
+37-27src/middlewared/middlewared/plugins/tunable/crud.py
+29-12src/middlewared/middlewared/test/integration/utils/mock_binary.py
+11-3src/middlewared/middlewared/plugins/tunable/__init__.py
+195-615 files

LLVM/project b050410libc/shared rpc_server.h

[libc] Fix return code after rewriting GPU printf support (#190797)

Summary:
This just blindly accumulated the return values without checking if they
were errors. printf returns `-1` on failure and fwrite returns the
number successfully written. Because we split these up we need to handle
that correctly.
DeltaFile
+22-12libc/shared/rpc_server.h
+22-121 files

LLVM/project d630240clang/lib/Driver/ToolChains HIPSPV.cpp, clang/test/Driver hipspv-toolchain.hip

HIPSPV: a fix for Assertion `isFilename() && "Invalid accessor."' failed (#187655)

AFAICT, this assertion failure was introduced by #181870 and #182930.
These PRs introduced linker options that got passed down to
HIPSPV::Linker which wasn't prepared for any non-file inputs.

Fixed by ignoring non-file arguments.
DeltaFile
+7-0clang/test/Driver/hipspv-toolchain.hip
+2-1clang/lib/Driver/ToolChains/HIPSPV.cpp
+9-12 files

LLVM/project 9caead2llvm/lib/Target/AMDGPU AMDGPUAttributor.cpp

AMDGPU: Stop creating attributor attributes for declarations
DeltaFile
+1-1llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+1-11 files

LLVM/project fa8b3f5llvm/lib/Transforms/Vectorize LoopVectorize.cpp LoopVectorizationPlanner.h

[LV] Return best plan directly from selectBestEpiloguePlan (NFC). (#190608)

Change selectEpilogueVectorizationFactor to directly select the best
VPlan and return a clone of it with the VF set to the selected VF.

This this replaces a getPlanFor outside of LVP and makes the interface
more direct and more in line with computeBestVF after
https://github.com/llvm/llvm-project/pull/190385.

PR: https://github.com/llvm/llvm-project/pull/190608
DeltaFile
+42-32llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+6-6llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+48-382 files

LLVM/project e6c0faflldb/source/Plugins/Platform/MacOSX PlatformDarwinKernel.cpp, lldb/source/Plugins/SymbolLocator/DebugSymbols SymbolLocatorDebugSymbols.cpp

[lldb][NFC] Adapt missed call-sites to AsCString changes (#190798)

https://github.com/llvm/llvm-project/pull/190183 made the
`ConstString::AsCString` explicit. This patch adjusts some callsites
which now fail to compile but were missed in that PR.
DeltaFile
+3-3lldb/source/Plugins/SymbolLocator/DebugSymbols/SymbolLocatorDebugSymbols.cpp
+3-2lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+2-2lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
+8-73 files

OpenBSD/ports mYJYMlMsysutils/borgbackup/2.0 Makefile

   borgbackup/2.0: bump after openssl udpate (static link)
VersionDeltaFile
1.56+1-1sysutils/borgbackup/2.0/Makefile
+1-11 files

OpenBSD/ports 3C514KMmail/postfix/stable Makefile

   postfix-stable: bump after openssl update (static link)
VersionDeltaFile
1.281+1-1mail/postfix/stable/Makefile
+1-11 files

OpenBSD/ports M8VvJxksecurity/sslscan Makefile

   sslscan: bump after openssl update (static link)
VersionDeltaFile
1.86+1-0security/sslscan/Makefile
+1-01 files

LLVM/project 5dc3975lldb/unittests/Platform PlatformDarwinTest.cpp

[lldb][test] PlatformDarwinTest: remove redundant usage of TestingProperties (#190799)

This was failing to compile on Windows bots that built without
assertions:
```
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformDarwinTest.cpp
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformDarwinTest.cpp(554,3): error: use of undeclared identifier 'TestingProperties'
  554 |   TestingProperties::GetGlobalTestingProperties().AppendSafeAutoLoadPaths(
      |   ^
1 error generated.
```

We don't need to set the safe-paths in this particular test, so just
remove it.
DeltaFile
+0-2lldb/unittests/Platform/PlatformDarwinTest.cpp
+0-21 files

OpenBSD/ports 8hDc8Z4security/openssl/3.6 distinfo Makefile, security/openssl/3.6/pkg PLIST

   Update to openssl 3.6.2

   CVE-2026-28386 CVE-2026-28387 CVE-2026-28388 CVE-2026-28389 CVE-2026-28390
   CVE-2026-31789 CVE-2026-31790. It's all very boring.
VersionDeltaFile
1.3+2-2security/openssl/3.6/distinfo
1.5+1-2security/openssl/3.6/Makefile
1.3+2-0security/openssl/3.6/pkg/PLIST
+5-43 files

OpenBSD/ports 9RCP8Amsecurity/openssl/3.5 distinfo Makefile, security/openssl/3.5/patches patch-test_tls13groupselection_test_c patch-CHANGES_md

   Update to openssl 3.5.6

   CVE-2026-28386 CVE-2026-28387 CVE-2026-28388 CVE-2026-28389 CVE-2026-28390
   CVE-2026-31789 CVE-2026-31790. It's all very boring.
VersionDeltaFile
1.7+2-2security/openssl/3.5/distinfo
1.16+1-2security/openssl/3.5/Makefile
1.7+2-0security/openssl/3.5/pkg/PLIST
1.2+0-0security/openssl/3.5/patches/patch-test_tls13groupselection_test_c
1.2+0-0security/openssl/3.5/patches/patch-CHANGES_md
1.2+0-0security/openssl/3.5/patches/patch-NEWS_md
+5-42 files not shown
+5-48 files

NetBSD/src g6AkNQ1sys/kern kern_stub.c

   Provide a weak do-nothing for module_init_md().
VersionDeltaFile
1.54+6-2sys/kern/kern_stub.c
+6-21 files

OpenBSD/ports okciv5xmeta/tor-browser Makefile, www/tor-browser Makefile.inc

   Tor Browser: update to 15.0.9
VersionDeltaFile
1.107.2.8+6-6www/tor-browser/browser/distinfo
1.58.2.6+2-2www/tor-browser/noscript/distinfo
1.113.2.8+2-2meta/tor-browser/Makefile
1.65.2.6+1-1www/tor-browser/noscript/Makefile
1.178.2.10+1-1www/tor-browser/browser/Makefile
1.110.2.8+1-1www/tor-browser/Makefile.inc
+13-136 files

LLVM/project 9a1860cclang/docs ReleaseNotes.rst, clang/include/clang/Basic SourceManager.h DiagnosticLexKinds.td

[clang][Lex] add -Wnonportable-include-path-separator (#186770)

Emit an warning when #include paths contain backslashes, with a fixit to
convert them all to '/'. This can help users that build only on Windows
to automatically make their #includes more portable. The warning is off
by default due to being noisy and not always desirable.
DeltaFile
+22-0clang/test/Lexer/backslash-include-win.c
+11-0clang/lib/Lex/PPDirectives.cpp
+9-0clang/include/clang/Basic/SourceManager.h
+6-0clang/docs/ReleaseNotes.rst
+4-1clang/include/clang/Basic/DiagnosticLexKinds.td
+3-0clang/include/clang/Basic/DiagnosticGroups.td
+55-16 files

OpenBSD/ports XkkxpIzmeta/tor-browser Makefile, www/tor-browser Makefile.inc

   Tor Browser: update to 15.0.9
VersionDeltaFile
1.117+6-6www/tor-browser/browser/distinfo
1.123+2-2meta/tor-browser/Makefile
1.67+2-2www/tor-browser/noscript/distinfo
1.196+1-1www/tor-browser/browser/Makefile
1.120+1-1www/tor-browser/Makefile.inc
1.74+1-1www/tor-browser/noscript/Makefile
+13-136 files

FreeBSD/src cff675eusr.bin/netstat netstat.1 main.c

netstat: Add -F support for -g

This change adds the ability to examine the contents of multicast
routing tables for other FIBs without the need for executing
`netstat` with `setfib(1)`.

MFC after:      3 days
Sponsored by:   Klara, Inc.
Sponsored by:   Stormshield
Differential Revision:  https://reviews.freebsd.org/D56205
Reviewed by:    glebius, markj, zlei
DeltaFile
+12-1usr.bin/netstat/netstat.1
+2-0usr.bin/netstat/main.c
+14-12 files

OpenBSD/src PbbS2GMusr.sbin/rpki-client x509.c ccr.c

   Sync - CCR uses an IANA assigned codepoint nowadays

   OK tb@
VersionDeltaFile
1.130+2-2usr.sbin/rpki-client/x509.c
1.34+2-2usr.sbin/rpki-client/ccr.c
+4-42 files

OPNSense/core faa7dabsrc/etc/inc util.inc, src/etc/inc/plugins.inc.d pf.inc

system: audit staticroute' config access for #10027
DeltaFile
+2-3src/etc/inc/util.inc
+1-4src/etc/inc/plugins.inc.d/pf.inc
+1-0src/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php
+0-1src/opnsense/mvc/app/models/OPNsense/Firewall/Alias.php
+4-84 files

NetBSD/pkgsrc hckkoUldoc CHANGES-2026

   doc: Updated net/mikutter to 5.1.1nb8
VersionDeltaFile
1.2135+2-1doc/CHANGES-2026
+2-11 files

LLVM/project c146e9fllvm/lib/Target/WebAssembly WebAssemblyISelLowering.cpp, llvm/test/CodeGen/WebAssembly simd-illegal-bitmask.ll simd-bitmask.ll

[WebAssembly] Fix operand order in performBitcastCombine (#190361)

Fix operand order in performBitcastCombine for wide <N x i1> -> iN
bitmask reconstruction.

In performBitcastCombine, when reconstructing i32/i64 bitmask from
multiple v16i1 SetCC results (for N=32 and N=64 cases), the code
incorrectly built SHL nodes with reversed operands:

SHL(16, ReturningInteger)  // wrong

SelectionDAG::getNode(ISD::SHL, ...) expects operand 0 to be the value
to shift and operand 1 to be the shift amount.

This produced incorrect DAGs like shl Constant<16>, xxx, leading to
wrong codegen for vector bitmask patterns.

Fixed by swapping the operands:


    [6 lines not shown]
DeltaFile
+40-49llvm/test/CodeGen/WebAssembly/simd-illegal-bitmask.ll
+9-16llvm/test/CodeGen/WebAssembly/simd-bitmask.ll
+1-1llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+50-663 files

NetBSD/pkgsrc phF8eGfnet/mikutter Makefile distinfo, net/mikutter/patches patch-mikutter.rb

   mikutter: fix crash on startup when YJIT is not enabled in Ruby

   While here, sync COMMENT with reality.

   Bump PKGREVISION.
VersionDeltaFile
1.13+13-2net/mikutter/patches/patch-mikutter.rb
1.235+3-3net/mikutter/Makefile
1.194+2-2net/mikutter/distinfo
+18-73 files

OPNSense/plugins 8ec5fbdnet/turnserver pkg-descr Makefile, net/turnserver/src/opnsense/mvc/app/controllers/OPNsense/Turnserver/forms settings.xml

Merge pull request #5345 from fraenki/turnserver_120

net/turnserver: release 1.2
DeltaFile
+26-20net/turnserver/src/opnsense/mvc/app/views/OPNsense/Turnserver/index.volt
+8-0net/turnserver/pkg-descr
+8-0net/turnserver/src/opnsense/mvc/app/controllers/OPNsense/Turnserver/forms/settings.xml
+6-0net/turnserver/src/opnsense/mvc/app/models/OPNsense/Turnserver/Turnserver.xml
+5-0net/turnserver/src/opnsense/service/templates/OPNsense/Turnserver/turnserver.conf
+1-1net/turnserver/Makefile
+54-216 files

FreeBSD/ports 65b685agraphics/colmap distinfo Makefile

graphics/colmap: update to 4.0.3

Changelog: https://github.com/colmap/colmap/releases/tag/4.0.3

MFH:            2026Q2
(cherry picked from commit d41060d7833b1755f3afc802b435550d34dfd96f)
DeltaFile
+3-3graphics/colmap/distinfo
+1-1graphics/colmap/Makefile
+4-42 files

FreeBSD/ports d2aaf22sysutils/snapraid distinfo Makefile

sysutils/snapraid: update to 14.1

A regression from 14.0.  Please update.

Changelog: https://github.com/amadvance/snapraid/releases/tag/v14.1

MFH:            2026Q2
(cherry picked from commit 59ff11afd42e4b8990c4948fcde27dc17e47fe4c)
DeltaFile
+3-3sysutils/snapraid/distinfo
+1-1sysutils/snapraid/Makefile
+4-42 files

FreeBSD/ports 52f553adevel/goreleaser distinfo Makefile

devel/goreleaser: update to 2.15.2

Changelog: https://github.com/goreleaser/goreleaser/releases/tag/v2.15.1
Changelog: https://github.com/goreleaser/goreleaser/releases/tag/v2.15.2

MFH:            2026Q2
(cherry picked from commit 9e147283779ed9c136289f415cf1496cfe4e822c)
DeltaFile
+5-5devel/goreleaser/distinfo
+1-1devel/goreleaser/Makefile
+6-62 files

FreeBSD/ports b628393lang/intercal distinfo Makefile

lang/intercal: update to 0.34

Changelog: http://www.catb.org/~esr/intercal/NEWS.html

MFH:            2026Q2
(cherry picked from commit 8fc04f82c170bf25db8765eed07966e479d361c4)
DeltaFile
+3-3lang/intercal/distinfo
+1-1lang/intercal/Makefile
+4-42 files

FreeBSD/ports 4978774mail/rspamd Makefile

mail/rspamd: fix plist on !amd64

Plist token %%HYPERSCAN%% is not substituted if the corresponding
option doesn't exist.  Manually add HYPERSCAN="@comment" when the
option is not defined.

Tested on armv7.  The arm64 build is still broken due to an outdated
bundled simdutf, which should probably be unbundled.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q2

(cherry picked from commit c6b24b28a177f3bb93463f3987372938b104343f)
DeltaFile
+6-0mail/rspamd/Makefile
+6-01 files

FreeBSD/ports d41060dgraphics/colmap distinfo Makefile

graphics/colmap: update to 4.0.3

Changelog: https://github.com/colmap/colmap/releases/tag/4.0.3

MFH:            2026Q2
DeltaFile
+3-3graphics/colmap/distinfo
+1-1graphics/colmap/Makefile
+4-42 files

FreeBSD/ports 8fc04f8lang/intercal distinfo Makefile

lang/intercal: update to 0.34

Changelog: http://www.catb.org/~esr/intercal/NEWS.html

MFH:            2026Q2
DeltaFile
+3-3lang/intercal/distinfo
+1-1lang/intercal/Makefile
+4-42 files