FreeNAS/freenas 4794df0src/middlewared/middlewared/plugins/account_ constants.py, src/middlewared/middlewared/utils privilege_constants.py

NAS-139060 / 25.10.2 / Eliminate some duplication gid definitions. (by mgrimesix) (#17895)

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

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

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 f40ae0ef0a6a1314d04e23e251fdebee3299dafa

We want to avoid duplicated definitions.  
This PR expands the LocalAdminGroups enum class to cover the GIDS
specified in ALLOWED_BUILTIN_GIDS.

Backport is requested to avoid using hardcoded GIDs in some in-progress
work that will be backports.

    [3 lines not shown]
DeltaFile
+9-6src/middlewared/middlewared/plugins/account_/constants.py
+7-0src/middlewared/middlewared/utils/privilege_constants.py
+16-62 files

FreeNAS/freenas e17e2e3src/middlewared/middlewared/plugins truesearch.py, src/middlewared/middlewared/pytest/unit/plugins test_truesearch.py

NAS-138961 / 26.04 / Fix truesearch crash when legacy mountpoints are present (#17874)

DeltaFile
+30-0src/middlewared/middlewared/pytest/unit/plugins/test_truesearch.py
+6-5src/middlewared/middlewared/plugins/truesearch.py
+36-52 files

FreeNAS/freenas ba4135bsrc/middlewared/middlewared event.py

NAS-139021 / 25.10.2 / Prevent reporting.realtime event being automatically unsubscribed (by themylogin) (#17896)

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

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+10-1src/middlewared/middlewared/event.py
+10-11 files

FreeNAS/freenas 3fda4ebsrc/middlewared/middlewared event.py

NAS-139021 / 26.04 / Prevent reporting.realtime event being automatically unsubscribed (#17876)

DeltaFile
+10-1src/middlewared/middlewared/event.py
+10-11 files

LLVM/project e2956felibc/cmake/modules LLVMLibCCompileOptionRules.cmake, libc/config config.json

[libc][math] Add LIBC_CONF_MATH_USE_SYSTEM_FENV / LIBC_MATH_USE_SYSTEM_FENV (#172902)

This is to allow math function implementations to use system libc's
fenv.h instead of internal fenv implementations.
DeltaFile
+47-0libc/src/__support/FPUtil/FEnvImpl.h
+8-0libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
+5-1libc/config/config.json
+5-0libc/shared/libc_common.h
+4-0libc/test/UnitTest/FEnvSafeTest.cpp
+2-1libc/docs/configure.rst
+71-235 files not shown
+141-241 files

LLVM/project 55b9b60llvm/lib/Support/rpmalloc rpmalloc.c, llvm/test/CodeGen/AArch64 atomic-ops-lse.ll

Rebased to include PAuth+Memtag composition

Created using spr 1.3.5
DeltaFile
+10,680-0llvm/test/tools/llvm-mca/AArch64/Olympus/sve-instructions.s
+7,585-2,403llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
+4,040-3,996llvm/lib/Support/rpmalloc/rpmalloc.c
+4,532-3,195llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+6,871-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-load.ll
+5,963-0llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+39,671-9,5945,441 files not shown
+301,623-121,7355,447 files

LLVM/project 5d3f664llvm/lib/Support/rpmalloc rpmalloc.c, llvm/test/CodeGen/AArch64 atomic-ops-lse.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+10,680-0llvm/test/tools/llvm-mca/AArch64/Olympus/sve-instructions.s
+7,585-2,403llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
+4,040-3,996llvm/lib/Support/rpmalloc/rpmalloc.c
+4,532-3,195llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+6,871-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-load.ll
+5,963-0llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+39,671-9,5945,441 files not shown
+301,633-121,7395,447 files

LLVM/project c6d0f79lld/ELF Relocations.cpp SyntheticSections.h, lld/test/ELF aarch64-pauth-rela-iplt-end.s

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.5

[skip ci]
DeltaFile
+22-25lld/ELF/Relocations.cpp
+34-5lld/ELF/SyntheticSections.h
+20-0lld/test/ELF/aarch64-pauth-rela-iplt-end.s
+3-14lld/ELF/Writer.cpp
+5-1lld/ELF/SyntheticSections.cpp
+84-455 files

LLVM/project 7386228lld/ELF Relocations.cpp SyntheticSections.h, lld/test/ELF aarch64-memtag-pauth-globals.s aarch64-memtag-pauth-globals-out-of-range.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.5
DeltaFile
+28-26lld/ELF/Relocations.cpp
+34-5lld/ELF/SyntheticSections.h
+27-0lld/test/ELF/aarch64-memtag-pauth-globals.s
+24-0lld/test/ELF/aarch64-memtag-pauth-globals-out-of-range.s
+20-0lld/test/ELF/aarch64-pauth-rela-iplt-end.s
+3-14lld/ELF/Writer.cpp
+136-451 files not shown
+141-467 files

LLVM/project f60eec5llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/VectorCombine/X86 permute-of-binops.ll

[VectorCombine] foldPermuteOfBinops  - support multi-use binary ops and operands in shuffle folding (#173153)

Fixes #173033 

This patch extends VectorCombine to fold binary operations through
shuffles in scenarios involving multiple uses of both the binary
operator and its operands.

Previously, the transformation was restricted to single-use cases to
prevent instruction duplication. This change implements a cost-based
evaluation that allows the fold even when:
1. The binary operator has multiple users (requiring duplication of the
arithmetic instruction).
2. The operands of the binary operator (the shuffles) have multiple
users (requiring the original shuffles to be preserved).

The optimization is performed if the TTI cost of the new instruction
sequence—including any duplicated arithmetic—is lower than the cost of
the shuffle sequence it replaces. This is particularly beneficial on X86
targets for expensive cross-lane shuffles.
DeltaFile
+28-18llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+36-1llvm/test/Transforms/VectorCombine/X86/permute-of-binops.ll
+64-192 files

FreeNAS/freenas f8123c7src/middlewared/middlewared/plugins smb.py directoryservices.py, src/middlewared/middlewared/plugins/smb_ constants.py util_smbconf.py

Improve handling of SMB paths for HA systems

This commit shifts the majority of SMB-related paths that aren't
required for SMB session persistence to the boot pool. This
enables the standby controller to more readily be prepared to take
over sessions because we have to resync fewer items on failover
and don't have to replace winbindd / sssd state and flush caches.

Semi-persistent (new on upgrade):
---------------------------------
/var/lib/truenas-samba: samba state dir
* winbindd_idmap.tdb (winbindd-generated automatic mappings of
  dynamic accounts -- this is managed by middlewared)
* account_policy.tdb (STIG-related SMB server account configuration
  setting expiry details)
* share_info.tdb (SMB share ACLs -- this is managed by middlewared)
* group_mapping.tdb (mappings of local groups to samba SIDs and
  NT groups -- managed by middlewared)


    [30 lines not shown]
DeltaFile
+0-57src/middlewared/middlewared/plugins/smb.py
+12-21src/middlewared/middlewared/plugins/directoryservices.py
+6-6src/middlewared/middlewared/plugins/smb_/constants.py
+5-5tests/api2/test_430_smb_sharesec.py
+5-5src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+1-4src/middlewared/middlewared/plugins/system_dataset/hierarchy.py
+29-986 files not shown
+37-10712 files

Linux/linux b927546drivers/parisc sba_iommu.c

Merge tag 'dma-mapping-6.19-2025-12-22' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux

Pull dma-mapping fix from Marek Szyprowski:

 - fix boot failure of parisc systems after recent rework of the DMA API
   infrastructure (Leon Romanovsky)

* tag 'dma-mapping-6.19-2025-12-22' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux:
  parisc: Set valid bit in high byte of 64‑bit physical address
DeltaFile
+2-2drivers/parisc/sba_iommu.c
+2-21 files

ELF Tool Chain/elftoolchain 4319trunk/libelf elf_getversion.3

elf_getversion.3: Remove redundant text.
DeltaFile
+2-24trunk/libelf/elf_getversion.3
+2-241 files

LLVM/project b785c99llvm/lib/CodeGen GlobalMerge.cpp, llvm/test/CodeGen/AArch64 global-merge-profile-sections.ll

Avoid merging globals residing in different comdats (#172835)

The global-merge pass may merge globals residing in different comdat
groups, which may later confuse linker if section GC is being used. In
particular this may happen when merging instrumentation profiler
counters when their corresponding __llvm_prf_cnts sections are being
merged into a single one and moved out of a comdat group, containing
__llvm_prf_cnts and __llvm_prf_data sections. After that __llvm_prf_data
section is becoming orphaned and is garbage-collected when --gc-sections
linker flag is used.
DeltaFile
+9-7llvm/lib/CodeGen/GlobalMerge.cpp
+11-0llvm/test/CodeGen/AArch64/global-merge-profile-sections.ll
+7-0llvm/test/Transforms/GlobalMerge/global-merge-comdat.ll
+27-73 files

NetBSD/src yvO2Kmudistrib/sets/lists/base mi, distrib/sets/lists/debug mi

   Add cnwctl and wiwctl to the MKWLAN conditional.
VersionDeltaFile
1.1817+5-5distrib/sets/lists/man/mi
1.298+4-4usr.sbin/Makefile
1.1376+3-3distrib/sets/lists/base/mi
1.497+3-3distrib/sets/lists/debug/mi
1.37+2-2distrib/sets/lists/manhtml/mi
+17-175 files

FreeNAS/freenas 1644dc3src/middlewared/middlewared/plugins smb.py directoryservices.py, src/middlewared/middlewared/plugins/smb_ constants.py util_smbconf.py

Improve handling of SMB paths for HA systems

This commit shifts the majority of SMB-related paths that aren't
required for SMB session persistence to the boot pool. This
enables the standby controller to more readily be prepared to take
over sessions because we have to resync fewer items on failover
and don't have to replace winbindd / sssd state and flush caches.

Semi-persistent (new on upgrade):
---------------------------------
/var/lib/truenas-samba: samba state dir
* winbindd_idmap.tdb (winbindd-generated automatic mappings of
  dynamic accounts -- this is managed by middlewared)
* account_policy.tdb (STIG-related SMB server account configuration
  setting expiry details)
* share_info.tdb (SMB share ACLs -- this is managed by middlewared)
* group_mapping.tdb (mappings of local groups to samba SIDs and
  NT groups -- managed by middlewared)


    [30 lines not shown]
DeltaFile
+0-25src/middlewared/middlewared/plugins/smb.py
+12-7src/middlewared/middlewared/plugins/directoryservices.py
+6-6src/middlewared/middlewared/plugins/smb_/constants.py
+5-5src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+5-5tests/api2/test_430_smb_sharesec.py
+1-4src/middlewared/middlewared/plugins/system_dataset/hierarchy.py
+29-525 files not shown
+36-6011 files

FreeBSD/src f51e9d0tests/sys/fs/fusefs mockfs.cc

fusefs: Fix further intermittency in the BadServer.ShortWrite test case

After being unmounted, the mockfs server would occasionally read from
/dev/fuse again, if the main function didn't exit fast enough, getting
an ENODEV error.  Handle that appropriately.

Reported by:    Siva Mahadevan <me at svmhdvn.name>
Fixes:          d86025c1d49c84c4dc8c3635c83c078ad56e5a53
MFC after:      1 week
Reviewed by:    Siva Mahadevan <me at svmhdvn.name>
Differential Revision: https://reviews.freebsd.org/D54331
DeltaFile
+5-1tests/sys/fs/fusefs/mockfs.cc
+5-11 files

FreeNAS/freenas 08e7d86src/middlewared/middlewared/plugins/smb_ constants.py, tests/api2 test_430_smb_sharesec.py

Fix
DeltaFile
+5-5tests/api2/test_430_smb_sharesec.py
+2-2tests/unit/test_groupmap.py
+2-2src/middlewared/middlewared/plugins/smb_/constants.py
+1-1tests/directory_services/test_activedirectory_basic.py
+10-104 files

LLVM/project bbd60c0clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeStats.h LifetimeSafety.h, clang/include/clang/Sema AnalysisBasedWarnings.h

[LifetimeSafety] Add missing origins stats for lifetime analysis  (#166568)

This PR adds the implementation for printing missing origin stats for
lifetime analysis.

**Purpose:**

This capability is added to track the expression types with missing
origin. While retrieving the origins from origin manager, some
expressions show missing origins. Currently these are created on the fly
using getOrCreate function. For analysing the coverage of the check, it
will be necessary to see what kind of expressions have a missing origin.
It prints the counts in this form: `QualType : count` and `StmtClassName
: count`.

**Approach:**

1. The signature of the runLifetimeAnalysis function is changed to
return the LifetimeAnalysis object which will be used to get the origin

    [21 lines not shown]
DeltaFile
+38-0clang/lib/Analysis/LifetimeSafety/LifetimeStats.cpp
+38-0clang/lib/Analysis/LifetimeSafety/Origins.cpp
+36-0clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeStats.h
+14-1clang/lib/Analysis/LifetimeSafety/LifetimeSafety.cpp
+8-1clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+6-2clang/include/clang/Sema/AnalysisBasedWarnings.h
+140-44 files not shown
+154-510 files

LLVM/project a0901f0clang/include/clang/Frontend CompilerInstance.h, clang/lib/CodeGen BackendUtil.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.5-bogner
DeltaFile
+3-10clang/lib/CodeGen/BackendUtil.cpp
+12-0clang/include/clang/Frontend/CompilerInstance.h
+11-0clang/lib/Frontend/CompilerInstance.cpp
+10-0clang/test/CodeGen/pass-plugins.c
+7-1clang/test/CMakeLists.txt
+2-0clang/test/lit.cfg.py
+45-112 files not shown
+47-118 files

FreeNAS/freenas 3d50e85src/middlewared/middlewared/plugins/account_ constants.py, src/middlewared/middlewared/utils privilege_constants.py

NAS-139060 / 26.04 / Eliminate some duplication gid definitions. (#17894)

We want to avoid duplicated definitions.
This PR expands the LocalAdminGroups enum class to cover the GIDS
specified in ALLOWED_BUILTIN_GIDS.

Backport is requested to avoid using hardcoded GIDs in some in-progress
work that will be backports.

(cherry picked from commit f40ae0ef0a6a1314d04e23e251fdebee3299dafa)
DeltaFile
+9-6src/middlewared/middlewared/plugins/account_/constants.py
+7-0src/middlewared/middlewared/utils/privilege_constants.py
+16-62 files

LLVM/project f54df0dllvm/include/llvm/Passes PassPlugin.h, llvm/include/llvm/Plugins PassPlugin.h

[LLVM][NFC] Move PassPlugin from Passes to separate library

This avoid pulling in the entire Passes library with all passes as
dependencies when just referring to PassPlugin, which is in fact
independent of the Passes themselves.

Pull Request: https://github.com/llvm/llvm-project/pull/173279
DeltaFile
+0-142llvm/include/llvm/Passes/PassPlugin.h
+142-0llvm/include/llvm/Plugins/PassPlugin.h
+49-0llvm/lib/Plugins/PassPlugin.cpp
+0-49llvm/lib/Passes/PassPlugin.cpp
+6-0llvm/lib/Plugins/CMakeLists.txt
+1-1llvm/unittests/Analysis/InlineOrderPlugin/InlineOrderPlugin.cpp
+198-19233 files not shown
+230-21439 files

FreeNAS/freenas 90b1f58

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas f40ae0esrc/middlewared/middlewared/plugins/account_ constants.py, src/middlewared/middlewared/utils privilege_constants.py

NAS-139060 / 26.04 / Eliminate some duplication gid definitions. (#17894)

We want to avoid duplicated definitions.  
This PR expands the LocalAdminGroups enum class to cover the GIDS
specified in ALLOWED_BUILTIN_GIDS.

Backport is requested to avoid using hardcoded GIDs in some in-progress
work that will be backports.
DeltaFile
+9-7src/middlewared/middlewared/plugins/account_/constants.py
+7-0src/middlewared/middlewared/utils/privilege_constants.py
+16-72 files

LLVM/project b65b957lld/ELF SyntheticSections.h, lld/test/ELF aarch64-pauth-rela-iplt-end.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.5
DeltaFile
+20-0lld/test/ELF/aarch64-pauth-rela-iplt-end.s
+6-1lld/ELF/SyntheticSections.h
+26-12 files

LLVM/project c471badllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp AMDGPURegBankLegalizeHelper.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel fma.ll fmad.ll

[AMDGPU][GlobalISel] Add RegBankLegalize support for G_FMAD, G_FMA (#172941)

DeltaFile
+714-6llvm/test/CodeGen/AMDGPU/GlobalISel/fma.ll
+95-0llvm/test/CodeGen/AMDGPU/GlobalISel/fmad.ll
+43-32llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-mul.ll
+28-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+20-6llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+8-8llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-mul.ll
+908-5210 files not shown
+942-9216 files

NetBSD/src Q3qkwNrdistrib/sets/lists/debug mi

   Honor MKAUDIO, MKBLUETOOTH, MKWLAN
VersionDeltaFile
1.496+33-33distrib/sets/lists/debug/mi
+33-331 files

LLVM/project 589b105llvm/lib/Support/rpmalloc rpmalloc.c, llvm/test/CodeGen/AArch64 atomic-ops-lse.ll

Rebase

Created using spr 1.3.5
DeltaFile
+10,680-0llvm/test/tools/llvm-mca/AArch64/Olympus/sve-instructions.s
+7,585-2,403llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
+4,040-3,996llvm/lib/Support/rpmalloc/rpmalloc.c
+4,532-3,195llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+6,871-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-load.ll
+5,963-0llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+39,671-9,5945,432 files not shown
+301,528-121,6915,438 files

LLVM/project c0d7a62llvm/lib/Support/rpmalloc rpmalloc.c, llvm/test/CodeGen/AArch64 atomic-ops-lse.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+10,680-0llvm/test/tools/llvm-mca/AArch64/Olympus/sve-instructions.s
+7,585-2,403llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
+4,040-3,996llvm/lib/Support/rpmalloc/rpmalloc.c
+4,532-3,195llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+6,871-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-load.ll
+5,963-0llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+39,671-9,5945,432 files not shown
+301,528-121,6915,438 files

LLVM/project 078ec5dmlir/include/mlir/Analysis DataFlowFramework.h

[mlir][dataflow] Use member initializer list in ProgramPoint class's constructor (NFC) (#173281)

DeltaFile
+3-5mlir/include/mlir/Analysis/DataFlowFramework.h
+3-51 files