NetBSD/pkgsrc-wip c9a16d1 — openssl options.mk buildlink3.mk, openssl/patches patch-util_perl_OpenSSL_config.pm

openssl: upgrade candidate to 4.1.0
DeltaFile
+6,820-0openssl/PLIST
+252-0openssl/builtin.mk
+163-0openssl/Makefile
+47-0openssl/patches/patch-util_perl_OpenSSL_config.pm
+26-0openssl/buildlink3.mk
+25-0openssl/options.mk
+7,333-04 files not shown
+7,377-110 files

pkgng/pkgng 17fa496 — . NEWS, libpkg pkg.h.in pkg_jobs.c

install|upgrade: tell that --fetch-only only downloads

The summary of a --fetch-only operation was the one of a real operation:
it asked to proceed with "this action" and announced the space which would
be freed or required, although nothing is installed, upgraded or removed
and only the packages are downloaded.

Say so in the summary, ask to proceed with the download, and leave the
space announcement out.  Add pkg_jobs_get_flags(), the counterpart of
pkg_jobs_set_flags(), to let the frontend know about the flags of the
jobs.

Reported in #2716.
DeltaFile
+74-1tests/frontend/upgrade.sh
+15-3src/utils.c
+6-0libpkg/pkg_jobs.c
+4-0libpkg/pkg.h.in
+4-0NEWS
+103-45 files

pkgng/pkgng 75df1ca — . NEWS, libpkg utils.c

install: resolve the ownership in the root directory

The users and groups of a package were resolved with getpwnam(3) and
getgrnam(3), which read the database of the host: a file declared as
belonging to a user of the root directory pkg installs into was given the
id the host knows for that name, or 0 when the host does not know it at
all, so the files were not owned by their user in the target.

Read the user and group databases of the root directory instead when pkg
installs into one, and keep resolving on the host when the files are not
there or do not carry the name.  pkg check, which resolves the names the
same way, compares against the right ids too.

Reported in #2179.
DeltaFile
+58-0libpkg/utils.c
+44-1tests/frontend/extract.sh
+4-0NEWS
+106-13 files

pkgng/pkgng 9055904 — . NEWS, docs pkg.conf.5

fetch: retry a transfer which fails in the middle

Only the connection set up was retried, FETCH_RETRY times per server, so a
connection which died in the middle of a large package aborted the whole
transaction and the bytes already downloaded were dropped.

Retry the transfer itself, the same number of times, resuming the package
where it stopped: the archives are opened for appending and the request is
ranged, which is the mechanism already used to resume a package left over
by an interrupted run.

Reported in #2786.
DeltaFile
+119-2tests/frontend/http.sh
+25-2libpkg/fetch.c
+3-0NEWS
+2-0docs/pkg.conf.5
+149-44 files

OPNSense/core a10dce5 — src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api FirewallController.php, src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api AliasController.php

fix merge artifact, move refresh action into generic layer and comment on cache flushing of pfTop action
DeltaFile
+31-1src/opnsense/www/js/opnsense_bootgrid.js
+0-22src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+1-20src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+1-8src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasController.php
+5-0src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/FirewallController.php
+38-515 files

FreeBSD/src 3fe8d76 — sys/geom geom_ctl.c

geom: Restore group operator

Traditionally, in BSD, the operator group has been intended for backup
operators and has been granted read-only access to disks and related
devices.  This includes geom.ctl, because backup operators need to be
able to dump partition tables.

Unfortunately, the geom.ctl device previously lacked proper access
control, and anyone with read access to it was able to modify GEOM
configuration, including modifying or destroying partitions, RAID
volumes, etc.  As a workaround, the ownership of geom.ctl was changed to
root:wheel so that only users who presumably already have root
privileges were able to access it.

Now that access control has been implemented, we can restore the
original ownership so backup operators can once more dump partition
tables.

This reverts commit 7d576f1d657fc21f97cedc28cc971621ee2490a7.
DeltaFile
+1-1sys/geom/geom_ctl.c
+1-11 files

LLVM/project f838efa — llvm/lib/Transforms/Vectorize LoopVectorizationLegality.cpp

[LV] Fix a read after move (#245589)

Sink the move to be last - now `RedDes` is first being asserted and only
lastly moved from.
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+1-11 files

LLVM/project 40c2fe3 — 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-56922 files not shown
+656-66328 files

LLVM/project 95e8abe — 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 270a7d6 — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/Disassembler MipsDisassembler.cpp

[ASM 1][nanoMIPS] Add basic disassembler support
DeltaFile
+150-5llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
+133-0llvm/test/MC/Mips/nanomips/valid.s
+24-0llvm/test/MC/Mips/crc/valid-nanomips.s
+11-0llvm/test/MC/Mips/ginv/valid-nanomips.s
+6-0llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+2-1llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
+326-66 files

LLVM/project bc19637 — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/MCTargetDesc MipsInstPrinter.cpp

[ASM 1][nanoMIPS] Add basic operand print methods
DeltaFile
+255-0llvm/test/MC/Mips/nanomips/valid.s
+45-3llvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
+18-0llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+7-7llvm/test/CodeGen/Mips/nanomips/32bit-system.mir
+6-6llvm/test/CodeGen/Mips/nanomips/16bit.mir
+5-5llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+336-212 files not shown
+342-238 files

LLVM/project a83e28f — llvm/lib/Target/Mips NanoMipsInstrInfo.td, llvm/lib/Target/Mips/AsmParser MipsAsmParser.cpp

[ASM 1][nanoMIPS] Add basic assembler support
DeltaFile
+419-57llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+299-0llvm/test/MC/Mips/nanomips/valid.s
+175-18llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+142-0llvm/test/MC/Mips/nanomips/cp0sel-names.s
+33-0llvm/test/MC/Mips/crc/invalid-nanomips.s
+20-8llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
+1,088-838 files not shown
+1,140-9114 files

LLVM/project e5bc2da — llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.prefetch.ll

[AMDGPU] Expand AS6 prefetch addresses during selection (#245568)

Keep 32-bit constant addresses through SelectionDAG lowering so the
scalar prefetch selector can fold nonwrapping offsets. Widen the address
after any wrapping arithmetic has completed.

Assisted by: GPT 6.2-Sol
DeltaFile
+205-0llvm/test/CodeGen/AMDGPU/llvm.prefetch.ll
+1-10llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+206-102 files

LLVM/project f21ac29 — llvm/lib/Target/Mips MipsRegisterInfo.td NanoMipsInstrInfo.td, llvm/lib/Target/Mips/MCTargetDesc MipsMCCodeEmitter.h MipsMCCodeEmitter.cpp

[ASM 1][nanoMIPS] Add register and immediate encodings
DeltaFile
+121-0llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
+32-7llvm/lib/Target/Mips/NanoMipsInstrInfo.td
+33-0llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h
+2-2llvm/test/CodeGen/Mips/nanomips/48bit.mir
+2-2llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+2-0llvm/lib/Target/Mips/MipsRegisterInfo.td
+192-116 files

LLVM/project fb4a330 — llvm/lib/Target/Mips MicroMipsDSPInstrFormats.td MicroMipsInstrFormats.td, llvm/lib/Target/Mips/AsmParser MipsAsmParser.cpp

[ASM 1][nanoMIPS] Name the asm parser variant and tag Mips instruction classes
DeltaFile
+8-1llvm/lib/Target/Mips/Mips.td
+6-2llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+5-0llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
+3-1llvm/lib/Target/Mips/MipsInstrInfo.td
+2-0llvm/lib/Target/Mips/MicroMipsInstrFormats.td
+1-0llvm/lib/Target/Mips/MicroMipsDSPInstrFormats.td
+25-43 files not shown
+28-49 files

LLVM/project f9af0a5 — llvm/test/CodeGen/Mips/nanomips 48bit.mir 32bit-branch.mir

[ASM 1][nanoMIPS] Print ABI register names for P32
DeltaFile
+56-56llvm/test/CodeGen/Mips/nanomips/32bit-alu.mir
+54-54llvm/test/CodeGen/Mips/nanomips/32bit-load-store.mir
+35-35llvm/test/CodeGen/Mips/nanomips/16bit.mir
+20-20llvm/test/CodeGen/Mips/nanomips/32bit-system.mir
+19-19llvm/test/CodeGen/Mips/nanomips/32bit-branch.mir
+7-7llvm/test/CodeGen/Mips/nanomips/48bit.mir
+191-1913 files not shown
+204-1959 files

LLVM/project 0f6ed96 — clang/lib/Sema SemaOpenMP.cpp, clang/test/OpenMP declare_variant_member_call_codegen.cpp

[Clang][OpenMP] Fix declare variant calls to member functions

When a declare variant is selected for a call to a member function,
ActOnOpenMPCall built the call to the variant from the original call
treated as a CXXMemberCallExpr, through a '.' MemberExpr. That is wrong
in two ways:

- A call to a member function is not always a CXXMemberCallExpr. Calls
  to static member functions, and member calls in a template (even with
  non-dependent arguments), are CallExprs with a MemberExpr callee.
  The existing dereference of a CXXMemberCallExpr would crash on e.g.:

    template <typename T> struct CT {
      void m_v(T);
      #pragma omp declare variant(m_v) match(user = {condition(1)})
      void m(T);
      void use(T t) { m(t); }
    };


    [6 lines not shown]
DeltaFile
+104-0clang/test/OpenMP/declare_variant_member_call_codegen.cpp
+14-5clang/lib/Sema/SemaOpenMP.cpp
+118-52 files

LLVM/project b2e8f76 — clang/include/clang/AST StmtOpenMP.h, clang/lib/CodeGen CGStmtOpenMP.cpp

[Clang][OpenMP] Add code generation for the dispatch construct

I had previously made a start on dispatch directive support (#126914)
but saw that another implementation was underway (#117904, then #131838)
so stopped to avoid duplicate effort.  Now it seems that the latter
effort stalled, so I've tried to synthesize the two patches together
into a new version (with Claude's help).

The resulting patch implements code generation for the 'dispatch'
construct, with its 'novariants', 'nocontext' and 'depend' clauses.
Other features ('device', 'adjust_args', 'append_args') are still TBD.

Sema builds the alternative forms of the associated statement
that the clauses select at run time, and stores them as children of
OMPDispatchDirective: one with the target-call replaced by a call to the
base function ('novariants'), and one with it replaced by the variant
selected without 'dispatch' ('nocontext'). Codegen emits the dispatch
region inline and selects between them:


    [9 lines not shown]
DeltaFile
+275-0clang/test/OpenMP/dispatch_codegen.cpp
+237-0clang/test/OpenMP/dispatch_clauses_codegen.cpp
+136-8clang/lib/Sema/SemaOpenMP.cpp
+80-0clang/lib/CodeGen/CGStmtOpenMP.cpp
+73-5clang/test/OpenMP/dispatch_unsupported.c
+51-1clang/include/clang/AST/StmtOpenMP.h
+852-1411 files not shown
+1,003-2317 files

LLVM/project ec2c531 — 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,
lowering and VecFCmpOp::fold share one FenvAttr::canIgnoreExceptions()
check (masked and not strict): such ops are speculatable, lower to
fpexcept.ignore and fold, and 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
+46-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
+31-0clang/test/CIR/Transforms/vector-cmp-fold.cir
+9-9clang/test/CIR/IR/fenv.cir
+126-14410 files not shown
+182-18216 files

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

OpenBSD/src kmJniWU — sys/uvm uvm_glue.c

   Take the reference of foreign process's vmspace. The concurent exec
   can destroy `ps_vmspace' during sleep.

   ok kirill
VersionDeltaFile
1.96+13-5sys/uvm/uvm_glue.c
+13-51 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