FreeBSD/doc 6bd5860documentation/content/en/articles/committers-guide _index.adoc, documentation/content/en/articles/contributing _index.adoc

Move all the software license stuff to a central location.

This leaves an appropriatesummary on the website pages, committer's
guide and contributing pages, and augments license-guide with
information that was on those pages (though the license exceptions
moves to software-license).

It's mostly word motion with light edits.

Sponsored by:           Netflix
Reviewed by:            ziaee, adrian
Approved by:            core (24 hour rule)
Differential Revision:  https://reviews.freebsd.org/D57340
DeltaFile
+6-139website/content/en/internal/software-license.adoc
+42-8documentation/content/en/articles/license-guide/_index.adoc
+13-19documentation/content/en/articles/committers-guide/_index.adoc
+1-1documentation/content/en/articles/contributing/_index.adoc
+1-1website/content/en/internal/members.adoc
+1-1website/content/en/internal/policies.adoc
+64-16920 files not shown
+84-16926 files

LLVM/project b0763b4libc/include/llvm-libc-types __qsortscompare_t.h

Fix header for __qsortscompare_t.h
DeltaFile
+6-1libc/include/llvm-libc-types/__qsortscompare_t.h
+6-11 files

FreeNAS/freenas 28c40b7src/middlewared/middlewared/plugins/network_ route_sync.py static_routes.py, src/middlewared/middlewared/plugins/network_routes route_sync.py __init__.py

Convert route and staticroute services to the typesafe pattern

## Context
Moves `RouteService` and `StaticRouteService` (and their sync/validation helpers) out of `network_/` into a new `network_routes` plugin built on the typesafe pattern: `StaticRouteService` becomes a `GenericCRUDService` with a `CRUDServicePart`, and `RouteService` becomes a lean port-pattern `Service` delegating to plain module functions. The namespaces (`route`/`routes`, `staticroute`) and the on-the-wire shape are unchanged.

## Solution
- **`network_routes/crud.py`** holds the `StaticRoute` SQLAlchemy model and `StaticRouteServicePart` (validation/normalization of destination+gateway, async `do_*`, and kernel-route teardown on delete via `to_thread`).
- **`network_routes/route.py`** holds the plain `get_system_routes` / `gateway_is_reachable` functions; `RouteService.system_routes` stays a public `@filterable_api_method` returning `RouteSystemRoutesItem` models, filtering the raw dict rows first so filter semantics match the old path.
- **`route_sync.py` / `static_routes_sync.py`** move across unchanged except the static-route sync now reads typed entries (`call_sync2(s.staticroute.query)` + attribute access).
- Since `query`/`get_instance` now return Pydantic models, every same-process caller is switched to `call2`/`call_sync2` and dict access to attribute access: `network.py`, `network_/general.py`, `network_/global_config.py`, and the network pseudo-services. `failover.call_remote('route.sync')` stays a string call.
- Registered both services in `main.py`, added `StaticRouteCreate`/`StaticRouteUpdate` to the API `__all__`, and added the plugin to the mypy workflow.
DeltaFile
+0-145src/middlewared/middlewared/plugins/network_/route_sync.py
+145-0src/middlewared/middlewared/plugins/network_routes/route_sync.py
+0-139src/middlewared/middlewared/plugins/network_/static_routes.py
+99-0src/middlewared/middlewared/plugins/network_routes/__init__.py
+0-96src/middlewared/middlewared/plugins/network_/route.py
+89-0src/middlewared/middlewared/plugins/network_routes/crud.py
+333-38010 files not shown
+506-46816 files

LLVM/project eb6ccbalibc/test/src/stdlib QsortReentrantTest.h

Fix file header to adhere to the coding standard
DeltaFile
+6-2libc/test/src/stdlib/QsortReentrantTest.h
+6-21 files

LLVM/project 0494484lldb/include/lldb/Host/common DomainSocket.h, lldb/include/lldb/Host/posix DomainSocket.h

[NFC][lldb] Split DomainSocket into a base + posix/windows impls (#205864)

Prepares for `AF_UNIX` domain-socket support on Windows by separating
the cross-platform socket logic from the one platform-specific
operation.

Every domain-socket operation is identical on POSIX and Windows (via
`<afunix.h>`), so it now lives in a single base class
`DomainSocket`. The one operation that is different is `CreatePair()`.
It lives in `DomainSocketPosix` / `DomainSocketWindows`. It's selected
for the host as `DomainSocketPlatform` through
`lldb/Host/DomainSocket.h`.

This is an NFC patch: POSIX behavior is unchanged, and while the shared
code now also compiles on Windows it stays unreachable there. A
follow-up commit enables it.

rdar://180736036
DeltaFile
+0-247lldb/source/Host/posix/DomainSocket.cpp
+212-0lldb/source/Host/common/DomainSocket.cpp
+61-0lldb/include/lldb/Host/common/DomainSocket.h
+56-0lldb/source/Host/windows/DomainSocketWindows.cpp
+54-0lldb/source/Host/posix/DomainSocketPosix.cpp
+0-54lldb/include/lldb/Host/posix/DomainSocket.h
+383-3018 files not shown
+489-31114 files

LLVM/project 994af34llvm/lib/HTTP HTTPClient.cpp

[lldb][Windows] Try falling back to TLS 1.2 before erroring out (#206108)

TLS 1.3 is only supported on Windows Server 2022 and beyond. Windows
Server 2019 only supports up to TLS 1.2.

This causes test failures on CI runners which run on Windows Server
2019.

This patch allows falling back to TLS 1.2 if 1.3 is not available.
DeltaFile
+9-2llvm/lib/HTTP/HTTPClient.cpp
+9-21 files

NetBSD/pkgsrc-wip d109978CodeWhale distinfo cargo-depends.mk

Update CodeWhale to v0.8.65
DeltaFile
+72-12CodeWhale/distinfo
+23-3CodeWhale/cargo-depends.mk
+4-4CodeWhale/Makefile
+2-2CodeWhale/COMMIT_MSG
+101-214 files

FreeNAS/freenas 7a4d530src/middlewared/middlewared/plugins/enclosure_ enclosure_class.py ses_enclosures2.py

ruff it up
DeltaFile
+0-6src/middlewared/middlewared/plugins/enclosure_/enclosure_class.py
+1-0src/middlewared/middlewared/plugins/enclosure_/ses_enclosures2.py
+1-62 files

LLVM/project c23492aflang/lib/Semantics check-omp-structure.cpp

Add another case that came from main
DeltaFile
+1-1flang/lib/Semantics/check-omp-structure.cpp
+1-11 files

LLVM/project dd16c87libcxx/docs/Status Cxx23Issues.csv

address review comments
DeltaFile
+1-1libcxx/docs/Status/Cxx23Issues.csv
+1-11 files

LLVM/project 55cc77allvm/lib/Target/X86 X86TargetTransformInfo.cpp, llvm/test/Analysis/CostModel/X86 reduce-add.ll reduce-fadd.ll

[CostModel][X86] Add more realistic v8i64/v16i32 + v8f64/v16f32 add reduction costs (#206124)

Fixes failure to fold to v16i32 reduction on ax512 targets

We still need to determine better CostKind values - but that can wait until #194621 is complete
DeltaFile
+12-33llvm/test/Transforms/PhaseOrdering/X86/horizontal-reduce-add.ll
+9-14llvm/test/Transforms/SLPVectorizer/X86/redux-feed-buildvector.ll
+8-13llvm/test/Transforms/VectorCombine/X86/reduction-of-truncations.ll
+20-0llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+8-8llvm/test/Analysis/CostModel/X86/reduce-add.ll
+2-2llvm/test/Analysis/CostModel/X86/reduce-fadd.ll
+59-706 files

LLVM/project debfc46llvm/lib/Target/AMDGPU/Utils AMDGPUPALMetadata.cpp, llvm/test/CodeGen/ARM vector-lrint.ll fpclamptosat_vec.ll

Merge branch 'main' into users/kparzysz/locator-utils
DeltaFile
+1,833-1,841llvm/test/CodeGen/ARM/vector-lrint.ll
+1,197-1,198llvm/test/CodeGen/ARM/fpclamptosat_vec.ll
+921-940llvm/test/CodeGen/ARM/vector-llrint.ll
+528-528llvm/test/CodeGen/ARM/vrint.ll
+927-0mlir/lib/Dialect/XeGPU/Transforms/XeGPUContiguityAnalysis.cpp
+359-363llvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
+5,765-4,870266 files not shown
+14,215-8,501272 files

LLVM/project 5113f6dflang/lib/Parser openmp-parsers.cpp, flang/lib/Semantics resolve-names.cpp check-omp-structure.cpp

[flang][OpenMP] Properly resolve CRITICAL construct names (#205904)

Resolve the names of CRITICAL constructs even if they are reserved
names.
This also limits locator parsing to known reserved names.

Fixes https://github.com/llvm/llvm-project/issues/205855
DeltaFile
+31-21flang/lib/Semantics/resolve-names.cpp
+21-4flang/lib/Parser/openmp-parsers.cpp
+5-10flang/lib/Semantics/check-omp-structure.cpp
+0-6flang/test/Semantics/OpenMP/reserved-locator.f90
+0-1flang/lib/Semantics/check-omp-structure.h
+57-425 files

LLVM/project 9db072flibcxx/include/__ranges istream_view.h, libcxx/test/libcxx/ranges/range.factories/range.istream.view nodiscard.verify.cpp

[libc++][ranges] Apply `[[nodiscard]]` to `istream_view` (#205154)

Towards #172124

Co-authored-by: Hristo Hristov <zingam at outlook.com>
DeltaFile
+41-0libcxx/test/libcxx/ranges/range.factories/range.istream.view/nodiscard.verify.cpp
+4-4libcxx/include/__ranges/istream_view.h
+45-42 files

FreeNAS/freenas ba0d431src/middlewared/middlewared/api/v27_0_0 snmp.py, src/middlewared/middlewared/etc_files/local snmpd.conf.mako

Convert SNMP plugin to the typesafe pattern

## Context
Migrate the `snmp` plugin to the typesafe pattern: a lean `SystemServiceService[SNMPEntry]` delegating to an `SNMPServicePart`, with Pydantic API models, `check_annotations=True`, and `config`/`do_update` returning typed models instead of dicts.

## Solution
- Split the single `snmp.py` into a `snmp/` package: a lean `__init__.py` (service class + port delegate) and `config.py` (the service part holding the SQLAlchemy model, the model-based `do_update`, the v3 user lifecycle, and the defaults helper). `get_snmp_users` stays a `@private` method because the integration tests invoke it over the wire; the unused `_is_snmp_running` was dropped.
- Decouple the legacy `@single_argument_args` model into `SNMPEntry` / `SNMPUpdate` / `SNMPUpdateArgs` / `SNMPUpdateResult` in `api/v27_0_0`. The `v3_password` / `v3_privpassphrase` secrets are read via `get_secret_value()` and persisted with the `expose_secrets` dump context.
- `snmp.config` now returns a model in-process, so the `snmpd.conf.mako` renderer is switched from dict subscripting to attribute access.
- Register the service in `main.py`'s `ServiceContainer`, add the plugin to `mypy.yml`, and fully type-annotate the `utils_snmp_user` helpers so the now-checked plugin passes mypy.
DeltaFile
+0-249src/middlewared/middlewared/plugins/snmp.py
+189-0src/middlewared/middlewared/plugins/snmp/config.py
+61-0src/middlewared/middlewared/plugins/snmp/__init__.py
+8-7src/middlewared/middlewared/plugins/snmp_/utils_snmp_user.py
+7-7src/middlewared/middlewared/etc_files/local/snmpd.conf.mako
+7-5src/middlewared/middlewared/api/v27_0_0/snmp.py
+272-2682 files not shown
+275-2688 files

FreeBSD/src b207b15sys/sys systm.h

sys/systm.h: use __nodiscard consistently and correctly

__nodiscard is closer to (and sometimes expands to) [[nodiscard]] from
C23 and C++17 so prefer it to the homegrown __result_use_check and put
it in the right place so it is correct when expanded to [[nodiscard]].

Reviewed by:    markj, emaste
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D57882
DeltaFile
+6-6sys/sys/systm.h
+6-61 files

FreeBSD/src 2515e3fshare/man/man9 cdefs.9

cdefs(9): encourage __nodiscard over __result_use_check

__nodiscard is closer to (and sometimes expands to) [[nodiscard]] from
C23 and C++17 so prefer it to the homegrown __result_use_check.

When __nodiscard does expand to [[nodiscard]] it must appear entierly
before the function declaration (or between the function name
and argument list) so relocate as appropriate.  This differs from
__attribute__((__warn_unused_result__)) used by __result_use_check which
is more flexible.

Reviewed by:    imp, markj, emaste
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D57881
DeltaFile
+7-1share/man/man9/cdefs.9
+7-11 files

FreeNAS/freenas 339dd06src/middlewared/middlewared/plugins/enclosure_ slot_mappings.py ses_enclosures2.py, src/middlewared/middlewared/pytest/unit/plugins/enclosure/test-cases/V260-NOJBODS mocked.json expected.json

NAS-141457 / 26.0.0-RC.1 / V-series V2xx + rear-bay enclosure support (#19168)

Adds V2xx (V260/V280) enclosure management and reworks V-series rear-bay
support to use the bifurcated PEX89032 NTG chip's SES path. Two commits,
each independently functional / bisectable:

V2xx front bays are served by a single Broadcom PEX89088 PCIe switch
chip partitioned into two SES VirtualSES enclosures (replacing V1xx's
dual 9600-12i4e SAS HBAs). The two partitions advertise the SAME encid,
so the V1xx encid-comparison disambiguation fails — `ses_enclosures2`
falls back to inspecting Array Device Slot element descriptor labels
(`slot01..slot12` = NVME0; `slot13..slot24` = NVME8). `slot_mappings`
gets a V2xx branch keyed by `enc.product` (`4IXGA-SWp/s`).
`enclosure_class` recognizes the V2xx model and exempts `4IXGA-SW` from
the V-series ECStream filter. `sysfs_disks` gains an NVMe-namespace
fallback for slots whose `device/block/` is missing.
SES partition

Adds enclosure2.query support for V-series rear bays (V140, V160, V260,

    [44 lines not shown]
DeltaFile
+702-0src/middlewared/middlewared/pytest/unit/plugins/enclosure/test-cases/V260-NOJBODS/mocked.json
+606-0src/middlewared/middlewared/pytest/unit/plugins/enclosure/test-cases/V260-NOJBODS/expected.json
+108-57src/middlewared/middlewared/plugins/enclosure_/slot_mappings.py
+116-22src/middlewared/middlewared/plugins/enclosure_/ses_enclosures2.py
+0-101src/middlewared/middlewared/plugins/enclosure_/nvme2.py
+21-5src/middlewared/middlewared/plugins/enclosure_/enclosure_class.py
+1,553-1852 files not shown
+1,591-1878 files

LLVM/project 1b7de6dlibcxx/include __config, libcxx/include/__configuration compiler.h

[libc++] Move compiler-specific configuration into <__configuration/compiler.h> (#205590)

These macros are essentially there to query compiler features, so they
should be moved into `<__configuration/compiler.h>`.
DeltaFile
+0-25libcxx/include/__config
+25-0libcxx/include/__configuration/compiler.h
+25-252 files

LLVM/project daa92c7clang/include/clang/DependencyScanning DependencyActionController.h, clang/include/clang/Frontend CompilerInvocation.h

[clang][deps] Avoid `CompilerInvocation` copies (#205632)

When constructing the dependency graph for compilation caching, the
dependency scanner needs to do some extra operations on the compiler
invocations. Historically, these have not utilized the copy-on-write
variant well. This patch takes care to minimize `CompilerInvocation`
copies, which improves incremental scans with populated up-to-date
scanning module cache by 16-18%. Together with
https://github.com/llvm/llvm-project/pull/203350 which operates in the
same space, wall-times are improved by 1.54x and instruction counts by
1.66x.
DeltaFile
+79-1clang/include/clang/Frontend/CompilerInvocation.h
+67-0clang/unittests/Frontend/CompilerInvocationTest.cpp
+23-0clang/lib/Frontend/CompilerInvocation.cpp
+10-2clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+5-1clang/lib/Tooling/DependencyScanningTool.cpp
+1-1clang/include/clang/DependencyScanning/DependencyActionController.h
+185-56 files

LLVM/project 9c7f086clang/lib/StaticAnalyzer/Checkers MoveChecker.cpp, clang/test/Analysis use-after-move-iterator.cpp use-after-move.cpp

[clang][analyzer] Detect use-after-move for 3-arg std::move (#196602)

This implementation detects a use-after-move for the 3-arguments
std::move on containers. This PR fixes #137157.

Since my current implementation uses `IteratorModeling` which is in
alpha stage I mark this PR as draft.

When both the `IteratorModeling` and `MoveChecker` are enabled my
implementation works to detect the use-after-move for the 3 argument
std::move case.

```cpp
std::move(l1.begin(), l1.end(), std::back_inserter(l2));
std::cout << "l1: " << *l1.cbegin() << '\n'; // <--- should have a use-after-move
```

```text
move_iterator.cpp:14:28: warning: Method called on moved-from object 'l1' of

    [14 lines not shown]
DeltaFile
+122-5clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
+54-0clang/test/Analysis/use-after-move-iterator.cpp
+24-0clang/test/Analysis/Inputs/system-header-simulator-cxx.h
+13-0clang/test/Analysis/use-after-move.cpp
+213-54 files

LLVM/project ca8808dlibcxx/include __config, libcxx/include/__cxx03 __config

[libc++] Remove _BitScanForward{,64} (#205551)

`std::countr_zero` can be used instead, which is a standard API.
DeltaFile
+0-18libcxx/src/include/ryu/ryu.h
+2-13libcxx/src/ryu/d2s.cpp
+0-6libcxx/include/__config
+2-2libcxx/src/ryu/f2s.cpp
+0-3libcxx/include/__cxx03/__config
+4-425 files

LLVM/project 7510be0lldb/packages/Python/lldbsuite/test/tools/lldb-server gdbremote_testcase.py

[lldb] send 0x0 size packet if LLDB_LAUNCH_FLAG_USE_PIPES is set (#206107)

`LLDB_LAUNCH_FLAG_USE_PIPES=1` is used in tests to run lldb without the
ConPTY on Windows. This reduces the flakyness of tests.

This patch ensures that we read the value of
`LLDB_LAUNCH_FLAG_USE_PIPES` when setting up gdbremote tests, to make
sure they don't use the ConPTY.

This fixes `tools/lldb-server/TestGdbRemote_qThreadStopInfo.py` on
https://ci-external.swift.org/job/lldb-windows/job/main/.
DeltaFile
+11-0lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
+11-01 files

LLVM/project 01eab1bmlir/lib/Dialect/Linalg/Transforms Transforms.cpp, mlir/test/Dialect/Linalg transform-op-pack.mlir

[mlir][linalg] Guard pack tensor semantics (#206011)

Added a guard so the structured pack transform reports a normal tiling
failure when the target has already been bufferized, instead of reaching
a tensor-only path and asserting.
Fixes #205744
DeltaFile
+20-0mlir/test/Dialect/Linalg/transform-op-pack.mlir
+4-0mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
+24-02 files

LLVM/project e6be5c9libcxx/include __config fstream

[libc++] Move _LIBCPP_FOPEN_CLOEXEC_MODE to <fstream> (#205537)

The macro is only required inside `<fstream>`, so we can move it there
instead of having it as a general configuration macro.
DeltaFile
+0-11libcxx/include/__config
+11-0libcxx/include/fstream
+11-112 files

LLVM/project 6e0a76amlir/lib/Conversion/VectorToXeGPU VectorToXeGPU.cpp, mlir/test/Conversion/VectorToXeGPU transfer-read-to-xegpu.mlir

[MLIR][XeGPU][VectorToXeGPU] Minor fix for proper handling of 0D memrefs (#195877)

It fixes the following case:
```
   vector.transfer_read %arg0[], %0 : memref<f16>, vector<f16>
```
DeltaFile
+13-0mlir/test/Conversion/VectorToXeGPU/transfer-read-to-xegpu.mlir
+6-1mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp
+19-12 files

LLVM/project 62a9a8clibcxx/include/__type_traits aligned_union.h

[libc++][NFC] Simplify the implementation of aligned_union (#185449)

Instead of manually calculating the size and alignment of a union, we
can just generate an actual union and take the size and alignment of
that.

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
DeltaFile
+10-13libcxx/include/__type_traits/aligned_union.h
+10-131 files

LLVM/project c4b81fcllvm/test/MC/AMDGPU gfx11_asm_vopc.s, llvm/test/MC/Disassembler/AMDGPU gfx11_dasm_vopc.txt gfx11_dasm_vopc-fake16.txt

[AMDGPU][NFC] Templatise and roundtrip gfx11_asm_vopc.s

Resolves another portion of differences vs the downstream True16
branch.
DeltaFile
+10,260-9,388llvm/test/MC/AMDGPU/gfx11_asm_vopc.s
+0-7,069llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+5,907-0llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc-fake16.txt
+16,167-16,4573 files

LLVM/project 32ccf41flang/lib/Optimizer/OpenACC/Support FIROpenACCTypeInterfaces.cpp, flang/lib/Optimizer/OpenACC/Transforms ACCRecipeBufferization.cpp

[flang] Attach a placeholder `acc.var_name` to allocations in recipes. (#205939)

`ACCRecipeMaterialization` can replace the placeholder with the actual
variable name when materializing the recipe.

Assisted-by: Claude Code
DeltaFile
+39-39flang/test/Lower/OpenACC/acc-reduction.f90
+15-15flang/test/Lower/OpenACC/acc-private.f90
+12-2flang/lib/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.cpp
+6-0flang/lib/Optimizer/OpenACC/Transforms/ACCRecipeBufferization.cpp
+72-564 files

LLVM/project 75f0099utils/bazel/llvm-project-overlay/mlir/test BUILD.bazel

[Bazel] Fixes dd5357d (#206122)

This fixes dd5357d38d6b73e3a687bcc5ea8cb3a858fb3fea.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+1-01 files