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]
[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.
[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.
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]
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
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.
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]
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
[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]
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)
[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
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.