FreeNAS/freenas d2a5eb9 —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 8d9a1ac — src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/plugins/filesystem_ acl.py

NAS-145364 / 28.0.0-BETA.1 / middleware: strengthen path handling (#20280)

Paths that an unprivileged user may control are opened with safe_open,
safe_open_raw and safe_makedirs from truenas_os_pyutils, which refuse a
symlink anywhere in the path, and a FIFO, socket or device node before
opening it.

- rsync: create and chown ~/.ssh/known_hosts through symlink-refusing
fds; cap the known_hosts read at 4 MiB
- ssh-keyscan: pass "--" before the host
- user: read authorized_keys with safe_open, capped at 1 MiB; unlink it
through a symlink-free .ssh fd
- filesystem.mkdir: chmod, rmdir and listxattr through fds; compare .ssh
by component
- NFS: refuse export paths that exportfs would rewrite
- nvmet: a FILE namespace must be a symlink-free regular file in a data
pool
- SMB: path_suffix and dataset_naming_schema must stay beneath the share
- filesystem.set_zfs_attributes: callers without FULL_ADMIN are limited

    [10 lines not shown]
DeltaFile
+118-0tests/api2/test_path_safety.py
+55-33src/middlewared/middlewared/plugins/nvmet/namespace.py
+53-33src/middlewared/middlewared/plugins/filesystem.py
+42-25src/middlewared/middlewared/utils/libvirt/cdrom.py
+21-45src/middlewared/middlewared/utils/filesystem/directory.py
+16-33src/middlewared/middlewared/plugins/filesystem_/acl.py
+305-16919 files not shown
+524-22125 files

LLVM/project e8ab13d — mlir/include/mlir/Dialect/OpenACC/Transforms Passes.h Passes.td, mlir/lib/Dialect/OpenACC/Transforms CMakeLists.txt ACCLoopCollapse.cpp

[MLIR][OpenACC] Add acc-loop-collapse pass (#245448)

Collapse each multi-dimensional scf.parallel inside an
acc.compute_region into a one-dimensional scf.parallel. The original
induction variables are recovered with remsi and divsi. Reductions are
carried over by mlir::collapseParallelLoops.

The collapsed loop keeps all discardable attributes of the original
loop, such as acc.par_dims, acc.gpu_block_redundant and acc.chunk_size.
The pass sets acc.collapse_count to the number of collapsed dimensions,
which remark emission reads. Loops outside an acc.compute_region are
unchanged.
DeltaFile
+230-0mlir/test/Dialect/OpenACC/acc-loop-collapse.mlir
+109-0mlir/lib/Dialect/OpenACC/Transforms/ACCLoopCollapse.cpp
+35-0mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.td
+8-5mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
+1-0mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h
+383-55 files

OPNSense/core 2de084a — src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api FirewallController.php, src/opnsense/mvc/app/views/OPNsense/Hostdiscovery settings.volt

hostwatch: simplify asyncDataSources behavior by modifying queryPfTopSummaryAction
DeltaFile
+15-30src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/FirewallController.php
+10-13src/opnsense/www/js/opnsense_bootgrid.js
+2-14src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+27-573 files

NetBSD/src JVtqICC — bin/sh show.c

   /bin/sh - minor DEBUG mode extension

   This is a DEBUG mode only change, it does not affect any
   shell built normally (nothing built by the NetBSD build
   machinery) in any way -- the whole file being changed is
   effectively #ifdef DEBUG and (in sh builds) DEBUG is
   never defined (except by me, and perhaps, one day, someone
   else.)

   This adds a (trivial) mechanism to allow sh debug mode trace
   files to be placed in some other directory than "." -- mostly
   so it is possible to run a DEBUG compiled shell with debug
   enabled while running ATF tests, without the trace file being
   removed ("cleaned up") by ATF as soon as the test finishes.

   NFC for any normal shell.   Definitely no pullups.
VersionDeltaFile
1.61+6-3bin/sh/show.c
+6-31 files

NetBSD/src O5ONHq0 — bin/sh eval.c

   /bin/sh - source code maintenance

   KNF (including kreNF and 80-col police).
   One grammar fix in a comment.
   Some small DEBUG mode enhancements (more info dumped),

   NFC for any normal shell.   Definitely no pullups.
VersionDeltaFile
1.202+23-17bin/sh/eval.c
+23-171 files

LLVM/project 568ec24 — llvm/test/Transforms/ScalarizeMaskedMemIntrin/SPIRV lit.local.cfg

[NFC] Add lit.local.cfg to SPIRV test directory (#245588)

The SPIR-V tests run opt with -mtriple=spirv64, and since #244345 their
checks depend on the SPIR-V TTI. In a build without the SPIR-V target,
opt falls back to the generic expansion and the checks fail. Mark the
tests unsupported in that case, as the other target directories here do.

Assisted by: Cursor

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+2-0llvm/test/Transforms/ScalarizeMaskedMemIntrin/SPIRV/lit.local.cfg
+2-01 files

LLVM/project f3f6b15 — clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/test/CIR/CodeGen fast-math-constrained.c pragma-fenv_access.c

[CIR] Shorten the #cir.fenv parameter names

Rename the #cir.fenv parameters dynamic_rounding_mode, except_mode and
strict_except to rounding, except and strict, so a constrained op prints as
fenv<rounding = tonearest, except = unknown, strict = true>. The fields stay
optional with the same meaning and defaults; the OrDefault helpers follow the
new getter names. No functional change.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+392-392clang/test/CIR/CodeGen/pragma-fenv_access.c
+58-58clang/test/CIR/Lowering/fenv.cir
+54-54clang/test/CIR/IR/fenv.cir
+24-24clang/test/CIR/CodeGen/fast-math-constrained.c
+20-24clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+16-17clang/unittests/CIR/FenvOpTest.cpp
+564-56921 files not shown
+650-65727 files

NetBSD/src mHVaAU0 — tests/bin/sh t_expand.sh

   tests/bin/sh/t_expand.sh - minor cleanups (NMFC)

   These changes make several minor changes to the layout
   of the source file, more than anything else.

   There are 3 kinds of changes (repeated throughout)

   1.  Use ' quoting rather than " quoting for the strings
       used as the value of the ATF descr variable for each
       test.  This allows $ and " to be used in those strings
       without requiring \ escaping, making them easier to read.
       Also, drop meaningless leading/trailing spaces in these
       strings, they don't use C string concat, which simply abuts
       the contents of the strings, but more like sh "$*" which
       puts spaces between the strings when joined into one.

   2.  Consistently write multi-line sh function definitions as
        func_name()
        {

    [23 lines not shown]
VersionDeltaFile
1.32+202-147tests/bin/sh/t_expand.sh
+202-1471 files

NetBSD/src tNBBfHu — tests/bin/sh renumber-sh-tests

   src/tests/bin/sh - add a source code maintenance script

   The sh tests contain many sets of tests which, when one fails, reports the
   number of the test which failed (along with symptoms, actual code, ...) as
   part of the failure log.   Those numbers match numbers inserted as comments
   with the tests, to allow the actual test to be more easily found (there tend
   to be many which differ in just small details, hunting for the correct code
   can be time consuming and error prone).

   Until now, keeping those (comment) numbers correct has been a manual process,
   itself almost as likely to fail as any of the tests the numbers are intended
   to help identify.

   This script (which has a very limited scope, just the shell ATF test sources
   - and not even all, or even a majority, of those) will create a modified
   version of the source code with all the comment numbers corrected.   That
   can then be compared with the unmodified version, and if all looks good,
   replace it.


    [14 lines not shown]
VersionDeltaFile
1.1+87-0tests/bin/sh/renumber-sh-tests
+87-01 files

LLVM/project ade4eeb — mlir/lib/Dialect/ControlFlow/IR ControlFlowOps.cpp, mlir/test/Dialect/ControlFlow ops.mlir invalid.mlir

[mlir][cf] Reject duplicate case values in cf.switch (#245483)

The verifier of cf.switch accepted case values that compare equal as
integers of the flag's width, such as 255 and -1 for an i8 flag. Such an
op has no single destination for that value, and it converts to an
llvm.switch whose translation is rejected by the LLVM IR verifier
("Duplicate integer as switch case").

Report the first repeated value instead, with its signed and, when
different, unsigned spelling and the indices of both cases. Add an
invalid test where 255 and -1 collide for i8, and a test that 1 and -1
remain distinct cases.

AI-assisted: this patch was prepared with Claude Code; I have reviewed
and tested the change and take responsibility for it.
DeltaFile
+18-0mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
+15-0mlir/test/Dialect/ControlFlow/invalid.mlir
+9-0mlir/test/Dialect/ControlFlow/ops.mlir
+42-03 files

LLVM/project bfa75f8 — llvm/test/CodeGen/AMDGPU shrink-add-sub-constant.ll build-vector-packed-partial-undef.ll, llvm/test/CodeGen/AMDGPU/GlobalISel fshr.ll llvm.amdgcn.image.atomic.dim.a16.ll

[AMDGPU][GlobalISel] Look through copies for every GCNPat pattern (#231763)

Set GIIgnoreCopies = 1 by default for GCNPat and delete
AMDGPUPatIgnoreCopies and use GCNPat instead. This change allows
GlobalISel to match several patterns it was unable to match before,
therefore closing the gap against SelectionDAG.

Resolves #231524
DeltaFile
+280-1,577llvm/test/CodeGen/AMDGPU/fmul-to-ldexp.ll
+352-1,035llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.a16.ll
+100-940llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.load.b128.ll
+158-417llvm/test/CodeGen/AMDGPU/build-vector-packed-partial-undef.ll
+199-368llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
+195-268llvm/test/CodeGen/AMDGPU/GlobalISel/fshr.ll
+1,284-4,60570 files not shown
+2,842-7,51276 files

LLVM/project 2108242 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/Transforms complex-fenv-effects.cir

[CIR] Give complex FP add/sub the fenv memory effects

cir.complex.fadd and cir.complex.fsub were Pure even with a constrained
fenv attribute, so they could be speculated or erased like unconstrained
ops. Derive them from CIR_FenvOp, as the other fenv ops are: constrained
ops read and write the FP environment and are only conditionally
speculatable, unconstrained ops stay effect-free.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+26-0clang/test/CIR/Transforms/complex-fenv-effects.cir
+3-4clang/include/clang/CIR/Dialect/IR/CIROps.td
+29-42 files

LLVM/project 8d1d388 — clang/include/clang/CIR/Dialect/IR CIRAttrs.td CIROps.td, clang/include/clang/CIR/Interfaces CIROpInterfaces.td

[CIR] Reject the empty fenv attribute

`#cir.fenv<>` with no parameter set was accepted, printed as `fenv<>` and
lowered to a constrained intrinsic, so an unconstrained operation had two
spellings. Give `#cir.fenv` a verifier that requires at least one
parameter, leaving a missing `fenv` attribute as the only way to say an
operation is unconstrained. An absent parameter takes its value in the
default FP environment (tonearest, masked, non-strict). Speculation and
lowering share one FenvAttr::canIgnoreExceptions() check (masked and not
strict, lowered to fpexcept.ignore), so a strict op stays fpexcept.strict
even when masked. Drop FPEnvConstrainedOpInterface, whose only user was
FenvOpTrait, and let the trait read the attribute from the concrete op.
Add a CIR_FenvOp base class carrying the fenv traits and argument, which
the fenv ops prepend their operands to.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+45-55clang/include/clang/CIR/Dialect/IR/CIROps.td
+21-23clang/unittests/CIR/FenvOpTest.cpp
+0-41clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+19-16clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+9-9clang/test/CIR/IR/fenv.cir
+4-11clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+98-1557 files not shown
+146-17513 files

Illumos/gate f71cb08 — usr/src/lib/libstmf Makefile.com, usr/src/lib/libstmf/common libstmf.h stmf.c

18378 want sysevents for libstmf
Reviewed by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
DeltaFile
+225-0usr/src/lib/libstmf/common/stmf.c
+29-0usr/src/uts/common/sys/sysevent/eventdefs.h
+21-0usr/src/lib/libstmf/common/libstmf.h
+2-1usr/src/lib/libstmf/Makefile.com
+277-14 files

Illumos/gate 0193bd8 — usr/src/cmd/zoneadmd Makefile zoneadmd.c, usr/src/lib/libzonecfg/common libzonecfg.c

18376 want sysevents for zones
Reviewed by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
DeltaFile
+61-2usr/src/lib/libzonecfg/common/libzonecfg.c
+48-0usr/src/cmd/zoneadmd/zoneadmd.c
+34-0usr/src/uts/common/sys/sysevent/eventdefs.h
+20-0usr/src/uts/common/sys/zone.h
+2-1usr/src/cmd/zoneadmd/Makefile
+165-35 files

FreeBSD/ports 4fa023b — dns/dnsdist Makefile, dns/powerdns Makefile

dns/{dnsdist,powerdns}: Fix build for quarterly

These ports were recently updated to use the lmdb0 port, relying on
changes introduced by commit 85ba298, which has not yet been merged
to the quarterly branch.

Since the quarterly branch still provides LMDB 0.9 through the
databases/lmdb0 port, update LIB_DEPENDS to reference liblmdb.so
instead of liblmdb0.so.

Also comment out the custom PKG_CONFIG_PATH override, as it is no
longer required for the updated dependency configuration.

Reported by:    pkg-fallout, Patrick M. Hausen (via mailing lists)
Approved by:    portmgr (blanket, build fix)
DeltaFile
+2-2dns/powerdns/Makefile
+2-2dns/dnsdist/Makefile
+4-42 files

OPNSense/core 74f6de0 — src/opnsense/mvc/app/controllers/OPNsense/Kea/forms dialogSubnet4.xml dialogReservation4.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.php KeaDhcpv4.xml

Services: Kea DHCPv4: backport BOOTP boot settings to 26.1.11

Add server hostname and boot filename settings for subnets and reservations, grouped with next server after DHCP option data.

Backport f5a6e940f7 and cd1a6d85ca.
DeltaFile
+31-9src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogSubnet4.xml
+31-9src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogReservation4.xml
+16-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+6-6src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+84-244 files

FreeNAS/freenas fd05940 — src/middlewared/middlewared/plugins/disk_ format.py

NAS-145403 / 27.1.0 / Change the error message when a new disk is too small (by yocalebo) (#20293)

The replace operation sets the partition size from the ONLINE disks in
the vdev. It does not count an OFFLINE disk. The old message told the
user to use a disk that is not smaller than the disk that they replace.
This is not correct when the OFFLINE disk is smaller than the other
disks in the vdev. The new message gives the correct rule.

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

Co-authored-by: caleb <yocalebo at gmail.com>
DeltaFile
+2-2src/middlewared/middlewared/plugins/disk_/format.py
+2-21 files

FreeNAS/freenas 0e2834b — src/middlewared/middlewared/plugins/disk_ format.py

NAS-145403 / 28.0.0-BETA.1 / Change the error message when a new disk is too small (#20292)

The replace operation sets the partition size from the ONLINE disks in
the vdev. It does not count an OFFLINE disk. The old message told the
user to use a disk that is not smaller than the disk that they replace.
This is not correct when the OFFLINE disk is smaller than the other
disks in the vdev. The new message gives the correct rule.
DeltaFile
+2-2src/middlewared/middlewared/plugins/disk_/format.py
+2-21 files

OPNSense/core e355e8e — src/opnsense/service/templates/OPNsense/IDS suricata.yaml

IDS: restore the pcap promisc setting (#11299)

In PCAP mode Suricata reads the interface settings from the pcap node.
Without it promisc stays off, so the "Promiscuous mode" option had no
effect in PCAP mode since 69aa1db11b dropped the section.
DeltaFile
+3-0src/opnsense/service/templates/OPNsense/IDS/suricata.yaml
+3-01 files

OPNSense/core bc4b55f — src/opnsense/scripts/suricata/metadata/rules et-open.xml

IDS: drop ET Open categories merged by ET (#11300)

ET merged emerging-policy into emerging-info and emerging-icmp_info
into emerging-icmp in June 2024 with the Suricata 7.0.3 ruleset, which
the suricata-8.0 path also serves. Both files are absent from the
archive, so they installed as empty rulesets with a fresh update date.
DeltaFile
+0-2src/opnsense/scripts/suricata/metadata/rules/et-open.xml
+0-21 files

OPNSense/core 6c61e1f — src/opnsense/mvc/app/controllers/OPNsense/IDS/forms generalSettings.xml, src/opnsense/mvc/app/models/OPNsense/IDS IDS.xml

IDS: limit divert listeners to 16 (#11301)

Suricata registers at most 16 divert queues (IPFW_MAX_QUEUE) and exits
at startup with more, which leaves divert-to traffic without a reader.
Values above 16 never worked.
DeltaFile
+2-1src/opnsense/mvc/app/models/OPNsense/IDS/IDS.xml
+1-1src/opnsense/mvc/app/controllers/OPNsense/IDS/forms/generalSettings.xml
+3-22 files

LLVM/project 58945bd — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/Transforms complex-fenv-effects.cir

[CIR] Give complex FP add/sub the fenv memory effects

cir.complex.fadd and cir.complex.fsub were Pure even with a constrained
fenv attribute, so they could be speculated or erased like unconstrained
ops. Derive them from CIR_FenvOp, as the other fenv ops are: constrained
ops read and write the FP environment and are only conditionally
speculatable, unconstrained ops stay effect-free.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+26-0clang/test/CIR/Transforms/complex-fenv-effects.cir
+3-4clang/include/clang/CIR/Dialect/IR/CIROps.td
+29-42 files

LLVM/project 1edec3d — clang/include/clang/CIR/Dialect/IR CIRAttrs.td CIROps.td, clang/include/clang/CIR/Interfaces CIROpInterfaces.td

[CIR] Reject the empty fenv attribute

`#cir.fenv<>` with no parameter set was accepted, printed as `fenv<>` and
lowered to a constrained intrinsic, so an unconstrained operation had two
spellings. Give `#cir.fenv` a verifier that requires at least one
parameter, leaving a missing `fenv` attribute as the only way to say an
operation is unconstrained. An absent parameter takes its value in the
default FP environment (tonearest, masked, non-strict). Speculation and
lowering share one FenvAttr::canIgnoreExceptions() check (masked and not
strict, lowered to fpexcept.ignore), so a strict op stays fpexcept.strict
even when masked. Drop FPEnvConstrainedOpInterface, whose only user was
FenvOpTrait, and let the trait read the attribute from the concrete op.
Add a CIR_FenvOp base class carrying the fenv traits and argument, which
the fenv ops prepend their operands to.

Assisted-by: Claude Code (Opus 5.5).
DeltaFile
+44-52clang/include/clang/CIR/Dialect/IR/CIROps.td
+21-23clang/unittests/CIR/FenvOpTest.cpp
+0-41clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+19-16clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+9-9clang/test/CIR/IR/fenv.cir
+4-11clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+97-1527 files not shown
+145-17213 files

OPNSense/core 0aa19d8 — src/opnsense/scripts/suricata/lib downloader.py

IDS: add a timeout to rule downloads (#11303)

A server that accepts the connection and never answers kept
rule-updater.py waiting indefinitely while it holds the lock, so every
later "ids update" exited early while configd reported OK.
DeltaFile
+2-1src/opnsense/scripts/suricata/lib/downloader.py
+2-11 files

OPNSense/core 75a6628 — src/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt, src/opnsense/mvc/app/views/OPNsense/Hostdiscovery settings.volt

bootgrid: simplify this further
DeltaFile
+5-9src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+4-8src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+9-3src/opnsense/www/js/opnsense_bootgrid.js
+18-203 files

OPNSense/core 8b4eba3 — src/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt

updates only visible rows, making the spinner appear quickly. However, Tabulator keeps extra rows just outside the viewport in its virtual-DOM buffer. Those rows may show a spinner but are excluded from the “visible” update that removes it, leaving them spinning indefinitely.
DeltaFile
+5-3src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+5-31 files

OPNSense/core d354ed3 — src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterController.php, src/opnsense/mvc/app/models/OPNsense/Firewall/ACL ACL.xml

firewall: Load statistics async
DeltaFile
+87-57src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+3-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterController.php
+1-0src/opnsense/mvc/app/models/OPNsense/Firewall/ACL/ACL.xml
+91-593 files

OPNSense/core 77ae9aa — src/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt, src/opnsense/www/js opnsense_bootgrid.js

bootgrid: remove row.update() calls and instead bind it to a formatter. Also add refresh feedback
DeltaFile
+36-36src/opnsense/www/js/opnsense_bootgrid.js
+20-1src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+56-372 files