FreeNAS/freenas 6eefc7dsrc/middlewared/middlewared/plugins/truecommand config.py portal.py

Address reviews
DeltaFile
+5-1src/middlewared/middlewared/plugins/truecommand/config.py
+1-1src/middlewared/middlewared/plugins/truecommand/portal.py
+6-22 files

FreeNAS/freenas 0939b56src/middlewared/middlewared/plugins/truecommand portal.py update.py

Convert truecommand plugin to typesafe pattern

This commit adds changes to convert the truecommand plugin to the typesafe pattern, splitting the old compound ConfigService into a lean GenericConfigService that delegates to a ConfigServicePart with Pydantic models, while the portal/wireguard/state logic moves into plain context-first functions and same-process calls use call2. In-process consumers of truecommand.config (truenas and security) switch from dict access to typed attribute access.
DeltaFile
+182-149src/middlewared/middlewared/plugins/truecommand/portal.py
+0-229src/middlewared/middlewared/plugins/truecommand/update.py
+98-102src/middlewared/middlewared/plugins/truecommand/wireguard.py
+184-0src/middlewared/middlewared/plugins/truecommand/config.py
+87-7src/middlewared/middlewared/plugins/truecommand/__init__.py
+45-0src/middlewared/middlewared/plugins/truecommand/state.py
+596-4876 files not shown
+610-53612 files

FreeNAS/freenas 139ac99src/middlewared/middlewared/alembic/versions/26.0 2026-06-19_00-00_restrict_totp_interval.py, src/middlewared/middlewared/alembic/versions/27.0 2026-06-22_00-00_merge.py

NAS-141431 / 27.0.0-BETA.1 / Restrict TOTP interval to supported values (by sonicaj) (#19180)

This commit adds changes to restrict the per-user two-factor TOTP
interval to 30 or 60 seconds, since the OATH users file consumed by
pam_oath only understands those time-steps and any other value silently
breaks 2FA for the user. A migration clears the secret and resets the
interval for existing rows holding an unsupported value so affected
users re-enroll, and the render-time coercion is dropped now that the
input is validated at the API.

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

---------

Co-authored-by: Waqar Ahmed <waqarahmedjoyia at live.com>
DeltaFile
+64-0src/middlewared/middlewared/alembic/versions/26.0/2026-06-19_00-00_restrict_totp_interval.py
+21-0src/middlewared/middlewared/alembic/versions/27.0/2026-06-22_00-00_merge.py
+16-3tests/api2/test_twofactor_auth.py
+5-3src/middlewared/middlewared/api/v26_0_0/user.py
+5-3src/middlewared/middlewared/api/v27_0_0/user.py
+1-5src/middlewared/middlewared/plugins/auth_/2fa.py
+112-146 files

NetBSD/pkgsrc-wip 2c3a509knot-resolver TODO

knot-resolver: Update to 6.4.0
DeltaFile
+0-4knot-resolver/TODO
+0-41 files

NetBSD/pkgsrc-wip e53fbdfknot-resolver COMMIT_MSG Makefile, knot-resolver/files kresd.sh

knot-resolver: Update to 6.4.0
DeltaFile
+10-0knot-resolver/COMMIT_MSG
+4-3knot-resolver/Makefile
+3-3knot-resolver/distinfo
+1-1knot-resolver/files/kresd.sh
+18-74 files

LLVM/project 132e019clang/test/OpenMP nvptx_teams_reduction_codegen.cpp target_teams_reduction_codegen.cpp, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

Reapply "[OpenMP][offload] Cross-team reductions with variable number of teams" (#204914) (#205071)

Together with the fix for
https://github.com/llvm/llvm-project/pull/195102#issuecomment-4756584289
DeltaFile
+0-3,642clang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
+2,331-0clang/test/OpenMP/target_teams_reduction_codegen.cpp
+155-169openmp/device/src/Reduction.cpp
+152-73llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+60-60clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
+60-60clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
+2,758-4,004168 files not shown
+4,274-5,534174 files

LLVM/project 421ae37clang-tools-extra/clang-tidy/bugprone MisplacedWideningCastCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Fix bugprone-misplaced-widening-cast false positive on bitfield assignments (#197554)

When CheckImplicitCasts=true, the checker used the declared type of a
bitfield insread of the actual bitfield width to determine if widening
occurs. This caused false positives when assigning to a bitfield whose
declared type is wider than the source, but whose bitfield width
actually matches the source type. This behavior is fixed.
This PR fixes https://github.com/llvm/llvm-project/issues/197261 issue.

Co-authored-by: Vladislav Aranov <vladislav.aranov at ericsson.com>
DeltaFile
+289-0clang-tools-extra/test/clang-tidy/checkers/bugprone/misplaced-widening-cast-bitfield.cpp
+23-3clang-tools-extra/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp
+6-0clang-tools-extra/docs/ReleaseNotes.rst
+318-33 files

LLVM/project 93d04abllvm/lib/IR Verifier.cpp VerifierAMDGPU.cpp, llvm/test/Verifier callbr-intrinsic.ll

[RFC][IR] Extract AMDGPU-specific verification logic into `VerifierAMDGPU.cpp`

`Verifier.cpp` is large and already mixes generic IR verification with
target-specific checks. We also have a growing amount of AMDGPU verifier logic
downstream, which would all end up in the same file if we don't address this,
and that is not ideal.

This patch extracts AMDGPU-specific verification logic into a separate
`VerifierAMDGPU.cpp` file, with shared infrastructure (`VerifierSupport`) moved
into `VerifierInternal.h`.

This is purely a code organization change, not a target-dependent IR verifier.
All checks remain compiled and linked into `LLVMCore` regardless of the target
triple. The extracted functions are called unconditionally at well-defined
extension points in `Verifier.cpp`, and each function internally gates on
target-specific conditions (for example, triple checks or intrinsic IDs) as
needed. The file is strictly limited to AMDGPU-specific IR constructs (amdgcn
intrinsics, AMDGPU module flags, etc.), and does not contain generic IR rules
that vary by target.

    [10 lines not shown]
DeltaFile
+23-530llvm/lib/IR/Verifier.cpp
+406-0llvm/lib/IR/VerifierAMDGPU.cpp
+233-0llvm/lib/IR/VerifierInternal.h
+6-6llvm/test/Verifier/callbr-intrinsic.ll
+1-0llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
+1-0llvm/lib/IR/CMakeLists.txt
+670-5366 files

LLVM/project d9d2f32flang/lib/Semantics check-omp-structure.cpp check-omp-structure.h, flang/test/Semantics/OpenMP single04.f90 single03.f90

[flang][OpenMP] Refactor semantic check of SINGLE construct (#204339)

Extract it into a separate function and simplify the code. Avoid making
the distinction between a clause appearing on the "begin" and the "end"
directives for the purposes of emitting diagnostic messages.

One change in behavior is that using the same list item multiple times
in COPYPRIVATE clause(s) is an error regardless of the placement of the
clauses. Previously in some cases it was treated as a warning.

Part of the motivation is the goal of eliminating explicit definitions
of end-directives for directives that are not delimited, e.g. "end
single", but not "end declare_variant".
DeltaFile
+73-57flang/lib/Semantics/check-omp-structure.cpp
+14-19flang/test/Semantics/OpenMP/single04.f90
+4-9flang/test/Semantics/OpenMP/single03.f90
+1-2flang/test/Semantics/OpenMP/clause-validity01.f90
+1-0flang/lib/Semantics/check-omp-structure.h
+93-875 files

LLVM/project e57068allvm/include/llvm/IR BundleAttributes.h, llvm/lib/Analysis ValueTracking.cpp

[InstCombine] Try folding align assumes with unkown offset (#204962)

There are a few folds which don't depend on the offset of the alignment,
but are nevertheless guarded on whether the offset is known. Run these
folds unconditionally instead.
DeltaFile
+26-0llvm/test/Transforms/InstCombine/assume.ll
+6-3llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+4-2llvm/lib/IR/BundleAttributes.cpp
+1-1llvm/lib/Analysis/ValueTracking.cpp
+1-0llvm/include/llvm/IR/BundleAttributes.h
+38-65 files

FreeBSD/ports 6ce78afdevel/xopcodecalc Makefile

devel/xopcodecalc: restrict the build to x86 only due to assembly

Reported by:    pkg-fallout
DeltaFile
+3-0devel/xopcodecalc/Makefile
+3-01 files

LLVM/project e252ea6llvm/lib/Target/AMDGPU AMDGPUISelDAGToDAG.cpp SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU packed-fp64.ll packed-u64.ll

[AMDGPU] Make v2x64 BUILD_VECTOR legal on gfx1251
DeltaFile
+120-174llvm/test/CodeGen/AMDGPU/packed-fp64.ll
+70-106llvm/test/CodeGen/AMDGPU/packed-u64.ll
+14-36llvm/test/CodeGen/AMDGPU/shl.v2i64.ll
+15-16llvm/test/CodeGen/AMDGPU/pk-lshl-add-u64.ll
+11-6llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+3-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+233-3406 files

LLVM/project dd889fbllvm/lib/Target/AMDGPU SIFoldOperands.cpp, llvm/test/CodeGen/AMDGPU fold-imm-pk64.mir

[AMDGPU] Prevent folding of immediates larger than 64 bit
DeltaFile
+37-0llvm/test/CodeGen/AMDGPU/fold-imm-pk64.mir
+3-0llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+40-02 files

LLVM/project 448b725clang/include/clang/Driver Action.h, clang/lib/Driver Driver.cpp

clang/Driver: Use struct type for BoundArch instead of StringRef (#204748)

Change BoundArch arguments in the clang driver from StringRef (or
sometimes const char*) to a dedicated struct type that contains both
the architecture string and a parsed OffloadArch enum field. In the
future it may be useful to contain other feature bits here.

Co-Authored-By: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+128-136clang/lib/Driver/Driver.cpp
+22-25clang/lib/Driver/ToolChains/Cuda.cpp
+23-23clang/include/clang/Driver/Action.h
+23-22clang/lib/Driver/ToolChains/AMDGPU.cpp
+18-24clang/lib/Driver/ToolChains/Darwin.cpp
+19-20clang/lib/Driver/ToolChains/Clang.cpp
+233-25084 files not shown
+550-59690 files

NetBSD/pkgsrc-wip 7cdbbcbcloudflare-speed-cli distinfo TODO, cloudflare-speed-cli/patches patch-src_network.rs

cloudflare-speed-cli: check_if_wireless
DeltaFile
+17-4cloudflare-speed-cli/patches/patch-src_network.rs
+1-1cloudflare-speed-cli/distinfo
+0-1cloudflare-speed-cli/TODO
+18-63 files

LLVM/project 237fbfdllvm/include/llvm/CodeGen LiveInterval.h, llvm/lib/CodeGen LiveInterval.cpp LiveIntervals.cpp

[CodeGen] Join live range segments after dead def move (#204648)

Moving a dead def upward can retag a following live-range segment to the
same value as the previous segment. That leaves adjacent same-value
segments, which live range verification rejects.

Add a shared LiveRange helper for merging adjacent same-value segments.
Use it in the existing value-number merge code and after retagging later
segments for a moved dead def. Add an AMDGPU scheduler regression test.
DeltaFile
+5,126-0llvm/test/CodeGen/AMDGPU/sched-handleMoveUp-dead-def-join.mir
+25-27llvm/lib/CodeGen/LiveInterval.cpp
+10-2llvm/lib/CodeGen/LiveIntervals.cpp
+7-0llvm/include/llvm/CodeGen/LiveInterval.h
+5,168-294 files

FreeBSD/src 8de9299share/man/man4 acpi_ibm.4

acpi_ibm.4: Remove extraneous .Tn

As flagged by mandoc linter.

Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-3share/man/man4/acpi_ibm.4
+1-31 files

NetBSD/pkgsrc U9m8ImNmail/mu distinfo Makefile

   mu: update to 1.14.2

   - silence some MIME part errors
   - some emacs 28.1+ modernization
   - list org links with M-x mu4e-org-agenda-links
   - when replying to a message with some part selected, cite only that
     part
   - fix parsing of the Keywords: headers. If you use those, you're
     recommend to re-index your message
VersionDeltaFile
1.20+4-4mail/mu/distinfo
1.27+2-3mail/mu/Makefile
+6-72 files

LLVM/project 143f364clang/lib/Driver/ToolChains AMDGPU.cpp, clang/test/Driver amdgpu-openmp-gpu-max-threads-per-block.c

clang/AMDGPU: Remove driver restriction on --gpu-max-threads-per-block

Previously this flag was only handled for HIP, and would produce an unused
argument warning. There is a custom warning produced by cc1 that the
argument isn't supported, but practically speaking that was unreachable
due to not forwarding the argument. Also add a test for the untested warning.
Also use a simpler method for forwarding the flag to cc1.
DeltaFile
+14-0clang/test/Frontend/openmp-warn-gpu-max-threads-per-block.c
+2-8clang/lib/Driver/ToolChains/AMDGPU.cpp
+6-0clang/test/Driver/amdgpu-openmp-gpu-max-threads-per-block.c
+22-83 files

LLVM/project 0c843f0clang/include/clang/Driver CommonArgs.h, clang/lib/Driver/ToolChains CommonArgs.cpp AMDGPU.cpp

clang/AMDGPU: Fix double linking opencl libs with --libclc-lib

Noticed by inspection. If using an explicit --libclc-lib flag,
do not attempt to also link the rocm device libs which will contain
different implementations of the same opencl symbols.

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+8-7clang/lib/Driver/ToolChains/CommonArgs.cpp
+9-0clang/test/Driver/opencl-libclc.cl
+5-1clang/include/clang/Driver/CommonArgs.h
+2-1clang/lib/Driver/ToolChains/AMDGPU.cpp
+24-94 files

LLVM/project a39c316clang/lib/Driver/ToolChains AMDGPU.cpp HIPAMD.cpp

clang/AMDGPU: Merge toolchain subclasses

Simplify the toolchain implementations by collapsing
them into one. Previously we had a confusing split. The
AMDGPUToolChain base class implemented much of the base
support. It was subclassed by ROCMToolChain, which would
have been more accurately described as the offloading subclass.

That was further subclassed into HIP and OpenMP specific subclasses.
Deleting those two is the important part of this change. There was
code duplication, and features arbitrarily handled in one but not
the other. The offload kind is passed in almost everywhere if you
really need to know the original language. However, I consider
this an antifeature, and it is really poor QoI to have the HIP
and OpenMP toolchains behave differently in any way. The platform
should be consistent and the driver behaviors should not depend
on the language.

There is additional mess in the handling of spirv, which this

    [9 lines not shown]
DeltaFile
+264-123clang/lib/Driver/ToolChains/AMDGPU.cpp
+2-193clang/lib/Driver/ToolChains/HIPAMD.cpp
+0-94clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
+48-23clang/lib/Driver/ToolChains/AMDGPU.h
+0-68clang/lib/Driver/ToolChains/AMDGPUOpenMP.h
+1-50clang/lib/Driver/ToolChains/HIPAMD.h
+315-5514 files not shown
+340-56610 files

LLVM/project d85e202clang/lib/Driver Driver.cpp

Fix more windows paths
DeltaFile
+4-4clang/lib/Driver/Driver.cpp
+4-41 files

LLVM/project de38f4dclang/include/clang/Driver Driver.h, clang/lib/Driver Driver.cpp

Fix using unsanitized target id in filename
DeltaFile
+6-6clang/lib/Driver/Driver.cpp
+2-1clang/include/clang/Driver/Driver.h
+8-72 files

LLVM/project 370b1ddclang/lib/Driver Driver.cpp SanitizerArgs.cpp

cleanups
DeltaFile
+5-5clang/lib/Driver/Driver.cpp
+1-1clang/lib/Driver/SanitizerArgs.cpp
+6-62 files

LLVM/project d4203e1clang/include/clang/Basic OffloadArch.h, clang/include/clang/Driver BoundArch.h Job.h

Merge into OffloadArch header
DeltaFile
+0-49clang/include/clang/Driver/BoundArch.h
+31-1clang/include/clang/Basic/OffloadArch.h
+4-6clang/include/clang/Driver/Job.h
+1-1clang/include/clang/Driver/Compilation.h
+1-1clang/include/clang/Driver/Action.h
+1-1clang/include/clang/Driver/Driver.h
+38-593 files not shown
+41-629 files

LLVM/project b877270clang/include/clang/Driver BoundArch.h Action.h, clang/lib/Driver Driver.cpp

clang/Driver: Use struct type for BoundArch instead of StringRef

Change BoundArch arguments in the clang driver from StringRef (or
sometimes const char*) to a dedicated struct type that contains both
the architecture string and a parsed OffloadArch enum field. In the
future it may be useful to contain other feature bits here.

Co-Authored-By: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+132-140clang/lib/Driver/Driver.cpp
+49-0clang/include/clang/Driver/BoundArch.h
+22-25clang/lib/Driver/ToolChains/Cuda.cpp
+23-23clang/include/clang/Driver/Action.h
+23-22clang/lib/Driver/ToolChains/AMDGPU.cpp
+18-24clang/lib/Driver/ToolChains/Darwin.cpp
+267-23484 files not shown
+573-59990 files

OpenBSD/ports 3qizkdVdevel/pycharm distinfo Makefile

   devel/pycharm: update to 2026.1.3
VersionDeltaFile
1.59+2-2devel/pycharm/distinfo
1.72+2-2devel/pycharm/Makefile
+4-42 files

OpenBSD/src HP4Nzj3usr.sbin/dhcpd options.c

   create_priority_list: add bounds check for priority_len

   Overflow should not be possible since we deduplicate the options
   but an explicit check won't hurt.  Also move the dedup check for
   options 121 and 245 right before they are stored to match the other
   checks.  OK deraadt@ florian@
VersionDeltaFile
1.37+8-5usr.sbin/dhcpd/options.c
+8-51 files

FreeBSD/src 40ab0a0share/man/man4 acpi_ibm.4, sys/dev/acpi_support acpi_ibm.c

acpi_ibm(4): Refer to "mic *mute* led" instead of "mic led"

Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1share/man/man4/acpi_ibm.4
+1-1sys/dev/acpi_support/acpi_ibm.c
+2-22 files

LLVM/project e07c1e7flang/lib/Semantics check-omp-structure.cpp, llvm/include/llvm/Frontend/OpenMP OMP.td

[flang][OpenMP] Move unique clauses to allowedOnceClauses in OMP.td (#204995)

Many unique clauses were listed in "allowedClauses", which turned off
the single-occurrence check in flang. Move these clauses to the right
category to enable this check.
One exception to this is the IF clause: the IF clause is unique for all
non-compound directives, but is repeatable on compound ones with the
restriction that at most one IF clause can apply to any of the
constituents. This restriction is currently not enforced correctly in
flang, and so the IF clause was left unchanged.

Although this change is applied to a file shared between flang and
clang, clang does not use these categories for its checks, and hence is
not affected by this patch.
DeltaFile
+312-260llvm/include/llvm/Frontend/OpenMP/OMP.td
+0-3flang/lib/Semantics/check-omp-structure.cpp
+312-2632 files