FreeNAS/freenas d06a1d0src/middlewared/middlewared/plugins/truenas_s3 __init__.py

Type the service.query result in the S3 license reconcile guard

mypy: Returning Any from function declared to return "bool"
[no-any-return]. middleware.call returns Any, so the comparison in
should_run was Any too. Annotate the entry as ServiceEntry, as
lifecycle.py already does for the same call.

Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+2-2src/middlewared/middlewared/plugins/truenas_s3/__init__.py
+2-21 files

OpenBSD/src uC0Cndplib/libssl dtls_local.h dtls12_internal.h

   Only build DTLS handshake messages once and re-use for retransmits.

   Build a struct dtls12_handshake_msg when the TLS handshake message is first
   created, then retain a pointer to this struct with reference counting.
   Retransmits can now be performed using this same DTLS handshake message.

   ok kenjiro@ tb@
VersionDeltaFile
1.100+24-36lib/libssl/d1_both.c
1.2+14-1lib/libssl/dtls12_handshake_msg.c
1.10+2-1lib/libssl/dtls_local.h
1.2+2-1lib/libssl/dtls12_internal.h
+42-394 files

LLVM/project 8ee7959llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

[RISCV] Simplify isSImm18() in RISCVAsmParser. NFC (#223928)

Use isSImm<18>() instead of isSImmPred.
DeltaFile
+1-4llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+1-41 files

LLVM/project e5e3025llvm/lib/CAS OnDiskGraphDB.cpp, llvm/unittests/CAS OnDiskGraphDBTest.cpp

[CAS] Check StandaloneData before reopening a standalone object (#223807)

OnDiskGraphDB::load() inserted every standalone object it mapped into
StandaloneData but never read from it: lookup() and count() had no
callers anywhere. So each load of an object stored outside the data pool
repeated the open, fstat, mmap and close, and then insert() saw the hash
was already present, dropped the freshly created mapping, and returned
the pointer it already had. The whole sequence was wasted.

Consult lookup() before touching the filesystem to make loading already
opened CAS objects much faster.
DeltaFile
+48-0llvm/unittests/CAS/OnDiskGraphDBTest.cpp
+6-2llvm/lib/CAS/OnDiskGraphDB.cpp
+54-22 files

OpenBSD/src BKj37kzsys/dev/fdt rkclock_clocks.h rkclock.c

   Add RK3528 I2C5 clock, used in the Radxa E24C

   ok kettenis@
VersionDeltaFile
1.100+7-1sys/dev/fdt/rkclock.c
1.72+1-0sys/dev/fdt/rkclock_clocks.h
+8-12 files

LLVM/project 6d0a8f7llvm/lib/Target/Xtensa XtensaS3DSPInstrInfo.td, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.512bit.ll bf16.ll

Merge upstream main into cir-callconv-union-tail-padding

#223859 is in main now, so takeTailByteOrPtr passes.  #223538 also landed
and touched the same union arm, so its struct-only restructuring of the
empty-member rules is kept and the spanning checks this branch removes
are not.

That leaves three of its NYI cases accepted.  UBitUnnamed is already
covered here by takeBitUnnamed, and UNuaEmptyNarrow plus a named
bit-field variant move to call-conv-lowering-x86_64-empty.cpp, both
matching classic.  Also dropped the type aliases our earlier commit
orphaned.

Assisted-by: Cursor / claude-opus-5
DeltaFile
+4,377-4,141llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+5,753-0llvm/lib/Target/Xtensa/XtensaS3DSPInstrInfo.td
+2,597-2,593llvm/test/CodeGen/AMDGPU/bf16.ll
+2,633-2,496llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+4,864-0llvm/test/CodeGen/RISCV/smulh.ll
+4,319-0llvm/test/CodeGen/RISCV/umulh.ll
+24,543-9,2301,468 files not shown
+99,890-53,6901,474 files

NetBSD/pkgsrc-wip bb5ff83openjdk25 distinfo Makefile, openjdk25/patches patch-make_autoconf_flags-cflags.m4 patch-make_autoconf_buildjdk-spec.gmk.template

openjdk25: get the build further along on macOS
DeltaFile
+15-1openjdk25/patches/patch-make_autoconf_buildjdk-spec.gmk.template
+13-1openjdk25/patches/patch-make_autoconf_flags-cflags.m4
+11-2openjdk25/options.mk
+9-0openjdk25/bootstrap.mk
+7-1openjdk25/Makefile
+5-2openjdk25/distinfo
+60-76 files

LLVM/project 02bd47dllvm/lib/CodeGen/SelectionDAG LegalizeIntegerTypes.cpp

[SDAG][NFC] Replace initialization UNDEF by POISON (#224015)
DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+1-11 files

LLVM/project a4a981abolt/include/bolt/Core MCInstUtils.h MCPlusBuilder.h, bolt/lib/Core MCInstUtils.cpp

[BOLT] Gadget scanner: prevent false positives due to jump tables

As part of PAuth hardening, AArch64 LLVM backend can use a special
BR_JumpTable pseudo (enabled by -faarch64-jump-table-hardening
Clang option) which is expanded in the AsmPrinter into a contiguous
sequence without unsafe instructions in the middle.

This commit adds another target-specific callback to MCPlusBuilder
to make it possible to inhibit false positives for known-safe jump
table dispatch sequences. Without special handling, the branch
instruction is likely to be reported as a non-protected call (as its
destination is not produced by an auth instruction, PC-relative address
materialization, etc.) and possibly as a tail call being performed with
unsafe link register (as the detection whether the branch instruction
is a tail call is an heuristic).

For now, only the specific instruction sequence used by the AArch64
LLVM backend is matched.
DeltaFile
+705-0bolt/test/binary-analysis/AArch64/gs-pauth-jump-table.s
+73-0bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
+20-0bolt/lib/Core/MCInstUtils.cpp
+14-0bolt/include/bolt/Core/MCPlusBuilder.h
+10-0bolt/lib/Passes/PAuthGadgetScanner.cpp
+9-0bolt/include/bolt/Core/MCInstUtils.h
+831-06 files

LLVM/project ab95265bolt/include/bolt/Core MCInstUtils.h, bolt/lib/Target/AArch64 AArch64MCPlusBuilder.cpp

Validate jump table bounds, refactor test cases
DeltaFile
+401-123bolt/test/binary-analysis/AArch64/gs-pauth-jump-table.s
+64-0bolt/include/bolt/Core/MCInstUtils.h
+33-9bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
+498-1323 files

FreeBSD/src c6728cfsys/net iflib.c

iflib: implement driver-provided queue selection for simple tx

Until now, simple tx has used its own queue selector, and has
ignored isc_txq_select and isc_txq_select_v2 (not this only
seems to matter for ice(4) with dcb enabled). This change
makes simple-tx use isc_txq_select* when present.

The implementation is defined to be efficient, with a
transmit routine chosen up-front that hard-codes the
queue selection and calls an always-inlined body.  This
avoids a useless test per packet in the hotpath, and
also may avoid speculation into header parsing.

Note that this was designed for readability and efficiency
in the common case (interface up, not ALTQ).  That's why
we do queue selection without duplicating nic-running and
altq checks, leaving them to the common implmentation.

Sponsored by: Netflix

    [2 lines not shown]
DeltaFile
+87-31sys/net/iflib.c
+87-311 files

LLVM/project 12018callvm/lib/Target/AMDGPU VOP3PInstructions.td VOP3Instructions.td, llvm/test/CodeGen/AMDGPU coexec-sched-flavor-classification.mir

[AMDGPU] Cover missed gfx1250 VALU blocking-cycle opcodes

Annotate gfx12+ F64 add/mul and B64 shift pseudos, F64 class compares,
pseudo-scalar TRANS, and integer dots. Fix VOPC I64/U64 end-of-block
comments that said 32 instead of 2.
DeltaFile
+77-0llvm/test/CodeGen/AMDGPU/coexec-sched-flavor-classification.mir
+7-4llvm/lib/Target/AMDGPU/VOPCInstructions.td
+5-4llvm/lib/Target/AMDGPU/VOP2Instructions.td
+4-2llvm/lib/Target/AMDGPU/VOP3Instructions.td
+1-1llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+94-115 files

LLVM/project f84aee6mlir/python/mlir/dialects/linalg __init__.py, mlir/test/python/dialects/linalg ops.py

[mlir][python] Register linalg.ElementwiseOp wrapper as op view (#223806)

Register the wrapper for `ElementwiseOp` with
`@_ods_cext.register_operation(_Dialect, replace=True)` so the exported
class is the one the registry instantiates.

Fixes #223673

Assisted by: Claude
DeltaFile
+19-0mlir/test/python/dialects/linalg/ops.py
+3-4mlir/python/mlir/dialects/linalg/__init__.py
+22-42 files

FreeNAS/freenas ab53586src/middlewared/middlewared/plugins/truenas_s3 __init__.py

Restart the S3 service when the license changes

The S3 daemon asks truenas.entitlements.check for S3_VERSIONING and
S3_AUDIT once, before it registers a bucket, and holds the answer for
the life of the process. A reload re-reads its files and not the
license -- by design, so every registration-consumed fact arrives the
same way, a restart. Nothing performed that restart: no
system.post_license_update subscriber reached the service, and the
license reconcile pass carried no S3 delegate.

So a revoked versioning entitlement went on minting versions until
someone restarted the service by hand, and -- the direction that
reaches a customer -- a granted one left every object-lock bucket the
daemon had excluded at start answering 503 after the license that
would serve it was installed.

Register a RESTART delegate for the service, ordered after the user
delegate since the credentials file the restart renders resolves every
access key through NSS. It runs only while the service is up: RESTART

    [2 lines not shown]
DeltaFile
+37-1src/middlewared/middlewared/plugins/truenas_s3/__init__.py
+37-11 files

OpenBSD/src 7nhDENAregress/libexec/ld.so/subst Makefile, regress/libexec/ld.so/subst/libyy yy.h yy.c

   Add a test to ensure the shared lib $ORIGIN substitution is relative to the
   shared lib's location and not the program's location.
VersionDeltaFile
1.1+60-0regress/libexec/ld.so/subst/prog3/Makefile
1.1+29-0regress/libexec/ld.so/subst/prog3/main.c
1.1+21-0regress/libexec/ld.so/subst/libyy/Makefile
1.1+15-0regress/libexec/ld.so/subst/libyy/yy.c
1.1+8-0regress/libexec/ld.so/subst/libyy/yy.h
1.3+2-2regress/libexec/ld.so/subst/Makefile
+135-21 files not shown
+137-27 files

LLVM/project 91a8753libcxx/include/__locale_dir/support linux.h

[libc++] Skip including langinfo.h when unused (#223749)

A previous change unconditionally includes <langinfo.h>.
__get_locale_encoding() only uses langinfo when compiling shared
libraries, and hardcodes "UTF-8" on Android.

glibc's <langinfo.h> defines POSIX nl_item constants as raw numeric
preprocessor macros (#define ERA 46).
This causes Bionic's #define ERA 46 leaks into C++ translation units on
Android and fails the compilation with:

```
error: expected member name or ';' after declaration specifiers
   static constexpr typename ERA = random_value;
```
DeltaFile
+3-1libcxx/include/__locale_dir/support/linux.h
+3-11 files

LLVM/project 1a8b98e.github/workflows premerge.yaml

[Github] Bump AArch64 premerge to Ubuntu 26.04 (#224016)

Mainly so that we pull in a new CMake. x86 Linux needs to be handled in
zorg.
DeltaFile
+1-1.github/workflows/premerge.yaml
+1-11 files

LLVM/project 1a318edllvm/lib/Target/AMDGPU AMDGPUFeatures.td AMDGPU.td, llvm/test/TableGen AMDGPUTargetDefGenericClassification.td

[AMDGPU] Classify generic-target features

Classify features used by generic targets but absent from some covered
GPUs as AMDGPUGenericAnyFeature. This covers the gfx11 workarounds,
gfx12.5 register fixup and WMMA timing, and LDS size and bank count.

Derive the classified features directly from the SubtargetFeature subclass
and preserve their existing predicates. Keep RequiresCOV6 outside this
policy because it is specific to generic targets and absent from their
covered GPUs.

Test the real target definitions, missing support for classified features,
and the existing all-member requirement for instruction capabilities.

Change-Id: I9fffbe532b8b5bc8875f20f394f29e2e6899f52e
DeltaFile
+70-0llvm/test/TableGen/AMDGPUTargetDefGenericClassification.td
+40-24llvm/lib/Target/AMDGPU/AMDGPU.td
+3-3llvm/lib/Target/AMDGPU/AMDGPUFeatures.td
+0-2llvm/utils/TableGen/Basic/AMDGPUTargetDefEmitter.cpp
+113-294 files

LLVM/project a9dc56cllvm/lib/Target/AMDGPU AMDGPUTargetParser.td, llvm/test/TableGen AMDGPUTargetDefErrors.td AMDGPUTargetDefGenericFeatures.td

[AMDGPU][NFC] Allow selected generic features on any covered GPU

Add AMDGPUGenericAnyFeature so individual feature classes can require
support from at least one covered GPU. Check explicitly marked features
even when they are not frontend-visible, while retaining the all-member
check for ordinary frontend-visible features.

Follow implied features using their own validation rules. Require named
generic targets to cover at least one concrete AMDGPU GPU, rejecting self
references, other generic targets, pseudo targets, and invalid members.

Cover partial support, missing support, exact numeric-feature membership,
backend-only features, implications, and malformed coverage lists with
TableGen tests. Generated target definitions remain unchanged.
DeltaFile
+166-0llvm/test/TableGen/AMDGPUTargetDefGenericFeatures.td
+38-17llvm/utils/TableGen/Basic/AMDGPUTargetDefEmitter.cpp
+14-5llvm/lib/Target/AMDGPU/AMDGPUTargetParser.td
+1-1llvm/test/TableGen/AMDGPUTargetDefErrors.td
+219-234 files

FreeBSD/src 3484217sys/kern kern_proc.c

proc: free kstack buffers when debug permission changes

The kern.proc.kstack handler allocates its output and stack buffers
before deliberately checking p_candebug again under the process lock.
If trace-control state changes between authorization checks, the failure
path balances the process and exec state but leaks both buffers.

Submitted by calif.io for the OpenAI Patch The Planet program

Signed-off-by: Andrew Griffiths <andrew at calif.io>

Fixes:          8b5abd9027b8 ("kern_proc.c: disallow execve around sysctl kern.proc.kstacks")
Reviewed by:    markj
MFC after:      1 week
DeltaFile
+2-0sys/kern/kern_proc.c
+2-01 files

FreeBSD/src 5d0b876sys/security/mac_bsdextended mac_bsdextended.c

mac_bsdextended: reject negative rule indices in sysctl_rule()

The security.mac.bsdextended.rules.<N> node handler takes N as
`index = name[0]` (a signed int) and only checks
`index >= MAC_BSDEXTENDED_MAXRULES`.  A negative index is caught on
the read branch, but the write-only add and delete
branches proceed to `rules[index]` unconditionally.

Reject `index < 0` alongside the existing upper-bound check.

Submitted by calif.io for the OpenAI Patch The Planet program

Signed-off-by: Andrew Griffiths <andrew at calif.io>

Reviewed by:    markj
MFC after:      2 weeks
DeltaFile
+2-2sys/security/mac_bsdextended/mac_bsdextended.c
+2-21 files

LLVM/project eac6cdfmlir/include/mlir/Dialect/SparseTensor/IR SparseTensorOps.td

[mlir][SparseTensor][NFC] Improve documentation for SparseTensor_LvlOp (#223307)

Update the `sparse_tensor.lvl` documentation to correctly describe the
level mapping for `%j floordiv 3`.
DeltaFile
+2-2mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
+2-21 files

LLVM/project 24ebba1mlir/test/python/dialects/linalg ops.py

Fix linalg.elementwise assembly syntax in Python test
DeltaFile
+1-1mlir/test/python/dialects/linalg/ops.py
+1-11 files

FreeBSD/src 151a851usr.bin/truss truss.h extern.h

truss(1): capsicumize

The new ptrace(2) features allow to change truss(1) to systematically
operate on the process descriptors instead of pids.

Allocate the global kqueue that tracks all noted children
by pdopenpid()-ing them and adding to the kqueue with
EVFILT_PROCDESC/NOTE_PDSIGCHLD. The activated knote triggers the
pdwait() call to return the child tracing info. This replaces the
waitid(P_ALL) call in the non-capsicumized truss(1) eventloop.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58094
DeltaFile
+312-105usr.bin/truss/setup.c
+92-65usr.bin/truss/syscalls.c
+22-10usr.bin/truss/main.c
+18-9usr.bin/truss/extern.h
+25-2usr.bin/truss/truss.1
+9-0usr.bin/truss/truss.h
+478-1916 files

LLVM/project eb0b656clang-tools-extra/clang-tidy/modernize UseRangesCheck.cpp, clang-tools-extra/clang-tidy/utils UseRangesCheck.cpp

[clang-tidy] `use-ranges`: avoid unsafe result fix-its

Preserve callable results with .fun, allow structured-binding-safe rewrites, and keep diagnostics while suppressing unsafe fix-its when ranges result objects do not match the original result shape.

Assisted by Codex.
DeltaFile
+38-2clang-tools-extra/clang-tidy/utils/UseRangesCheck.cpp
+37-0clang-tools-extra/test/clang-tidy/checkers/modernize/use-ranges.cpp
+22-5clang-tools-extra/clang-tidy/modernize/UseRangesCheck.cpp
+26-0clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/use-ranges/fake_std.h
+7-0clang-tools-extra/docs/ReleaseNotes.md
+2-0clang-tools-extra/docs/clang-tidy/checks/modernize/use-ranges.rst
+132-71 files not shown
+134-77 files

LLVM/project 64d1f1allvm/include/llvm InitializePasses.h, llvm/include/llvm/CodeGen Passes.h

[llvm] Remove dead INITIALIZE_PASS instances and declarations (NFC) (#223938)

initializeARCOptAddrModePass:
Introduced on March 20, 2019 in commit
b062239d638ba668d277dd0ec735497b71321d3f without any callers.

initializeResetMachineFunctionPass:
Introduced on August 27, 2016 in commit
374796d6785311f93ba38ebce1b22e11a3df3ec7 without any callers.

initializeCFGuardPass:
Introduced on October 28, 2019 in commit
e59f7488c772c91ba0f7457ef67ffb4b455047b8 without any callers.

initializeMIRPrintingPassPass, MIRPrintingPassID:
Introduced on May 27, 2015 in commit
2bdb4e1063f5cbc8bb1262d90cca056e9fb31fbb without any callers.

initializeRegToMemWrapperPassPass:

    [3 lines not shown]
DeltaFile
+0-6llvm/lib/Target/ARC/ARCOptAddrMode.cpp
+0-5llvm/lib/Transforms/Scalar/Reg2Mem.cpp
+0-4llvm/include/llvm/InitializePasses.h
+0-4llvm/include/llvm/CodeGen/Passes.h
+0-3llvm/lib/CodeGen/MIRPrintingPass.cpp
+0-2llvm/lib/CodeGen/ResetMachineFunctionPass.cpp
+0-241 files not shown
+0-257 files

LLVM/project ff37783clang-tools-extra/clang-tidy/modernize UseRangesCheck.cpp, clang-tools-extra/docs ReleaseNotes.md

[clang-tidy] `use-ranges`: preserve output results

Preserve used output iterator results for output algorithm replacements by appending .out where the ranges algorithm returns an algorithm result object.

Fix #110223

Assisted by Codex.
DeltaFile
+104-0clang-tools-extra/test/clang-tidy/checkers/modernize/use-ranges.cpp
+59-0clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/use-ranges/fake_std.h
+26-28clang-tools-extra/clang-tidy/modernize/UseRangesCheck.cpp
+4-0clang-tools-extra/docs/ReleaseNotes.md
+2-0clang-tools-extra/docs/clang-tidy/checks/modernize/use-ranges.rst
+195-285 files

NetBSD/pkgsrc 37oNJzTdoc TODO

   doc/TODO: Update some

   + SOGo-5.12.11 [security], SOPE-5.12.11,
     dovecot-2.4.5 [CVE-2025-30189 and more], dovecot2-pigeonhole-2.4.5,
     mariadb-10.6.28, mariadb-10.11.19, mariadb-11.8.9, mariadb-12.3.3,
     mariadb-13.0.2, php-basercms-5.4.0, php-composer-2.10.3,
     php-dotclear-2.39.3, roundcube-1.7.4, thrift-0.24.0 [CVE-2026-41608].

   - drupal-10.0.5, drupal-9.5.5, sympa-6.2.76.
VersionDeltaFile
1.27926+16-21doc/TODO
+16-211 files

LLVM/project a37f19alibc/include unistd.yaml, libc/include/llvm-libc-macros/linux unistd-macros.h

[libc] Add macro / sysconf support for POSIX threads features. (#223543)

Define all `_POSIX_THREAD_*` macro and corresponding `_SC_THREAD_`
sysconf names that provide information on availability of certain
POSIX threads features.

* Explicitly provide all relevant macro from POSIX standard:
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/unistd.h.html
to either 202405L (current POSIX version supported by LLVM-libc), or -1
  (if the feature is unsupported)
* Support returning these features via `sysconf` for matching `_SC_`
name values;
* Add unit tests that validate the actual numerical values.
DeltaFile
+48-0libc/include/unistd.yaml
+28-1libc/include/llvm-libc-macros/linux/unistd-macros.h
+24-0libc/src/unistd/linux/sysconf.cpp
+17-3libc/test/src/unistd/sysconf_test.cpp
+117-44 files

LLVM/project 4d00c7bllvm/test/Analysis/CostModel/X86 arith-mulh.ll

[CostModel][X86] Add baseline costs for smulh/umulh intrinsics (#224022)
DeltaFile
+289-0llvm/test/Analysis/CostModel/X86/arith-mulh.ll
+289-01 files