FreeNAS/freenas d03174csrc/middlewared/middlewared/plugins/directoryservices_ activedirectory_health_mixin.py datastore.py, src/middlewared/middlewared/utils/directoryservices credential.py

Fix ruff errors
DeltaFile
+15-0src/middlewared/middlewared/plugins/directoryservices_/activedirectory_health_mixin.py
+2-2src/middlewared/middlewared/plugins/directoryservices_/datastore.py
+1-1src/middlewared/middlewared/utils/directoryservices/credential.py
+18-33 files

LLVM/project 98a84fcclang/include/clang/Options Options.td, clang/lib/Sema AnalysisBasedWarnings.cpp SemaLifetimeSafety.h

run-lifetime-analysis
DeltaFile
+2-2clang/include/clang/Options/Options.td
+1-2clang/lib/Sema/AnalysisBasedWarnings.cpp
+2-0clang/lib/Sema/SemaLifetimeSafety.h
+5-43 files

LLVM/project 76cdf60llvm/include/llvm/Analysis ValueTracking.h, llvm/lib/Analysis ValueTracking.cpp BasicAliasAnalysis.cpp

[BasicAA] Don't look through llvm.ptrmask in GEP decomposition (#197082)

DecomposeGEPExpression() looked through llvm.ptrmask via
getArgumentAliasingToReturnedPointer(Call, MustPreserveNullness=false).
ptrmask preserves the underlying object but can change the byte address
by clearing low bits, so treating its result as having the same symbolic
offset as its argument produces stale offsets and bogus NoAlias answers.
The bug was introduced by 3f2850bc606c847075673554fe49d4a35f525b61.
    
Rename MustPreserveNullness to MustPreserveOffset, the property
DecomposeGEPExpression actually needs. Offset preservation is strictly
stronger than nullness preservation, so existing callers remain correct
and the accepted intrinsic set is unchanged (ptrmask stays excluded).
switch DecomposeGEPExpression to pass MustPreserveOffset=true. Every
call site is now tagged with MustPreserveOffset=.
DeltaFile
+16-14llvm/lib/Analysis/ValueTracking.cpp
+25-0llvm/test/Analysis/BasicAA/ptrmask-gep-decomposition.ll
+12-8llvm/include/llvm/Analysis/ValueTracking.h
+3-3llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+5-1llvm/lib/Analysis/BasicAliasAnalysis.cpp
+2-1llvm/lib/Analysis/CaptureTracking.cpp
+63-273 files not shown
+68-309 files

FreeBSD/ports f528fa4net-mgmt/telegraf distinfo Makefile

net-mgmt/telegraf: Update to 1.38.4

Release notes:  https://github.com/influxdata/telegraf/releases/tag/v1.38.4
DeltaFile
+5-5net-mgmt/telegraf/distinfo
+2-3net-mgmt/telegraf/Makefile
+7-82 files

FreeBSD/ports cdcad88security/vuls distinfo Makefile

security/vuls: Update to 0.39.0

Release notes:  https://github.com/future-architect/vuls/releases/tag/v0.39.0
DeltaFile
+5-5security/vuls/distinfo
+1-2security/vuls/Makefile
+6-72 files

LLVM/project 25507b6llvm/include/llvm/BinaryFormat ELF.h, llvm/lib/ObjectYAML ELFYAML.cpp

[Hexagon] Define Hexagon v93 ELF flags (#196643)
DeltaFile
+19-0llvm/test/tools/obj2yaml/ELF/hexagon-eflags.yaml
+2-0llvm/include/llvm/BinaryFormat/ELF.h
+2-0llvm/lib/ObjectYAML/ELFYAML.cpp
+23-03 files

LLVM/project 8897e28clang/include/clang/Options Options.td, clang/lib/Sema AnalysisBasedWarnings.cpp SemaLifetimeSafety.h

run-lifetime-analysis
DeltaFile
+2-2clang/include/clang/Options/Options.td
+1-1clang/lib/Sema/AnalysisBasedWarnings.cpp
+2-0clang/lib/Sema/SemaLifetimeSafety.h
+5-33 files

FreeBSD/ports b2054absysutils/kopia distinfo Makefile

sysutils/kopia: Update to 0.23.0

ChangeLog:      https://github.com/kopia/kopia/releases/tag/v0.23.0
MFH:            2026Q2
DeltaFile
+5-5sysutils/kopia/distinfo
+1-2sysutils/kopia/Makefile
+6-72 files

LLVM/project 8bddd0fllvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AArch64 neon-dotreduce.ll

[DAG] visitBITCAST - fold (conv (scalar_to_vector(load x))) -> (load (conv*)x) (#196978)

Legalization can leave superfluous scalar_to_vector nodes with the
scalar bitwidth matching the vector bitwidth - peek through these when
attempting to bitcast folds

Only one match in trunk at the moment, but there are some additional
folds encountered in #149798
DeltaFile
+5-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+1-2llvm/test/CodeGen/AArch64/neon-dotreduce.ll
+6-22 files

LLVM/project a83cfdalldb/include/lldb/Expression LLVMUserExpression.h, lldb/source/Plugins/ExpressionParser/Clang ClangUserExpression.cpp ClangUserExpression.h

[LLDB] Simplify the API of ClangUserExpression::ScanContext [NFC] (#197037)

- this function is a virtual function, but it is called by the leaf
class ClangUserExpression

- it also returns a Status only to then report any error as a warning

This patch devirtualizes the function, since there is use-case for
overloading it in other expression evaluator plugins, and it cleans up
the Status usage by passing in DiagnosticManager directly, like its
sibling functions do.
DeltaFile
+35-27lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
+2-2lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h
+0-3lldb/include/lldb/Expression/LLVMUserExpression.h
+37-323 files

LLVM/project 350536ellvm/test/CodeGen/X86 vector-reduce-fminimum.ll

[X86] add llvm.vector.reduce.fminimum test coverage (#197210)
DeltaFile
+1,252-0llvm/test/CodeGen/X86/vector-reduce-fminimum.ll
+1,252-01 files

LLVM/project f48026bllvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp

[DAG] canCreateUndefOrPoison - fmaxnum/fminnum/fmaximum/fminimum/fmaximumnum/fminimumnum don't create poison (#197195)

Test coverage is proving tricky due to lack of folds that work with these - I'm open to suggestions if we don't want to just eyeball this.
DeltaFile
+8-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+8-01 files

FreeBSD/ports f8b7c76math/octave-forge-femoctave Makefile, math/octave-forge-femoctave/files patch-DESCRIPTION

math/octave-forge-femoctave: Fix version number in DESCRIPTION.

- ${WRKSRC}/DESCRIPTION patched to correct version.
- Bump portrevision.
DeltaFile
+1-1math/octave-forge-femoctave/files/patch-DESCRIPTION
+1-0math/octave-forge-femoctave/Makefile
+2-12 files

FreeBSD/ports 0451609math/octave-forge-statistics Makefile

math/octave-forge-statistics: Add missing dependency.

- Add math/octave-forge-datatypes to RUN_DEPENDS.
- Bump portrevision.

PR:             295190
Reported by:    yuri at freebsd.org
DeltaFile
+3-0math/octave-forge-statistics/Makefile
+3-01 files

LLVM/project 5977cb5clang-tools-extra/clangd Selection.cpp, clang-tools-extra/clangd/unittests SelectionTests.cpp

[clangd] Avoid crash on pseudo-destructor selection (#195939)

clangd crashes during textDocument/codeAction on valid pseudo-destructor
expressions like y->~decltype(A())(). The bug is in
Selection.cpp::earlySourceRange(), which assumes destructor names always
have NamedTypeInfo. The fix is adding null checks before calling
getTypeLoc().

Fixes #195788.
DeltaFile
+18-0clang-tools-extra/clangd/unittests/SelectionTests.cpp
+10-4clang-tools-extra/clangd/Selection.cpp
+28-42 files

LLVM/project 297e3e9llvm/test/CodeGen/X86 avx512-intrinsics-fast-isel.ll

[X86] avx512-intrinsics-fast-isel.ll - add nounwind to remove cfi noise (#197207)
DeltaFile
+407-471llvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
+407-4711 files

LLVM/project 4bce216llvm/test/tools/llvm-objdump lit.local.cfg, llvm/test/tools/llvm-objdump/wasm line-numbers.s

SymbolizableObjectFile: Fix Wasm test to avoid layering violation (#193574)

Tests for LLVM libraries should not require wasm-ld. It's not necessary
in this case to generate the binary at test time, so instead check in a
YAMLized pre-linked binary.
DeltaFile
+72-0llvm/test/tools/llvm-objdump/wasm/Inputs/line-numbers.yaml
+21-18llvm/test/tools/llvm-objdump/wasm/line-numbers.s
+0-4llvm/test/tools/llvm-objdump/lit.local.cfg
+93-223 files

LLVM/project 45fc52bllvm/utils/FileCheck FileCheck.cpp

Run clang-format
DeltaFile
+1-1llvm/utils/FileCheck/FileCheck.cpp
+1-11 files

OpenZFS/src 59e10e7lib/libzfs libzfs_pool.c

libzfs_pool: document export and initialize functions

Add brief docstrings to zpool_export(), zpool_export_force(),
zpool_initialize() and zpool_initialize_wait().

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes #18514
DeltaFile
+16-0lib/libzfs/libzfs_pool.c
+16-01 files

OpenZFS/src eaaea55tests/zfs-tests/tests/functional/send_xdr_encoding xdr_resume_bookmark_raw_with_write.ksh xdr_bookmark_raw_with_write.ksh

Consistently encode DRR_BEGIN packed nvlist payloads with NV_ENCODE_XDR

Currently, zfs send generates a mix of nvlist encodings in DRR_BEGIN
records, some XDR and some in native byte order. The result is that
most streams currently can't be zfs received on opposite-endian systems.

zfs send generates the outer wrappers for compound streams in userspace,
and it explicitly requests NV_ENCODE_XDR format for those records. But
the BEGIN records for individual datasets are generated on the kernel
side, in dmu_send.c, where fnvlist_pack() is used for encoding. That
routine hard-wires NV_ENCODE_NATIVE format.

This PR replaces the fnvlist_pack() call with a direct call to
nvlist_pack() that specifies NV_ENCODE_XDR.

Tests are included to verify that native-encoded nvlists are not
generated by any kernel path that attaches nvlists to BEGIN records.
There's also a check for XDR encoding in the outer wrapper of
replication streams in case there is ever a regression there.

    [15 lines not shown]
DeltaFile
+116-0tests/zfs-tests/tests/functional/send_xdr_encoding/xdr_resume_bookmark_raw_with_write.ksh
+107-0tests/zfs-tests/tests/functional/send_xdr_encoding/xdr_bookmark_raw_with_write.ksh
+103-0tests/zfs-tests/tests/functional/send_xdr_encoding/xdr_resume_bookmark_raw.ksh
+97-0tests/zfs-tests/tests/functional/send_xdr_encoding/xdr_redacted_received_raw.ksh
+96-0tests/zfs-tests/tests/functional/send_xdr_encoding/xdr_incr_from_redacted.ksh
+93-0tests/zfs-tests/tests/functional/send_xdr_encoding/xdr_bookmark_raw.ksh
+612-017 files not shown
+1,481-223 files

FreeNAS/freenas a1161b9src/freenas/usr/local/bin truenas-autotune.py, src/middlewared/middlewared/plugins/enclosure_ enclosure_class.py

NAS-140975 / 27.0.0-BETA.1 / use truenas_pydmi module (#18937)

The old module was fork+exec'ing to `dmidecode` and parsing the text
(with fragility) output. The new module reads the DMI information
straight from sysfs which the kernel provides for us. Furthermore, the
other module has GitHub CI tests to catch any obvious regressions and
the ability to add more DMI fixtures so testing can be done when we do
run across the inevitable BIOS version that doesn't conform exactly to
industry standards. Tests come back clean.
DeltaFile
+25-0src/middlewared/middlewared/utils/chassis.py
+7-6src/middlewared/middlewared/plugins/failover_/detect_utils.py
+5-5src/middlewared/middlewared/plugins/enclosure_/enclosure_class.py
+1-8src/middlewared/middlewared/plugins/truenas/tn.py
+2-3src/freenas/usr/local/bin/truenas-autotune.py
+1-3src/middlewared/middlewared/plugins/truenas/__init__.py
+41-256 files not shown
+50-3512 files

OpenZFS/src 00a941einclude/sys zap_impl.h, module/zfs zap_impl.c

zap: internal interface cleanup

Similar to previous, though a much lighter touch because these are not
"public" interfaces.

- reorganising functions into groups, by rough function class.
- matching header order to source order, to make it a little easier to
  find things.
- adding light documentation to functions that had none.

Note that I've not added any documentation for the mzap_* and fzap_*
functions, as part of this commit series is laying the groundwork to
hide those functions in their backend modules; such documentation would
become obsolete very quickly.

No actual code changes.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>

    [4 lines not shown]
DeltaFile
+263-256module/zfs/zap_impl.c
+62-15include/sys/zap_impl.h
+325-2712 files

OpenZFS/src bb304d3include/sys zap.h, module/zfs zap.c

zap: public interface cleanup

- reorganising functions into groups, collections of the variants of the
  same function.
- matching header order to source order, to make it a little easier to
  find things.
- moving per-function documentation from source to header.
- adding light documentation to functions that had none.

No actual code changes.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Akash B <akash-b at hpe.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18516
DeltaFile
+126-97module/zfs/zap.c
+123-70include/sys/zap.h
+249-1672 files

OpenZFS/src 8ff6400include/sys zap_impl.h, module Makefile.bsd

zap: split implementation out into more files

The ZAP code is mixed up across a few files without clear separation of
concerns. This splits it out from three source files to five:

- zap.c: the bulk of the "public" interface
- zap_impl.c: internals shared across all backends
- zap_micro.c: microzap backend
- zap_fat.c: fatzap backend: core logic
- zap_leaf.c: fatzap backend: leaf blocks

Note that this doesn't not change any code, just moves functions around.
Also note that right now the microzap and fatzap backends know more
about each other than is healthy. This change is simply marking out
where different things should live in the end, to make it easier for
that refactoring work to begin.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>

    [4 lines not shown]
DeltaFile
+1,071-1,440module/zfs/zap.c
+6-1,596module/zfs/zap_micro.c
+1,502-0module/zfs/zap_fat.c
+527-0module/zfs/zap_impl.c
+22-1include/sys/zap_impl.h
+3-1module/Makefile.bsd
+3,131-3,0382 files not shown
+3,135-3,0388 files

LLVM/project 785e3c0llvm/include/llvm/Transforms/Scalar GVN.h, llvm/lib/Transforms/Scalar GVN.cpp

[GVN][NVPTX] Rename PRE flag to ScalarPRE, disable option in NVPTX (#190386)

Scalar PRE in GVN may cause performance issues in the NVPTX backend
by increasing register pressure. This PR renames the enable-pre flag to
enable-scalar-pre and updates its usage to cover an additional case of
scalar PRE being performed. The newly renamed option is also used to
disable scalar PRE for NVPTX.
DeltaFile
+96-0llvm/test/CodeGen/NVPTX/gvn-scalar-pre-reg-pressure.ll
+61-0llvm/test/Transforms/GVN/PRE/no-scalar-pre.ll
+24-15llvm/lib/Transforms/Scalar/GVN.cpp
+6-5llvm/include/llvm/Transforms/Scalar/GVN.h
+3-3llvm/test/Transforms/GVN/PRE/pre-basic-add.ll
+2-2llvm/test/Other/new-pm-print-pipeline.ll
+192-259 files not shown
+208-4015 files

FreeNAS/freenas 5b64085src/middlewared/middlewared/plugins/directoryservices_ activedirectory_health_mixin.py, tests/unit test_activedirectory_health.py test_directoryservices_reset.py

Active Directory: fix rejoin, harden reset/recover, improve diagnostics

SAF cache stores {host, ip} dict (host captured via a fresh CLDAP ping to
the chosen kdc_server IP, so the pair authoritatively identifies one DC).
_saf_kdc_name uses the cached host directly, avoiding RDNS in samba's
--server flag and the krb5.conf kdc= override. activate_standby accepts
both the legacy single-string IP and the new dict form for HA mixed-version
upgrades.

_health_check_ad runs _test_machine_account_password only as a refinement
of a failing WBClient.ping_dc(). No krb5.conf churn on healthy systems;
AD_SECRET_INVALID fires only when ping_dc has already failed AND the
password test confirms a credential mismatch (PREAUTH_FAILED). The temp
krb5.conf the test writes now mirrors the system config (rdns=false,
dns_canonicalize_hostname=false, NAS-138687) and is restored via a finally
block so KRB5Error doesn't leave the system config polluted.

_recover_secrets typo fix: KRB5_PREAUTH_FAILED -> KRB5KDC_ERR_PREAUTH_FAILED.
The wrong constant meant the credential-mismatch arm was previously

    [18 lines not shown]
DeltaFile
+624-0tests/unit/test_activedirectory_health.py
+309-0tests/unit/test_directoryservices_reset.py
+200-0tests/unit/test_activedirectory_join.py
+123-51src/middlewared/middlewared/plugins/directoryservices_/activedirectory_health_mixin.py
+105-0tests/unit/test_directoryservices_secrets.py
+97-0tests/unit/test_krb5.py
+1,458-517 files not shown
+1,706-7913 files

LLVM/project 9c4ff6ecompiler-rt/test/asan/TestCases/Posix multiple_sigaltstack.cpp

[ASan][Darwin] Make multiple_sigaltstack.cpp test use MINSIGSTKSZ (#197204)
DeltaFile
+4-0compiler-rt/test/asan/TestCases/Posix/multiple_sigaltstack.cpp
+4-01 files

LLVM/project 015bb78llvm/lib/Transforms/Vectorize VPlanPatternMatch.h

[NFC][LLVM][VPlan] Fix "parameter ‘P’ set but not used" warning. (#197194)

For Is... = {} the fold expression short-circuits to true and does not
evaluate P.
DeltaFile
+2-1llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
+2-11 files

OpenBSD/ports Itvcj8psysutils/kopia distinfo modules.inc

   update to v0.23.0

   Changelog :  https://github.com/kopia/kopia/releases/tag/v0.23.0
VersionDeltaFile
1.31+910-930sysutils/kopia/distinfo
1.29+452-450sysutils/kopia/modules.inc
1.32+1-1sysutils/kopia/Makefile
+1,363-1,3813 files

LLVM/project c388be4llvm/utils/FileCheck FileCheck.cpp

Add unused inits; remove unused constructor
DeltaFile
+3-2llvm/utils/FileCheck/FileCheck.cpp
+3-21 files