NetBSD/pkgsrc-wip 20bf410dnsdist COMMIT_MSG distinfo

net/dnsdist: Update to version 2.0.5
DeltaFile
+25-1dnsdist/COMMIT_MSG
+3-3dnsdist/distinfo
+1-1dnsdist/Makefile
+29-53 files

LLVM/project b756be6flang/lib/Optimizer/Dialect FIROps.cpp CMakeLists.txt, flang/test/Fir array-coor-canonicalization-cuf.fir

[flang][cuda] Preserve fir.rebox captured by cuf.kernel in SimplifyArrayCoorOp (#193837)

SimplifyArrayCoorOp folds fir.rebox → fir.array_coor by rewriting the
array_coor to consume the rebox's source box directly. This is unsafe
when the array_coor is inside a cuf.kernel and the rebox is not: in CUF,
a rebox of a device-attributed value (e.g. a dummy with cuf.data_attr =
device) is the op whose lowering copies the descriptor into
GPU-accessible memory. Folding it out skips the copy, so the kernel
dereferences a host-side descriptor on the device, causing
cudaErrorIllegalAddress (or cudaErrorUnknown on H100 under ATS).

The pattern already guards this hazard for OpenACC via
ACC_COMPUTE_AND_DATA_CONSTRUCT_OPS / ACC_DATA_ENTRY_OPS; this change
adds the analogous guard for cuf::KernelOp.
DeltaFile
+67-0flang/test/Fir/array-coor-canonicalization-cuf.fir
+10-0flang/lib/Optimizer/Dialect/FIROps.cpp
+1-0flang/lib/Optimizer/Dialect/CMakeLists.txt
+78-03 files

LLVM/project 42077dblldb/test/API/functionalities/plugins/python_os_plugin/os_plugin_in_dsym TestOSIndSYM.py

[lldb/test] Fix TestOSIndSYM for Darwin embedded platforms (#193839)

The test used CreateTarget(None) and relied on the attach to discover
the executable and load the dSYM. On remote platforms this doesn't find
the local dSYM, so the OS plugin never loads. Switch to
CreateTarget(executable) so the dSYM Python module is loaded before
attach.

Also split the test into two methods: test_python_os_plugin uses
spawn+attach which works both locally and on real remote platforms,
while test_python_os_plugin_remote simulates remote debugging by
manually spawning debugserver and is skipped on embedded platforms where
this setup conflicts with lldb-platform.

rdar://175455380

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+22-29lldb/test/API/functionalities/plugins/python_os_plugin/os_plugin_in_dsym/TestOSIndSYM.py
+22-291 files

LLVM/project 281f993clang/lib/CIR/CodeGen CIRGenCall.cpp, clang/test/CIR/CodeGen new.cpp nonnull.c

[CIR] Add nonnull on returns and pointer params (#188281)

Add nonnull to return attributes when the function has
ReturnsNonNullAttr (e.g. operator new), guarded by !NullPointerIsValid.
Add nonnull to pointer parameters with __attribute__((nonnull)), both
per-parameter and function-level forms.

Thread targetDecl into constructFunctionArgumentAttributes and build a
parallel ParmVarDecl array in the zip_equal loop to access
parameter-level attributes without manual index arithmetic.

Restrict->noalias handling has been moved to #191483.
DeltaFile
+38-38clang/test/CIR/CodeGenCXX/new-array-init.cpp
+32-32clang/test/CIR/CodeGen/new.cpp
+20-4clang/lib/CIR/CodeGen/CIRGenCall.cpp
+23-0clang/test/CIR/CodeGen/nonnull.c
+6-6clang/test/CIR/CodeGen/paren-list-agg-init.cpp
+5-5clang/test/CIR/CodeGen/new-delete-deactivation.cpp
+124-853 files not shown
+134-959 files

LLVM/project 222113ebolt/lib/Profile DataReader.cpp DataAggregator.cpp, bolt/test/X86 pre-aggregated-records.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+248-2bolt/unittests/Profile/DataAggregator.cpp
+60-0bolt/test/X86/pre-aggregated-records.s
+8-3bolt/lib/Profile/DataReader.cpp
+4-2bolt/lib/Profile/DataAggregator.cpp
+1-0bolt/test/X86/Inputs/pre-aggregated-bad-hex.txt
+1-0bolt/test/X86/Inputs/pre-aggregated-bad-type.txt
+322-71 files not shown
+323-77 files

LLVM/project 900e8acbolt/include/bolt/Profile DataAggregator.h, bolt/lib/Profile DataReader.cpp DataAggregator.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.4

[skip ci]
DeltaFile
+248-2bolt/unittests/Profile/DataAggregator.cpp
+8-3bolt/lib/Profile/DataReader.cpp
+4-2bolt/lib/Profile/DataAggregator.cpp
+1-0bolt/include/bolt/Profile/DataAggregator.h
+261-74 files

NetBSD/pkgsrc gOPq0jBsysutils/lsof distinfo, sysutils/lsof/patches patch-dialects_n+obsd_dproc.c

   lsof: Do not include _STABLE, _RC, etc. suffixes in version comparison.

   Avoid (some) unnecessary system version warnings on NetBSD.  The ABI
   should not change between 11.0_BETA, 11.0_RC*, 11.0, and 11.0_STABLE.
   In fact it should not change between 11.0, 11.1, 11.2, and so forth.

   The only exception is *.99.* (e.g. 11.99.5), where the full version
   should be compared.

   XXX:  This could be improved to only compare the major version when
         the minor version is less than 99.
VersionDeltaFile
1.1+26-0sysutils/lsof/patches/patch-dialects_n+obsd_dproc.c
1.113+2-1sysutils/lsof/distinfo
+28-12 files

FreeBSD/src b675ff8share/man/man4 mac_seeotheruids.4, sys/security/mac_seeotheruids mac_seeotheruids.c

mac_seeotheruids: allow specificgid to be a list of groups

The specificgid functionality has historically allowed only a single
group to be exempt, but in practice one might want a few services to
be exempt for reasons.  From a security perspective, we probably don't
want to encourage unrelated users to be grouped together solely for
this purpose, as that creates one point of shared access that could be
used for nefarious purposes.

Normalize the group list as we do cr_groups to allow for linear matching
rather than quadratic, we just need to account for the differences in
FreeBSD 15.0+ where cr_groups is entirely supplementary groups vs.
earlier versions, where cr_groups[0] is the egid and the rest is
sorted.

Reviewed by:    csjp, des (earlier version)
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D56592
DeltaFile
+164-10sys/security/mac_seeotheruids/mac_seeotheruids.c
+2-2share/man/man4/mac_seeotheruids.4
+166-122 files

Illumos/gate 7de10d4usr/src/uts/common/io/mac mac_sched.c mac_datapath_setup.c, usr/src/uts/common/sys mac_soft_ring.h mac_flow_impl.h

13157 maxbw can kill link with hires tick
17908 Removing maxbw can trap a Tx SRS in SRS_RESTART_DONE
17917 SRS_BW_ENFORCED is misnamed
17922 mac_tx_srs_drain, mac_tx_srs_enqueue do not correctly handle fanout hints
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Ryan Zezeski <ryan at zinascii.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+645-451usr/src/uts/common/io/mac/mac_sched.c
+132-87usr/src/uts/common/io/mac/mac_datapath_setup.c
+35-76usr/src/uts/common/sys/mac_soft_ring.h
+36-9usr/src/uts/common/sys/mac_flow_impl.h
+20-0usr/src/uts/common/io/mac/mac_flow.c
+0-4usr/src/uts/common/io/mac/mac_soft_ring.c
+868-6276 files

Illumos/gate 0764e87usr/src/cmd/cmd-inet/usr.sbin/snoop snoop_capture.c snoop.c, usr/src/man/man8 snoop.8

18078 snoop should report drops when capturing to file
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+7-6usr/src/man/man8/snoop.8
+10-1usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_capture.c
+3-2usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c
+20-93 files

LLVM/project 3cd4a79clang/lib/Basic OffloadArch.cpp, clang/lib/Basic/Targets SPIR.cpp

clang: Avoid hardcoding some offload triple strings (#193811)

This will make it easier to use the subarch field in the future.
DeltaFile
+16-11clang/lib/Driver/Driver.cpp
+11-6clang/lib/Basic/OffloadArch.cpp
+4-1clang/lib/Basic/Targets/SPIR.cpp
+3-1clang/lib/Sema/SemaAMDGPU.cpp
+34-194 files

LLVM/project 8ebc730llvm/lib/Object COFFObjectFile.cpp WindowsResource.cpp, llvm/test/tools/llvm-rc windres-target.test

[llvm-rc] Add support for MIPS machine (#193830)
DeltaFile
+7-0llvm/test/tools/llvm-rc/windres-target.test
+3-0llvm/lib/Object/COFFObjectFile.cpp
+3-0llvm/lib/Object/WindowsResource.cpp
+3-0llvm/tools/llvm-rc/llvm-rc.cpp
+16-04 files

OpenZFS/src 8da4729module/zfs dsl_crypt.c arc.c

key lookup failure should always return EACCES

spa_do_crypt_abd() already maps a missing key to EACCES. However
spa_do_crypt_mac_abd(), spa_do_crypt_objset_mac_abd(), and
spa_crypt_get_salt() still return the raw
spa_keystore_lookup_key() error (ENOENT). This is inconsistent
As we want to treat all “no key” failures as a permission
failure. Standardize on EACCES for the unloaded-key case.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alek Pinchuk <alek.pinchuk at connectwise.com>
Closes #18448
DeltaFile
+17-36module/zfs/dsl_crypt.c
+1-1module/zfs/arc.c
+18-372 files

LLVM/project 7ed9d96llvm/test/Transforms/PreISelIntrinsicLowering/AArch64 expand-fp-math.ll expand-fp-math-binary.ll

[AArch64][PreISelIntrinsicLowering] Adjust tests to include -march=+sve (#193833)

These tests are exercising expansion of scalable vectors. This is
ill-defined without SVE as there aren't such legal vector types. This
mostly doesn't change the output (since the ops being exercised are
Expand in both configurations), but for fcanonicalize we're testing the
wrong result as this _shouldn't_ be (and isn't) expanded when you have
SVE.
DeltaFile
+15-27llvm/test/Transforms/PreISelIntrinsicLowering/AArch64/expand-fp-math.ll
+5-5llvm/test/Transforms/PreISelIntrinsicLowering/AArch64/expand-fp-math-binary.ll
+3-4llvm/test/Transforms/PreISelIntrinsicLowering/AArch64/expand-exp.ll
+3-3llvm/test/Transforms/PreISelIntrinsicLowering/AArch64/expand-log.ll
+26-394 files

OpenZFS/src 9dd3c65tests/zfs-tests/tests/functional/cli_user/zpool_iostat zpool_iostat_002_pos.ksh

ZTS: zpool_iostat_002_pos increase sleep time

Allow an additional second for the test to complete before checking
the results.  This may explain occasional test failures in the CI.
Additionally, when the test fails dump the tmpfile for inspection.

Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18455
DeltaFile
+4-3tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_002_pos.ksh
+4-31 files

OpenZFS/src 91f9b11tests/zfs-tests/tests/functional/redundancy redundancy.kshlib redundancy_draid_spare3.ksh

ZTS: add targeted redundancy_draid_spare exception

When sequentially resilvering a dRAID pool it's possible that a few
correctable checksum errors will be reported.  This is a known issue
which is occasionally observed in the CI.  Until it's resolved we
want the test case to tolerate a few checksum errors in this scenario
to prevent false positives in the CI.

This change also has the additional side effect of standardizing in
one location how the dRAID pool integrity is verified.

Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Issue #18307
Issue #18319
Closes #18436
DeltaFile
+75-1tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib
+7-21tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare3.ksh
+2-12tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged2.ksh
+3-9tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare4.ksh
+4-8tests/zfs-tests/tests/functional/redundancy/redundancy_draid.ksh
+2-6tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare1.ksh
+93-574 files not shown
+99-8010 files

LLVM/project de82b47clang/lib/CodeGen CGExprAgg.cpp ItaniumCXXABI.cpp, clang/lib/CodeGen/Targets AMDGPU.cpp

[Clang] Fix sret AS for non-trivial-copy returns. (#186275)

classifyReturnType used getAllocaAddrSpace() for sret, which is wrong
on targets like AMDGPU where alloca lives in addrspace(5). For types
with deleted copy/move constructors, there is no way to construct into
a temp and copy out — the sret pointer must point directly to the caller's 
destination in the default address space.

Add a target hook getSRetAddrSpace() so AMDGPU can return LangAS::Default
for non-register-passable types.

Fixes issue #185744
DeltaFile
+56-16clang/test/CodeGenHIP/sret-nontrivial-copyable.hip
+29-6clang/test/CodeGenHIP/store-addr-space.hip
+12-7clang/lib/CodeGen/CGExprAgg.cpp
+13-0clang/lib/CodeGen/Targets/AMDGPU.cpp
+8-4clang/test/CodeGenCXX/no-elide-constructors.cpp
+6-4clang/lib/CodeGen/ItaniumCXXABI.cpp
+124-373 files not shown
+136-429 files

Illumos/gate 0d0158fusr/src/lib/libdevinfo devfsinfo.c devinfo_devlink.c

17992 libdevinfo: enable smatch and fix issues
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+36-24usr/src/lib/libdevinfo/devfsinfo.c
+11-10usr/src/lib/libdevinfo/devinfo_devlink.c
+10-8usr/src/lib/libdevinfo/devinfo.c
+10-1usr/src/lib/libdevinfo/devinfo_prop_decode.c
+1-6usr/src/lib/libdevinfo/Makefile.com
+1-1usr/src/lib/libdevinfo/devinfo_devperm.c
+69-506 files

FreeBSD/src 7ac7604lib/geom/cache gcache.8, lib/geom/eli geli.8

geom manuals: Clarify units

The gpart manual says that sizes are specified in blocks, unless an SI
unit suffix is provided. This confuses new operators because GEOM uses
binary bytes, a large difference at modern storage pool sizes. Rewrite
suffixes in all GEOM manuals to consistently clarify this, matching what
we and the rest of the industry have been doing in other documentation.
While here, use non-breaking spaces between numbers and units, unless
they are already written with a hyphen.

MFC after:              3 days
Reviewed by:            fuz
Reported by:            bbaovanc <bbaovanc at bbaovanc.com>
Differential Revision:  https://reviews.freebsd.org/D56534

(cherry picked from commit 975e3605ebb15cbaf5a25c1c9d1f51aed41291d0)
DeltaFile
+29-23lib/geom/part/gpart.8
+4-4sbin/ggate/ggatec/ggatec.8
+4-4lib/geom/eli/geli.8
+2-2lib/geom/cache/gcache.8
+2-2sbin/ggate/ggated/ggated.8
+41-355 files

FreeBSD/src a46205acontrib/openbsm/bsm libbsm.h, contrib/openbsm/libbsm bsm_io.c bsm_token.c

Fix memory corruption bugs in BSM record parsing

fetch_newgroups_tok(3): clamp group count to AUDIT_MAX_GROUPS before the
loop to prevent a stack buffer overflow when a crafted record specifies
more than 16 groups.

fetch_execarg_tok(3), fetch_execenv_tok(3): add a bounds check at the
top of the string-walking loop to prevent an out-of-bounds read when the
previous string's nul byte is the last byte of the record buffer.

fetch_sock_unix_tok(3): clamp the memchr search length to the number of
bytes remaining in the buffer to prevent an out-of-bounds read on short
tokens. Also clamp slen to sizeof(path) to prevent a one-byte overflow
when no nul byte is found within the path data.

fetch_socket_tok: fix copy-paste error where the remote address was
written into l_addr instead of r_addr.
Previously reported by: @haginara


    [12 lines not shown]
DeltaFile
+44-6contrib/openbsm/libbsm/bsm_io.c
+8-2contrib/openbsm/bsm/libbsm.h
+1-1contrib/openbsm/libbsm/bsm_token.c
+53-93 files

LLVM/project 6b31a99clang/lib/Driver/ToolChains Darwin.cpp, clang/test/Driver darwin-objc-selector-stubs.m

Revert "[Darwin] Remove linker version checks for objc_msgSend selector stubs (#193637)" (#193828)

This reverts commit a6ab955369ae401cec75ced651c52c2348f117ad.

The linker version checks cannot be removed yet. The commit broke builds
that were using old linkers.
DeltaFile
+43-14clang/test/Driver/darwin-objc-selector-stubs.m
+4-2clang/lib/Driver/ToolChains/Darwin.cpp
+47-162 files

LLVM/project 3baafedopenmp/docs/design Runtimes.rst

[NFC][offload][OpenMP] Fix kernel replay documentation (#193832)
DeltaFile
+6-6openmp/docs/design/Runtimes.rst
+6-61 files

NetBSD/src lYvawxYshare/man/man7 stack.7

   stack(7): tweak diagrams for readability a bit
VersionDeltaFile
1.8+30-19share/man/man7/stack.7
+30-191 files

LLVM/project ecefc4allvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[VPlan] Shallow-traverse vector-loop in dropPoisonGen (NFC) (#193635)

A shallow-traversal of the vector loop region is sufficient to operate
on Memory and Interleave recipes.
DeltaFile
+2-1llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+2-11 files

LLVM/project 6d826cbflang/include/flang/Parser parse-tree.h dump-parse-tree.h, flang/lib/Parser program-parsers.cpp unparse.cpp

[flang] Add parser support for Fortran 2023 conditional arguments (F2023 R1526-R1528) (#191303)

Implement parsing, unparsing, and parse tree nodes for the Fortran 2023
conditional argument syntax (F2023 R1526-R1528). This enables calls of
the form:

  call sub((flag ? a : b))
  call sub((x > 10 ? a : x > 5 ? b : c))
  call sub((flag ? a : .NIL.))

- Add ConditionalArg and ConditionalArgTail parse tree nodes
- Add Nil empty class for .NIL. representation
- Add ConditionalArg as a new alternative in ActualArg
- Add parser rules for conditional-arg, consequent, and chained branches
- Add unparse support for round-trip printing
- Add dump-parse-tree and FeatureList support
- Add parser tests covering simple, multi-branch, .NIL., BOZ, NULL(),
keyword arguments, and module procedure cases
DeltaFile
+453-0flang/test/Parser/conditional-arg.f90
+32-2flang/include/flang/Parser/parse-tree.h
+29-0flang/test/Semantics/conditional-arg.f90
+21-2flang/lib/Parser/program-parsers.cpp
+21-0flang/lib/Parser/unparse.cpp
+4-0flang/include/flang/Parser/dump-parse-tree.h
+560-42 files not shown
+568-48 files

OpenBSD/ports gMgkciomath/libqalculate Makefile

   Now that ports-gcc is gcc 15, this is no longer BROKEN on sparc64

   Remove BROKEN-sparc64

   ok naddy
VersionDeltaFile
1.45+0-2math/libqalculate/Makefile
+0-21 files

OpenBSD/ports gZgScSEaudio/ncmpc Makefile

   span.h is provided by GCC 15.

   Drop BROKEN-sparc64

   ok naddy
VersionDeltaFile
1.67+0-2audio/ncmpc/Makefile
+0-21 files

LLVM/project 0b255femlir/include/mlir/IR DialectRegistry.h, mlir/include/mlir/Transforms Passes.td

[mlir][canonicalize] Add filter-dialects option (#193041)

Add a new `filter-dialects` list option to the canonicalize pass. When
provided, only canonicalization patterns from the listed dialects are
collected, and the named dialects are force-loaded via
getDependentDialects.

Loading flow: the Canonicalizer's getDependentDialects override calls
`registry.addDialectToPreload(name)` for each filter-dialect name, which
records the name in a new `dialectsToPreload` list on DialectRegistry.
The PassManager's pipeline-init then calls
`dependentDialects.preloadSelectDialects(ctx, emitError)`, which loads
each preload entry via `context->getOrLoadDialect(name)` — the real
allocator is resolved from the context's own registry (registered by
the tool) and the dialect is loaded before multi-threaded execution
begins. If a requested dialect has no registration in the context, a
diagnostic `"can't load dialect '<name>': missing registration?"` is
emitted.


    [17 lines not shown]
DeltaFile
+50-5mlir/include/mlir/IR/DialectRegistry.h
+33-2mlir/lib/IR/Dialect.cpp
+29-0mlir/test/Transforms/canonicalize-filter-dialects.mlir
+25-2mlir/lib/Transforms/Canonicalizer.cpp
+7-2mlir/lib/Pass/Pass.cpp
+5-1mlir/include/mlir/Transforms/Passes.td
+149-123 files not shown
+153-169 files

LLVM/project 427c92cclang/include/clang/Basic HLSLIntrinsics.td, clang/test/CIR/CodeGen cast-lvalue-conv.cpp

rebase

Created using spr 1.3.7
DeltaFile
+120-0llvm/test/Transforms/PreISelIntrinsicLowering/RISCV/expand-fp-math.ll
+112-0llvm/test/CodeGen/X86/pr193700.ll
+48-13llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+14-43clang/test/Driver/darwin-objc-selector-stubs.m
+57-0clang/test/CIR/CodeGen/cast-lvalue-conv.cpp
+53-1clang/include/clang/Basic/HLSLIntrinsics.td
+404-5732 files not shown
+780-8938 files

LLVM/project 7813882clang/include/clang/Basic HLSLIntrinsics.td, clang/test/CIR/CodeGen cast-lvalue-conv.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+120-0llvm/test/Transforms/PreISelIntrinsicLowering/RISCV/expand-fp-math.ll
+112-0llvm/test/CodeGen/X86/pr193700.ll
+48-13llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+14-43clang/test/Driver/darwin-objc-selector-stubs.m
+57-0clang/test/CIR/CodeGen/cast-lvalue-conv.cpp
+53-1clang/include/clang/Basic/HLSLIntrinsics.td
+404-5732 files not shown
+780-8938 files