FreeBSD/src 453968clib/libsys open.2, sys/kern uipc_usrreq.c

uipc_usrreq: revert addition of EMPTYPATH for bindat(2)

The caller wants the parent vnode, which cannot be provided for emptypath
lookups.

Reported and reviewed by:       markj
Fixes:  12c590a9abd7 ("bindat(2)/connectat(2): allow implicit EMPTYPATH for unix domain sockets")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57448
DeltaFile
+2-3sys/kern/uipc_usrreq.c
+1-3lib/libsys/open.2
+3-62 files

OPNSense/core d10b62fsrc/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api AssignmentController.php, src/opnsense/mvc/app/models/OPNsense/Interfaces NetInterface.php

Interfaces: Assignments - refactor to MVC for https://github.com/opnsense/core/issues/9945

In order to migrate the interface assignments, we need to think of a way to use the differently named xml nodes for interfaces (wan, lan, ..) into something that closely resembles a standard model implementation.
Since we can't match these nodes in our statically defined model xmls, the main idea is to flush all via an in-memory model with a separate load [construct] and save hook [serializeToConfig].

The next challenge is to "stash" updates and wait for "apply" in certain cases, for this we add a temporary database holding the changes  which are synced after the actual system change has happend (pending_action, pending_if). When succesfully applied, the apply function cleans up the final stage of the configuration to make everything consistent again.

This database is a simple single json encoded file named /tmp/.interfaces.todo
DeltaFile
+0-498src/www/interfaces_assign.php
+172-0src/opnsense/mvc/app/models/OPNsense/Interfaces/NetInterface.php
+170-0src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
+90-0src/opnsense/scripts/interfaces/list_assign_options.php
+73-0src/opnsense/mvc/app/models/OPNsense/Interfaces/FieldTypes/NetInterfaceField.php
+64-0src/opnsense/scripts/interfaces/apply_pending_if_changes.php
+569-49810 files not shown
+753-50316 files

LLVM/project f357a47clang/include/clang/Basic FileManager.h, clang/include/clang/Lex HeaderSearch.h

[clang][lex] Store `HeaderFileInfo` in a `DenseMap` (#200968)

Calling `FileManager::GetUniqueIDMapping()` during modular builds gets
very expensive if the `FileManager` has seen lots of files. This
function is used in two places in the `ASTWriter` to look up
`HeaderFileInfo` in `HeaderSearch`.

This PR changes the storage of `HeaderFileInfo` from
`FileEntry::getUID()`-indexed `std::vector<T>` to
`llvm::DenseMap<FileEntryRef, T>`, improving scanning performance by
~2.5%.
DeltaFile
+37-60clang/lib/Serialization/ASTWriter.cpp
+11-22clang/lib/Lex/HeaderSearch.cpp
+0-18clang/lib/Basic/FileManager.cpp
+6-8clang/include/clang/Lex/HeaderSearch.h
+0-5clang/include/clang/Basic/FileManager.h
+54-1135 files

FreeNAS/freenas 85b57cdsrc/middlewared/middlewared/api/v25_10_1 smb.py, src/middlewared/middlewared/api/v25_10_2 smb.py pool_dataset.py

Remove `use_attribute_docstrings=True`
DeltaFile
+762-472src/middlewared/middlewared/api/v26_0_0/smb.py
+760-471src/middlewared/middlewared/api/v27_0_0/smb.py
+683-425src/middlewared/middlewared/api/v25_10_1/smb.py
+683-425src/middlewared/middlewared/api/v25_10_2/smb.py
+578-468src/middlewared/middlewared/api/v26_0_0/pool_dataset.py
+575-466src/middlewared/middlewared/api/v25_10_2/pool_dataset.py
+4,041-2,727685 files not shown
+53,237-50,899691 files

LLVM/project 2851820flang/include/flang/Optimizer/OpenACC/Support FIROpenACCOpsInterfaces.h, flang/lib/Optimizer/OpenACC/Support FIROpenACCOpsInterfaces.cpp RegisterOpenACCExtensions.cpp

[flang][acc] Attach FortranObjectViewOpInterface to acc.unwrap_private (#201646)

Since this operation is simply a zero-offset view, attach the
FortranObjectViewOpInterface to allow FIR AA to walk this if needed.
DeltaFile
+19-8flang/lib/Optimizer/OpenACC/Support/FIROpenACCOpsInterfaces.cpp
+13-3flang/include/flang/Optimizer/OpenACC/Support/FIROpenACCOpsInterfaces.h
+3-1flang/lib/Optimizer/OpenACC/Support/RegisterOpenACCExtensions.cpp
+35-123 files

FreeNAS/freenas 344c004tests/protocols pynfs_proto.py, tests/sharing_protocols/nfs test_nfs_ha.py nfs_ha_utils.py

NFS HA Tests
DeltaFile
+915-0tests/sharing_protocols/nfs/test_nfs_ha.py
+336-2tests/protocols/pynfs_proto.py
+310-0tests/sharing_protocols/nfs/nfs_ha_utils.py
+28-22tests/sharing_protocols/nfs/conftest.py
+14-16tests/sharing_protocols/nfs/test_nfs_snapdir.py
+7-0tests/sharing_protocols/nfs/test_nfs_change_attr.py
+1,610-406 files

FreeNAS/freenas 2222927src/middlewared/middlewared/utils rootfs_protection.py

Make ruff happy
DeltaFile
+1-0src/middlewared/middlewared/utils/rootfs_protection.py
+1-01 files

OPNSense/core 9e8bf1fsrc/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api AssignmentController.php, src/opnsense/mvc/app/models/OPNsense/Interfaces Assignment.php

Interfaces: Assignments - work in progress for https://github.com/opnsense/core/issues/9945

In order to migrate the interface assignments, we need to think of a way to use the differently named xml nodes for interfaces (wan, lan, ..) into something that closely resembles a standard model implementation.
Since we can't match these nodes in our statically defined model xmls, the main idea is to flush all via an in-memory model with a separate load [construct] and save hook [serializeToConfig].

The next challenge is to "stash" updates and wait for "apply" in certain cases, for this we add a temporary database holding the changes  which are synced after the actual system change has happend (pending_action, pending_if). When succesfully applied, the apply function cleans up the final stage of the configuration to make everything consistent again.

This database is a simple single json encoded file named /tmp/.interfaces.todo
DeltaFile
+0-498src/www/interfaces_assign.php
+172-0src/opnsense/mvc/app/models/OPNsense/Interfaces/Assignment.php
+170-0src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
+90-0src/opnsense/scripts/interfaces/list_assign_options.php
+73-0src/opnsense/mvc/app/models/OPNsense/Interfaces/FieldTypes/AssignmentInterfaceField.php
+64-0src/opnsense/scripts/interfaces/apply_pending_if_changes.php
+569-49810 files not shown
+754-50316 files

LLVM/project 52a4399lldb/docs/use variable.rst variable.md

[lldb][docs] Convert use/ RST docs to Markdown (NFC) (#201467)

Convert the ten user-facing RST docs under lldb/docs/use/ to MyST
Markdown. This is the third batch of an incremental RST -> Markdown
migration; PR1 covered the small leaf pages and PR2 covered the
contributor-facing docs under resources/.

Files: formatting, intel_pt, map, remote, symbolfilejson, symbolication,
symbols, troubleshooting, tutorial, variable.

Verified by building the docs on origin/main and on this branch with
identical sphinx flags and diffing both the warnings and the rendered
HTML. After file extension and line numbers are normalized, the warning
sets match exactly. Seven of the ten pages are byte-identical. The three
that differ (symbolication, tutorial, variable) differ only in
CommonMark collapsing two-spaces-after-period to one and MyST renaming
auto-numbered footnote IDs (`id6` -> `footnote-1`) plus adding an `<hr>`
separator before footnote sections.


    [17 lines not shown]
DeltaFile
+0-1,531lldb/docs/use/variable.rst
+1,496-0lldb/docs/use/variable.md
+0-1,426lldb/docs/use/map.rst
+1,300-0lldb/docs/use/map.md
+0-741lldb/docs/use/tutorial.rst
+727-0lldb/docs/use/tutorial.md
+3,523-3,69814 files not shown
+5,585-5,82920 files

LLVM/project 77a4516llvm/lib/Target/AArch64 AArch64LoadStoreOptimizer.cpp, llvm/test/CodeGen/AArch64 ldst-opt-umov-fpr-store.mir umov-fpr-store-from-phi.ll

[AArch64] Fold UMOV(lane 0) + GPR store in FPR store (#199139)

Problem: LLVM generates `umov w8, v0.h[0]` + `strh w8, [x0]` instead of
`str h0, [x0]` when storing vector lane 0 to memory, specifically when
SimplifyCFG merges stores across branches -- splitting the
extractelement and store into different basic blocks and preventing the
existing DAG combine from firing.

https://godbolt.org/z/v5G9ohMPa

Root cause: SimplifyCFG creates a PHI + merged store in a successor
block. SelectionDAG ISel processes each block independently, so it
lowers the extract to `UMOV` (GPR) in the predecessor and the store sees
only a GPR value via the PHI. Late tail duplication puts the store back
in the same block, but the `UMOV` is already baked in.

Fix: Added a post-RA peephole in `AArch64LoadStoreOptimizer` (step 6 in
`optimizeBlock`) that recognizes `UMOVvi*_idx0` + GPR store patterns and
replaces them with direct FPR sub-register stores. The peephole:

    [13 lines not shown]
DeltaFile
+332-0llvm/test/CodeGen/AArch64/ldst-opt-umov-fpr-store.mir
+170-1llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
+61-0llvm/test/CodeGen/AArch64/umov-fpr-store-from-phi.ll
+563-13 files

LLVM/project 7d27cf7llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Transforms/IndVarSimplify issue195176.ll

Revert "[SCEV] Fix ScalarEvolution::getBackedgeTakenInfo when L not found" (#201640)

Reverts llvm/llvm-project#201502 due to buildbot breakage:
https://lab.llvm.org/buildbot/#/builders/187/builds/20579
DeltaFile
+0-82llvm/test/Transforms/IndVarSimplify/issue195176.ll
+1-1llvm/lib/Analysis/ScalarEvolution.cpp
+1-832 files

LLVM/project af1c62ellvm/lib/Analysis ModuleSummaryAnalysis.cpp, llvm/lib/Transforms/IPO FunctionImport.cpp

[ThinLTO][AIX] Teach ModuleSummaryAnalysis to include globals
referenced via !implicit.ref metadata as explicit reference edges in the ThinLTO
module summary via a new helper findImplicitRefEdges. Add imported
implicit ref strings (available_externally GVs) to llvm.compiler.used during thinLTO interaction with pragma comment copyright.
DeltaFile
+60-38llvm/test/LTO/PowerPC/pragma-comment-copyright-lto.ll
+67-0llvm/test/LTO/PowerPC/pragma-comment-copyright-thinlto.ll
+39-0llvm/test/Analysis/ModuleSummaryAnalysis/implicit-ref-edges.ll
+34-0llvm/lib/Transforms/IPO/FunctionImport.cpp
+17-11llvm/lib/Transforms/Utils/LowerCommentStringPass.cpp
+24-0llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
+241-492 files not shown
+254-598 files

FreeBSD/ports 7635f3fdatabases/py-oxyde Makefile distinfo

databases/py-oxyde: Update 0.6.1 => 0.7.1

While here:
- Update DEPENDS.
- Move place of NO_ARCH (pet portclippy).
- Unbreak `make test` by adding dependency on missing
  sqlite3 and ignoring typecheck tests which are failing.

Changelogs:
- https://github.com/mr-fatalyst/oxyde/releases/tag/v0.7.0
- https://github.com/mr-fatalyst/oxyde/releases/tag/v0.7.1
Commit log:
https://github.com/mr-fatalyst/oxyde/compare/v0.6.1...v0.7.1

PR:             295850
Reported by:    Goran Mekić <meka at tilda.center> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+8-6databases/py-oxyde/Makefile
+3-3databases/py-oxyde/distinfo
+11-92 files

LLVM/project f45cd9cllvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Transforms/IndVarSimplify issue195176.ll

Revert "[SCEV] Fix ScalarEvolution::getBackedgeTakenInfo when L not found (#2…"

This reverts commit b7e08b6467d554c73997b6eb6b7a2bdec51c444e.
DeltaFile
+0-82llvm/test/Transforms/IndVarSimplify/issue195176.ll
+1-1llvm/lib/Analysis/ScalarEvolution.cpp
+1-832 files

OpenBSD/ports xgRps2Kdevel/quirks Makefile, devel/quirks/files Quirks.pm

   Register removal of xquote and xbae.
VersionDeltaFile
1.1813+3-1devel/quirks/files/Quirks.pm
1.1799+1-1devel/quirks/Makefile
+4-22 files

NetBSD/pkgsrc-wip 1fac339crush Makefile

crush: Add myself as maintainer to monitor for future versions
DeltaFile
+1-1crush/Makefile
+1-11 files

LLVM/project c193b2dflang/docs Extensions.md

[flang][docs] Documented `c_float128` and `c_float128_complex` extension (#201614)

flang has supported this for a long time, but it wasn't documented as an
extension
DeltaFile
+4-0flang/docs/Extensions.md
+4-01 files

OpenBSD/ports FzOZKR6x11 Makefile, x11/xbae Makefile

   Retire xbae. ok naddy@
VersionDeltaFile
1.802+0-1x11/Makefile
1.3+0-0x11/xbae/patches/patch-Xbae_tmpl
1.2+0-0x11/xbae/patches/patch-examples_tests_leak2_c
1.3+0-0x11/xbae/pkg/DESCR
1.5+0-0x11/xbae/pkg/PLIST
1.31+0-0x11/xbae/Makefile
+0-11 files not shown
+0-17 files

LLVM/project 131ca5cllvm/utils/gn/secondary/bolt/unittests/Profile BUILD.gn, llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility BUILD.gn

[gn build] Port commits (#201639)

3e447333fe32
a7a53bfbcff4
DeltaFile
+1-0llvm/utils/gn/secondary/bolt/unittests/Profile/BUILD.gn
+1-0llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn
+2-02 files

OpenBSD/ports USs71itproductivity Makefile, productivity/xquote Makefile distinfo

   Retire xquote. ok naddy@
VersionDeltaFile
1.123+0-1productivity/Makefile
1.24+0-0productivity/xquote/Makefile
1.4+0-0productivity/xquote/distinfo
1.3+0-0productivity/xquote/patches/patch-color_c
1.3+0-0productivity/xquote/patches/patch-color_h
1.3+0-0productivity/xquote/patches/patch-pixmap_c
+0-14 files not shown
+0-110 files

FreeNAS/freenas c43739asrc/middlewared/middlewared/api/v25_10_1 pool_dataset.py, src/middlewared/middlewared/api/v25_10_2 pool_dataset.py

Remove `use_attribute_docstrings=True`
DeltaFile
+716-426src/middlewared/middlewared/api/v26_0_0/smb.py
+715-426src/middlewared/middlewared/api/v27_0_0/smb.py
+578-467src/middlewared/middlewared/api/v26_0_0/pool_dataset.py
+575-465src/middlewared/middlewared/api/v27_0_0/pool_dataset.py
+575-465src/middlewared/middlewared/api/v25_10_2/pool_dataset.py
+575-465src/middlewared/middlewared/api/v25_10_1/pool_dataset.py
+3,734-2,714684 files not shown
+52,778-50,182690 files

LLVM/project 3e41fd5clang/test/OpenMP target_teams_generic_loop_codegen_as_parallel_for.cpp amdgcn_target_device_vla.cpp

fix tests after merge
DeltaFile
+32-42clang/test/OpenMP/target_teams_generic_loop_codegen_as_parallel_for.cpp
+19-24clang/test/OpenMP/amdgcn_target_device_vla.cpp
+7-9clang/test/OpenMP/amdgpu_target_with_aligned_attribute.c
+7-9clang/test/OpenMP/target_teams_generic_loop_codegen.cpp
+5-6clang/test/OpenMP/target_teams_generic_loop_codegen_as_distribute.cpp
+70-905 files

LLVM/project ff25d31lldb/test/API/commands/expression/call-throws TestCallThatThrows.py, lldb/test/API/functionalities/step-avoids-no-debug TestStepNoDebug.py

[lldb] xfail tests for arm64e caused by compiler bugs (#201454)

These tests are caused by bugs in clang where arm64e support is not yet
complete.
DeltaFile
+2-0lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
+2-0lldb/test/API/lang/objc/exceptions/TestObjCExceptions.py
+1-0lldb/test/API/python_api/unnamed_symbol_lookup/TestUnnamedSymbolLookup.py
+1-0lldb/test/API/commands/expression/call-throws/TestCallThatThrows.py
+1-0lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
+7-05 files

LLVM/project c0d4cdclldb/source/Plugins/Process/Utility lldb-riscv-register-enums.h RegisterInfos_riscv32.h, lldb/source/Utility RISCV_DWARF_Registers.h

Merge branch 'main' into users/hvdijk/directx-delay-converting-debug-info
DeltaFile
+3,563-3,543llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+4,489-13lldb/source/Utility/RISCV_DWARF_Registers.h
+4,473-0lldb/source/Plugins/Process/Utility/lldb-riscv-register-enums.h
+4,253-32lldb/source/Plugins/Process/Utility/RegisterInfos_riscv32.h
+921-907llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-8.ll
+440-474utils/bazel/MODULE.bazel.lock
+18,139-4,969144 files not shown
+21,318-6,860150 files

LLVM/project cd1e799clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/lib/CIR/CodeGen CIRGenExprConstant.cpp CIRGenFunction.cpp

[CIR] Lower constant block addresses for goto

GNU computed-goto code that takes a label's address in a constant
context -- the common static dispatch-table idiom
`static const void *tbl[] = {&&L1, &&L2}; goto *tbl[i];` -- hit
`errorNYI` in `ConstantLValueEmitter::VisitAddrLabelExpr`, and the
follow-on `goto *tbl[i]` then tripped the `indirectGotoBlock`
assertion in `emitIndirectGotoStmt` because the label was never
registered as address-taken.  The runtime form (`void *p = &&L;
goto *p;`) already worked; only the constant form was missing.

Label addresses had no constant representation: `cir.block_address`
existed only as an operation, which cannot appear inside a
`#cir.const_array` initializer.  Add a `#cir.block_address` constant
attribute and lower it to MLIR's `LLVM::BlockAddressAttr`, reusing the
same `BlockTagOp` resolution the operation form already uses
(threading the pass-owned `LLVMBlockAddressInfo` into the constant
value lowering and the Global/Constant lowering patterns).


    [12 lines not shown]
DeltaFile
+91-0clang/test/CIR/CodeGen/goto-address-label-table.c
+53-15clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+44-0clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+40-2clang/lib/CIR/Dialect/Transforms/GotoSolver.cpp
+24-2clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
+15-0clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+267-195 files not shown
+301-2111 files

LLVM/project 6ea777ellvm/include/llvm/IR ModuleSummaryIndex.h ModuleSummaryIndexYAML.h, llvm/lib/Bitcode/Reader BitcodeReader.cpp

[NFC][CFI] Refactor `CfiFunctionIndex` to externalize GUID calculation
DeltaFile
+55-48llvm/include/llvm/IR/ModuleSummaryIndex.h
+28-11llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
+11-10llvm/lib/LTO/LTO.cpp
+14-6llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+12-7llvm/test/Transforms/LowerTypeTests/Inputs/import-icall.yaml
+12-6llvm/test/Transforms/LowerTypeTests/export-icall.ll
+132-887 files not shown
+171-11413 files

FreeNAS/freenas 5394f79src/middlewared/middlewared/api/v27_0_0 rsync_task.py, src/middlewared/middlewared/common/attachment __init__.py

Update rsync plugin usages
DeltaFile
+28-25src/middlewared/middlewared/common/attachment/__init__.py
+22-26src/middlewared/middlewared/service/generic_sharing_service.py
+19-21src/middlewared/middlewared/service/sharing_task_service_part.py
+13-5src/middlewared/middlewared/api/v27_0_0/rsync_task.py
+11-3src/middlewared/middlewared/utils/service/task_state.py
+5-5src/middlewared/middlewared/etc_files/cron.d/middlewared.mako
+98-854 files not shown
+114-9210 files

FreeNAS/freenas 7fe70c6.github/workflows mypy.yml

Update mypy action
DeltaFile
+1-0.github/workflows/mypy.yml
+1-01 files

FreeNAS/freenas b3ca57dsrc/middlewared/middlewared/plugins rsync.py, src/middlewared/middlewared/plugins/rsync_ utils.py __init__.py

Remove old rsync code
DeltaFile
+0-654src/middlewared/middlewared/plugins/rsync.py
+0-9src/middlewared/middlewared/plugins/rsync_/utils.py
+0-0src/middlewared/middlewared/plugins/rsync_/__init__.py
+0-6633 files

FreeNAS/freenas 204ef53src/middlewared/middlewared/plugins/rsync validate.py task.py

Make rsync plugin typesafe
DeltaFile
+303-0src/middlewared/middlewared/plugins/rsync/validate.py
+201-0src/middlewared/middlewared/plugins/rsync/task.py
+107-0src/middlewared/middlewared/plugins/rsync/crud.py
+92-0src/middlewared/middlewared/plugins/rsync/__init__.py
+15-0src/middlewared/middlewared/plugins/rsync/utils.py
+718-05 files