LLVM/project 10de023clang-tools-extra/clang-tidy/bugprone BadSignalToKillThreadCheck.cpp

Fix `clang-tidy` identifier case warning
DeltaFile
+3-3clang-tools-extra/clang-tidy/bugprone/BadSignalToKillThreadCheck.cpp
+3-31 files

FreeNAS/freenas 86f1cfcsrc/middlewared/middlewared/plugins/container dataset.py lifecycle.py, src/middlewared/middlewared/utils/filesystem perms.py

Restrict on-disk perms of internal container/apps dataset roots

The internal dataset trees that back containers
(/mnt/.truenas_containers/), Docker apps (/mnt/.ix-apps/), and the
per-container idmapped bind-mount parent (/run/truenas_containers/root/)
are implementation-detail paths that aren't intended to be inspected
directly by host users. They currently mount with the default of
drwxr-xr-x root:root (or 0755 from os.makedirs for the /run parent),
which is looser than necessary.

This PR pins those three directories to 0700 root:root and re-applies
the mode at the relevant entry points so the property is idempotent
across reboots and manual chmod drift.
DeltaFile
+95-0tests/unit/test_filesystem_perms.py
+58-0tests/api2/test_container.py
+51-0src/middlewared/middlewared/utils/filesystem/perms.py
+41-1tests/api2/test_apps.py
+18-3src/middlewared/middlewared/plugins/container/dataset.py
+6-0src/middlewared/middlewared/plugins/container/lifecycle.py
+269-43 files not shown
+284-49 files

LLVM/project ad14105lldb/source/Target ThreadPlan.cpp

[lldb] Fix data race on ThreadPlan::GetNextID's plan-ID counter (#197811)

`g_nextPlanID` is a function-local static used to hand out unique
ThreadPlan IDs. It was a plain uint32_t, so concurrent ThreadPlan
constructors (e.g. each Process's private state thread queueing its base
plan) raced on the increment.

Make it std::atomic<uint32_t>. Prefix operator++ on std::atomic is
already an atomic fetch_add that returns the new value, so the call
sites are unchanged.

Found by ThreadSanitizer as part of #197792.
DeltaFile
+3-1lldb/source/Target/ThreadPlan.cpp
+3-11 files

LLVM/project edaded2lldb/source/ValueObject ValueObject.cpp

[lldb] Fix data race on ValueObject's unique-id counter (#197809)

g_value_obj_uid is a file-scope static that hands out unique IDs to
every ValueObject. It was a plain user_id_t, so concurrent
SBTarget::FindGlobalVariables / EvaluateExpression calls raced on the
increment.

Make it std::atomic<user_id_t>. Prefix operator++ on std::atomic is
already an atomic fetch_add that returns the new value, so the call
sites are unchanged.

Found by ThreadSanitizer as part of #197792.
DeltaFile
+2-1lldb/source/ValueObject/ValueObject.cpp
+2-11 files

LLVM/project 0861446clang-tools-extra/clang-tidy/bugprone NotNullTerminatedResultCheck.cpp, clang-tools-extra/modularize Modularize.cpp

[clang][NFC] Remove `macro_begin` and `macro_end` from `Preprocessor`

Use `macros()` wherever posible. This gives us the following advantages:

1. We can use the range-base for loop for simpler looking code.
2. We more ergonomically use algorithms.
3. We can avoid the duplicate work of checking if we need to call `ExternalSource->ReadDefinedMacros()` that was in both `macro_begin` and `macro_end`. In some cases, we save this extra work once per loop iteration, not just one extra total.
4. No user confusion deciding which version they should call
5. Reduce the size of `Preprocessor.h` and the number of members in `Preprocessor`.

Using `macros` ends up being the better solution in every case, so since all callers were migrated from `macro_begin` and `macro_end` to `macros`, get rid of `macro_begin` and `macro_end`.
DeltaFile
+17-26clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
+7-20clang/lib/Lex/Preprocessor.cpp
+9-14lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
+6-10clang/lib/Sema/SemaCodeComplete.cpp
+1-8clang/include/clang/Lex/Preprocessor.h
+3-5clang-tools-extra/modularize/Modularize.cpp
+43-832 files not shown
+50-908 files

FreeNAS/freenas aedbfd3tests/api2 test_300_nfs.py test_200_ftp.py

Remove tests
DeltaFile
+0-2,102tests/api2/test_300_nfs.py
+0-1,411tests/api2/test_200_ftp.py
+0-701tests/api2/test_011_user.py
+0-589tests/api2/test_service_announcement.py
+0-565tests/api2/test_audit_websocket.py
+0-506tests/api2/test_190_filesystem.py
+0-5,874256 files not shown
+0-32,288262 files

LLVM/project 7380aeblldb/source/Target Process.cpp

[lldb] Fix data race on Process::FindPlugin's unique-id counter (#197807)

g_process_unique_id is a function-local static used to hand out unique
IDs to each Process. It was a plain uint32_t, so concurrent
SBTarget::LoadCore / Target::CreateProcess calls raced on the increment.

Make it std::atomic<uint32_t>. Prefix operator++ on std::atomic is
already an atomic fetch_add that returns the new value, so the call
sites are unchanged.

Found by ThreadSanitizer as part of #197792.
DeltaFile
+1-1lldb/source/Target/Process.cpp
+1-11 files

NetBSD/pkgsrc-wip 50ed634glib2-introspection Makefile PLIST

glib2-introspection: finish package
DeltaFile
+24-21glib2-introspection/Makefile
+0-10glib2-introspection/PLIST
+0-1glib2-introspection/TODO
+24-323 files

LLVM/project ae3c2f5llvm/lib/Transforms/Vectorize VPlanCFG.h VPlanConstruction.cpp

[VPlan] Add helper to iterate over all loop blocks in plain VPlan (NFC). (#197499)

Add a new helper to return all blocks in an initial plain CFG VPlan,
containing all blocks reachable from the header in RPOT up to the middle
block, skipping any VPIRBasicBlocks (existing exit blocks).

PR: https://github.com/llvm/llvm-project/pull/197499
DeltaFile
+18-0llvm/lib/Transforms/Vectorize/VPlanCFG.h
+5-11llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+23-112 files

LLVM/project a43a91fclang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowAnalysis.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.h

[NFC][SSAF] Rename PointerFlowReachableAnalysis to UnsafeBufferReachableAnalysis (#195204)

The previous-named PointerFlowReachableAnalysis is essentially
propagating unsafe buffers on a pointer flow graph.  The pointer flow
analysis is a dependency, instead of the subject.  So do the rename
and move.
DeltaFile
+3-113clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
+109-0clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+21-2clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.h
+0-14clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.h
+133-1294 files

LLVM/project 536ae1dllvm/include/llvm/Transforms/Utils SSAUpdaterImpl.h, llvm/lib/Transforms/Utils SSAUpdater.cpp

[SSAUpdater][NFC] Limit search for matching phi-node (#195744)

Limit search for a matching phi-node in `FindExistingPhi` to avoid
O(N^2) behavior when a large number of phi-nodes needs to be searched.
This limit is motivated by reduce.cu in hipcub/warp where N was 26000+.
This large number of phi-nodes is currently avoided by
https://github.com/llvm/llvm-project/pull/190269. In a 3-stage build of
LLVM the max search was 53.

This PR was tested with a 3-stage build of LLVM and ~10000 csmith
testcases with a search limit set to 0 (in this PR the search limit is
set to 80). Thus, missing a matching phi-node does not seem to cause
problems.

Since the search limit is rarely hit, this PR should almost always be a
NFC.

This PR was made with Claude assistance.


    [2 lines not shown]
DeltaFile
+749-0llvm/test/CodeGen/AMDGPU/large-phi-search.ll
+12-0llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
+6-0llvm/lib/Transforms/Utils/SSAUpdater.cpp
+767-03 files

LLVM/project ca258a9llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU literals.s

[AMDGPU] Error out on too long lit() constants
DeltaFile
+7-7llvm/test/MC/AMDGPU/literals.s
+9-1llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+16-82 files

FreeBSD/src 464a351release/tools ec2-base.conf gce.conf

Cloud releases: Switch to firstboot_pkg_upgrade

Cloud images are deployed with base system packages. Introduce a
firstboot package auto updater to patch the base system on first boot.

MFC after:              1 hour
MFC to:                 stable/15
Reviewed by:            cperciva
Sponsored by:           Google Cloud
Differential Revision:  https://reviews.freebsd.org/D56890
DeltaFile
+6-3release/tools/ec2-base.conf
+3-2release/tools/gce.conf
+3-2release/tools/azure.conf
+12-73 files

OpenBSD/ports Z4cANxHwww/tor-browser/browser Makefile

   Tor Browser: sync from firefox-esr: make ffmpeg a RUN_DEPENDS
VersionDeltaFile
1.201+4-1www/tor-browser/browser/Makefile
+4-11 files

LLVM/project da9b531libc/src/__support big_int.h, libc/src/__support/FPUtil bfloat16.h NormalFloat.h

[libc] Fix LIBC_HAS_CONSTANT_EVALUATION macro and re-add LIBC_ENABLE_CONSTEXPR control. (#197774)
DeltaFile
+122-128libc/src/__support/big_int.h
+16-16libc/src/__support/math/atan2f128.h
+15-15libc/src/__support/FPUtil/bfloat16.h
+10-13libc/src/__support/math/sqrtf128.h
+10-12libc/src/__support/FPUtil/NormalFloat.h
+8-8libc/src/__support/math/log1p.h
+181-192408 files not shown
+680-742414 files

LLVM/project afcd7aallvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp LegalizeIntegerTypes.cpp, llvm/lib/Target/RISCV RISCVISelLowering.cpp

[SelectionDAG] Add ISD::ABS_MIN_POISON to preserve poision semantics of llvm.abs (#183851)

SelectionDAGBuilder previously dropped the is_int_min_poison flag on
llvm.abs, lowering both variants to ISD::ABS. This is unsound for
certain targets like NVPTX whose native abs.s is poison on INT_MIN. This
PR adds a new ISD::ABS_MIN_POISON opcode, emits it for llvm.abs(x, true)
and threads through legalization, SDAG folding. The default action for
this is Expand with a fallback to the original ISD::ABS. DAGCombiner
adds visitABS_MIN_POISON which mirrors visitABS and two new folds:
abs_min_poison(freeze(abs x)) -> freeze(abs x) and
abs_min_poison(sign_extend_inreg x) → zext(abs(trunc x)). PromoteIntRes,
ExpandIntRes, and widenAbs now emit ABS_MIN_POISON whenever the input
provably can't be the wide INT_MIN. NVPTX fix to match abs.s against
abs_min_poison and tests updated accordingly.
DeltaFile
+56-6llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+52-4llvm/test/CodeGen/X86/icmp-abs-C.ll
+18-6llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+12-9llvm/test/CodeGen/NVPTX/idioms.ll
+19-1llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+8-4llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+165-3014 files not shown
+218-4120 files

NetBSD/pkgsrc GotjiTkdoc CHANGES-2026

   doc: Updated sysutils/broot to 1.56.4
VersionDeltaFile
1.3031+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc NBCJXvPsysutils/broot distinfo Makefile

   sysutils/broot: update to 1.56.4

   v1.56.4 - 2026-05-14

       fix compilation on non unix platforms (1.56.3 isn't available on those systems)

   v1.56.3 - 2026-05-13

       fix control characters sometimes remaining in the terminal after broot exit
       nushell: rename br module to avoid conflict in last nushell version - Fix #1138 - Thanks @paulhey
       :open_stay on the staging area opens every staged file through the system opener - Fix #444 - Thanks @ChrisJr404
VersionDeltaFile
1.125+4-4sysutils/broot/distinfo
1.130+2-2sysutils/broot/Makefile
1.109+0-0sysutils/broot/cargo-depends.mk
+6-63 files

NetBSD/pkgsrc lvVZZIXdoc CHANGES-2026

   doc: Updated news/eilmeldung to 1.5.2
VersionDeltaFile
1.3030+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 3ucnUd0news/eilmeldung distinfo Makefile

   news/eilmeldung: update to 1.5.2

   1.5.2 - 2026-05-14

       restored default border theme (connected and rounded)
       fixed bug which resulted in rapid swapping of article content

   1.5.1 - 2026-05-13

       open borders for everyone!
           you can now freely customize the border style of the panels!
           want to highlight the focused panel by a double border and use a plain border for inactive panels? just append this to your config.toml:

       [border_theme]
       focused = "double"
       unfocused = "plain"
       framing = "connected"

           these settings also feature to new "connected" style which elegantly connected the borders of each panel; you can still go back to the classic style by using framing = "open" or even use completely closed border with framing = "closed"

    [4 lines not shown]
VersionDeltaFile
1.4+4-4news/eilmeldung/distinfo
1.4+2-2news/eilmeldung/Makefile
1.4+0-0news/eilmeldung/cargo-depends.mk
+6-63 files

NetBSD/src TR11uClshare/man/man5 mk.conf.5

   mk.conf.5: Note that MKDTRACE defaults to "yes" for MACHINE_ARCH ~ /earm*/.
VersionDeltaFile
1.123+3-2share/man/man5/mk.conf.5
+3-21 files

FreeNAS/freenas cc9d1f4src/middlewared/middlewared/plugins/apps resources.py schema_validation.py, src/middlewared/middlewared/plugins/directoryservices_ datastore.py

NAS-140965 / 26.0.0-RC.1 / Prevent TNC certificate reuse in apps and DS (by sonicaj) (#18952)
DeltaFile
+13-2src/middlewared/middlewared/plugins/directoryservices_/datastore.py
+8-1src/middlewared/middlewared/plugins/apps/resources.py
+7-1src/middlewared/middlewared/plugins/system_general/ui.py
+7-0src/middlewared/middlewared/plugins/apps/schema_validation.py
+3-1src/middlewared/middlewared/plugins/system_advanced/syslog.py
+38-55 files

FreeNAS/freenas 7b55cfctests/unit test_container_idmap.py

Fix ruff
DeltaFile
+1-1tests/unit/test_container_idmap.py
+1-11 files

LLVM/project 8c493f5mlir/lib/Dialect/Vector/IR VectorOps.cpp, mlir/test/Dialect/Vector/canonicalize vector-transfer-read-write.mlir

[mlir][vector] Add fold to transfer_{read,write} vector<1xT> (#196598)

vector.transfer_read and vector.transfer_write's permutations maps are
irrelevant with vector<1xT>. This pattern unblocks lowerings to
vector.load and vector.store.

Assisted-By: Claude Opus 4.6
DeltaFile
+130-0mlir/test/Dialect/Vector/canonicalize/vector-transfer-read-write.mlir
+29-0mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+159-02 files

LLVM/project 44fe4cdclang/test/Tooling clang-sycl-linker-split-mode.ll clang-sycl-linker.ll, clang/tools/clang-sycl-linker ClangSYCLLinker.cpp SYCLLinkOpts.td

[clang-sycl-linker] Add per-translation-unit device code split mode (#197571)

Adds `source` split mode to `clang-sycl-linker`, driven by the
`sycl-module-id` function attribute emitted by the CFE.
`source` is the default mode and groups kernels by the value of their
`sycl-module-id` attribute, emitting one device image per translation
unit.
If the linked module contains no entry points, no splitting happens.

The `EntryPointCategorizer` in `ClangSYCLLinker.cpp` is refactored into
a class (instead of a stateful lambda) to support both per-kernel and
per-TU modes cleanly.

Also fix a potential buffer invalidation bug in sycl::writeSymbolTable
where appending symbol names could reallocate the output buffer while
pointers into it were still live.

Co-Authored-By: Claude


    [2 lines not shown]
DeltaFile
+123-63clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
+47-19clang/test/Tooling/clang-sycl-linker-split-mode.ll
+5-8clang/test/Tooling/clang-sycl-linker.ll
+5-3clang/tools/clang-sycl-linker/SYCLLinkOpts.td
+180-934 files

GhostBSD/ports 93834fcsysutils/accountsservice Makefile, sysutils/accountsservice/files patch-generate-version.sh

sysutils/accountsservice: Fix version reported by pkg-config

Reported by:    cmt
Fixes:          5c1a2fb873434e3b845e8396edbff71e27ec130c
DeltaFile
+0-11sysutils/accountsservice/files/patch-generate-version.sh
+5-0sysutils/accountsservice/Makefile
+5-112 files

LLVM/project a8c0641clang/include/clang/Basic BuiltinsNVPTX.td, clang/lib/Basic Cuda.cpp

[Clang][CUDA] Introduce support for 'f' GPU variants and feature test macros (#197584)

- Clang now accepts 'f' GPU variants as the target for sm_100+ GPUs.
- `__CUDA_ARCH_SPECIFIC__` and `__CUDA_ARCH_FAMILY_SPECIFIC__` are now
defined to allow distinguishing `a`/`f`/base GPU vaiants.
- refactored BuiltinsNVPTX.td to handle availability quirks introduced
by the 'f' variants, and to simplify additions of new GPU/PTX variants
to just adding a number to a list.
- bulk test changes to deal with the tablegen-generated strings.
DeltaFile
+284-284clang/test/CodeGen/builtins-nvptx-mma.cu
+132-132clang/test/CodeGen/builtins-nvptx-sm_70.cu
+111-97clang/include/clang/Basic/BuiltinsNVPTX.td
+29-0clang/lib/Basic/Cuda.cpp
+27-0clang/test/Frontend/standalone-nvptx-macros.c
+4-4clang/test/CodeGen/builtins-nvptx-ptx60.cu
+587-5178 files not shown
+628-52114 files

FreeNAS/freenas 95baacfsrc/middlewared/middlewared/etc_files krb5.conf.py, src/middlewared/middlewared/utils/directoryservices krb5_conf.py

krb5.conf: tolerate legacy unsupported libdefaults_aux

Historically TrueNAS has allowed krb5.conf auxiliary parameters
via libdefaults and appdefaults fields with minimal validation.

Validation is required generally for these fields because a
broken krb5.conf can have widely problematict impacts system-wide
leading to production down situations for the support team;
however, some universities have oddball kerberos domains that
require some minor tweaks.

In 25.10 when we transitioned to the new API schema for
directory services we removed a lot of parameters that could
get through our validator that were heavily labelled by the
upstream projects as things no one should *ever* use in
production. Among these removed and now invalid parameters was
allow_weak_crypto. Unfortunately, this broke a community member
who had explicitly set this exact parameter, but not in a nice
and fun way, but rather in a way that took many things with it.

    [6 lines not shown]
DeltaFile
+69-0tests/unit/test_krb5.py
+49-8src/middlewared/middlewared/utils/directoryservices/krb5_conf.py
+2-2src/middlewared/middlewared/etc_files/krb5.conf.py
+120-103 files

NetBSD/pkgsrc-wip d83fa7d. Makefile, glib2-introspection Makefile PLIST

glib2-introspection: start package

Fails to build
DeltaFile
+85-0glib2-introspection/Makefile
+15-0glib2-introspection/PLIST
+5-0glib2-introspection/DESCR
+2-2Makefile
+1-0glib2-introspection/TODO
+108-25 files

LLVM/project bc124ceflang/lib/Frontend FrontendActions.cpp

[flang] Remove `do concurrent` mapping experimental warning (#195009)
DeltaFile
+0-7flang/lib/Frontend/FrontendActions.cpp
+0-71 files