FreeBSD/src 8f715c6crypto/openssh freebsd-configure.sh

openssh: Fix SIZEOF_TIME_T in freebsd-configure.sh

Sponsored by:   The FreeBSD Foundation
Reviewed by:    jlduran
Differential Revision: https://reviews.freebsd.org/D57053

(cherry picked from commit 0b0e5daf4333a0faf93133f7d2c7b3743eead9d8)
(cherry picked from commit b718f7d88157f4d5827e3639c1e0ba7e5383ed04)
DeltaFile
+7-0crypto/openssh/freebsd-configure.sh
+7-01 files

pkgng/pkgng 0bf809b. configure.def, compat reallocf.c bsd_compat.h

CI: Add reallocf(3) for non-BSD platforms

Alpine Linux (musl) systems lack the reallocf(3) function.

Add reallocf.c to the compat layer, using FreeBSD's implementation.

Fixes:  9b1f2b153 ("rwhich: implement file tracking and search for remote repositories")
DeltaFile
+52-0compat/reallocf.c
+4-0compat/bsd_compat.h
+2-1compat/Makefile.in
+1-1configure.def
+59-24 files

FreeBSD/ports 13d9151emulators/fuse-utils distinfo Makefile

emulators/fuse-utils: update to 1.4.5
DeltaFile
+3-3emulators/fuse-utils/distinfo
+1-1emulators/fuse-utils/Makefile
+4-42 files

FreeBSD/ports 17e7428emulators/libspectrum distinfo Makefile

emulators/libspectrum: update to 1.6.1
DeltaFile
+3-3emulators/libspectrum/distinfo
+1-1emulators/libspectrum/Makefile
+1-1emulators/libspectrum/pkg-plist
+5-53 files

LLVM/project 58996c1clang-tools-extra/clang-doc BitcodeReader.cpp

Silence "switch statement contains default but no case labels"; NFC (#198866)

65f8a7c1c423d96597bdb14062a0d0eb27d7caf4 accidentally introduced some
diagnostics from having a switch statement with a default label but no
case labels. This removes the switch statements until we have more cases
to add.
DeltaFile
+6-15clang-tools-extra/clang-doc/BitcodeReader.cpp
+6-151 files

FreeBSD/src bc301fetests/sys/net/routing test_routing.sh Makefile

routing: Add tests for metric

Add tests to make sure:
* Default metric is enforced.
* Lowest metric wins.
* Deleting routes by specifying gateway/metric works.

Reviewed by:    markj
Differential Revision: https://reviews.freebsd.org/D57016
DeltaFile
+231-0tests/sys/net/routing/test_routing.sh
+3-0tests/sys/net/routing/Makefile
+234-02 files

FreeBSD/src 1f03c62usr.bin/netstat route.c route_netlink.c

netstat(1): Show metric value for routes

Add metric support and show its value in wide flag and
libxo output.
Also, add metric to the description of wide flag (`-w`) in
routing display (`-r`) section of manual page.

Reviewed by:    markj (manpage)
Discussed with: markj
Differential Revision: https://reviews.freebsd.org/D57011
DeltaFile
+8-4usr.bin/netstat/route.c
+6-3usr.bin/netstat/route_netlink.c
+2-2usr.bin/netstat/netstat.1
+1-0usr.bin/netstat/common.h
+17-94 files

FreeBSD/src d87e5b2sbin/route route.8

route.8: Describe metric modifier

Describe `-metric` argument in the route manual.

Discussed with: ziaee
Differential Revision: https://reviews.freebsd.org/D57025
DeltaFile
+21-1sbin/route/route.8
+21-11 files

FreeBSD/src 2e2d402sbin/route route.c route_netlink.c

route(8): Add metric argument

Add support for metric in route command.

Differential Revision: https://reviews.freebsd.org/D56335
DeltaFile
+4-0sbin/route/route.c
+2-0sbin/route/route_netlink.c
+1-0sbin/route/keywords
+7-03 files

FreeBSD/src f15b8a8sbin/route route_netlink.c

route(8): Show metric value in monitor route

Reviewed by:    glebius
Differential Revision: https://reviews.freebsd.org/D56326
DeltaFile
+1-0sbin/route/route_netlink.c
+1-01 files

FreeBSD/src 6dd429asbin/route route_netlink.c

route(8): Show metric value in get route

Reviewed by:    glebius
Differential Revision: https://reviews.freebsd.org/D56325
DeltaFile
+5-2sbin/route/route_netlink.c
+5-21 files

FreeBSD/src b9a246ashare/man/man4 rtnetlink.4

rtnetlink.4: Add RTA_PRIORITY

Add metric implementation of netlink to manual.

Reviewed by:    markj
Differential Revision: https://reviews.freebsd.org/D56324
DeltaFile
+3-1share/man/man4/rtnetlink.4
+3-11 files

FreeBSD/src 73acfc5sys/netlink netlink_snl_route_parsers.h, sys/netlink/route rt.c route.h

netlink: Add RTA_PRIORITY support (metric)

* Use our new 32-bit metric for RTA_PRIORITY support.
* Update snl library for new RTA_PRIORITY support.
* return RTA_PRIORITY for both MPATH and non-MPATH routes.

Reviewed by:    glebius (previous version)
Discussed with: markj
Differential Revision: https://reviews.freebsd.org/D56323
DeltaFile
+15-2sys/netlink/route/rt.c
+4-0sys/netlink/netlink_snl_route_parsers.h
+1-1sys/netlink/route/route.h
+20-33 files

FreeBSD/src c0256b3sys/net route.h, sys/net/route nhgrp_ctl.c nhop_ctl.c

routing: Add support for metric

In our routing stack implementation, metric is an attribute
of the nexthop, not the route itself.
Store metric in nhop_priv which is control-plane data of
nexthop, filter the nexthops by metric and populate the mpath
slots in nexthop group with only the lowest metric nexthops
for use in the forwarding path.

`cmp_priv()` compares nhops based on priv hash.
Add metric compare logic to it and only return nexthops
with different metrics if the input nexthop's metric is
zero (wildcard).
Also, add support for metric via rtsock by introducing rmx_metric.

Finally, remove the upper 8-bit reservation of weight for
administrative distance.

Reviewed by:    adrian

    [3 lines not shown]
DeltaFile
+45-18sys/net/route/nhgrp_ctl.c
+36-3sys/net/route/nhop_ctl.c
+5-2sys/net/route.h
+1-4sys/net/route/route_ctl.c
+2-1sys/net/route/nhop_var.h
+2-0sys/net/route/nhop.h
+91-282 files not shown
+93-288 files

FreeBSD/src b718f7dcrypto/openssh freebsd-configure.sh

openssh: Fix SIZEOF_TIME_T in freebsd-configure.sh

Sponsored by:   The FreeBSD Foundation
Reviewed by:    jlduran
Differential Revision: https://reviews.freebsd.org/D57053

(cherry picked from commit 0b0e5daf4333a0faf93133f7d2c7b3743eead9d8)
DeltaFile
+7-0crypto/openssh/freebsd-configure.sh
+7-01 files

FreeBSD/ports 46e785fwww/ungoogled-chromium distinfo Makefile, www/ungoogled-chromium/files patch-content_browser_renderer__host_render__process__host__impl.cc patch-content_public_common_content__features.cc

www/ungoogled-chromium: update to 148.0.7778.178
DeltaFile
+7-7www/ungoogled-chromium/distinfo
+4-4www/ungoogled-chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc
+3-3www/ungoogled-chromium/files/patch-content_public_common_content__features.cc
+1-1www/ungoogled-chromium/Makefile
+15-154 files

FreeBSD/src 59601a7lib/libcasper/services/cap_net cap_net.3

cap_net.3: Clarify monotonic reduction in permitted operations

Reviewed by:    markj, oshogbo
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57141
DeltaFile
+2-1lib/libcasper/services/cap_net/cap_net.3
+2-11 files

OpenBSD/ports 2EZCqGXwww/ungoogled-chromium distinfo Makefile, www/ungoogled-chromium/patches patch-content_browser_renderer_host_render_process_host_impl_cc patch-content_public_common_content_features_cc

   update to 148.0.7778.178
VersionDeltaFile
1.149+6-6www/ungoogled-chromium/distinfo
1.47+3-3www/ungoogled-chromium/patches/patch-content_browser_renderer_host_render_process_host_impl_cc
1.44+2-2www/ungoogled-chromium/patches/patch-content_public_common_content_features_cc
1.231+1-2www/ungoogled-chromium/Makefile
+12-134 files

OpenBSD/ports lefVYCvnet/tor distinfo Makefile

   Update to tor 0.4.9.8

   ok sthen@
VersionDeltaFile
1.143.2.1+2-2net/tor/distinfo
1.178.2.1+1-1net/tor/Makefile
+3-32 files

LLVM/project 157413dflang/lib/Semantics resolve-names.cpp

Add taskgraph

"taskgraph" is explicitly mentioned in the data-sharing rules in the spec.
DeltaFile
+1-0flang/lib/Semantics/resolve-names.cpp
+1-01 files

LLVM/project 5ad9cecllvm/lib/Target/RISCV RISCVInstrInfoC.td

[RISCV] NFC: Use the new "let append" TableGen feature to reduce duplication (#198761)

llvm#182382 introduced a language extension to accumulate field values:
“append” concatenates the new value after the current value, whilst
"prepend" concatenates before the existing value. This change uses that
feature to eliminate repetition in the definition of some of the
compressed instructions.

For example, line 267 of RISCVIntrInfoC.td establishes a scope for “`let
Predicates = [HasStdExtZca] in {`”; this scope ends on line 515.
Meanwhile, line 454 wants to add the `IsRV64` predicate for a single
instruction but was forced to duplicate the previous condition as well:
“`let Predicates = [HasStdExtZca, IsRV64] in`”. That’s no longer
necessary since the addition can now be explicit: “`let append
Predicates = [IsRV64] in `”

I‘ve verified that this change has no effect on the TableGen output.

It seems quite likely that this same change could be made in some of the
other RISC-V TableGen source files…
DeltaFile
+22-36llvm/lib/Target/RISCV/RISCVInstrInfoC.td
+22-361 files

LLVM/project f755811libc/include/llvm-libc-types EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h CMakeLists.txt

[libc][nfc] Include header for EFIAPI macro (#198876)

This file uses `EFIAPI`, but it's not included. It looks like
compilation currently succeeds because `EFI_SYSTEM_TABLE.h` is the only
header that includes `EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h`, and it happens
to include `EFIAPI-macros.h` indirectly.

We will be adding Bazel rules for this file, and Bazel typically
requires all headers to be compilable on their own. This build error is
theoretically reproducable by running cmake build with
`-DCMAKE_VERIFY_INTERFACE_HEADER_SETS` if we had the appropriate
FILE_SETs defined.
DeltaFile
+1-0libc/include/llvm-libc-types/EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.h
+1-0libc/include/llvm-libc-types/CMakeLists.txt
+2-02 files

LLVM/project 8b1dbe5clang/test/CIR/CodeGen new-array-in-ternary.cpp, lldb/tools/lldb-dap/extension package-lock.json

Merge branch 'main' into users/ilovepi/instrumentor-nondet
DeltaFile
+2,504-1,285lldb/tools/lldb-dap/extension/package-lock.json
+272-176mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
+281-149mlir/test/Dialect/Vector/vector-dropleadunitdim-transforms.mlir
+136-153mlir/utils/vscode/package-lock.json
+180-0clang/test/CIR/CodeGen/new-array-in-ternary.cpp
+56-38llvm/lib/Transforms/Vectorize/VPlan.h
+3,429-1,80196 files not shown
+4,522-2,182102 files

FreeBSD/ports 7a483afx11-wm/river distinfo Makefile.zig

x11-wm/river: update to 0.4.5

Approved by:    lwhsu (mentor, implicitly)
DeltaFile
+11-9x11-wm/river/distinfo
+5-4x11-wm/river/Makefile.zig
+2-2x11-wm/river/Makefile
+18-153 files

LLVM/project 4e17b5bclang-tools-extra/clangd ClangdLSPServer.cpp, clang-tools-extra/clangd/unittests ClangdLSPServerTests.cpp

[clangd] Fix crash when server shuts down with in-flight rename or tweak (#198019)

Fixes #196225.

Root cause: When clangd shuts down, `ClangdLSPServer`'s destructor calls
`Server.reset()` to destroy the `ClangdServer` object. `ClangdServer`
then destroys the work scheduler, which blocks and waits for in-flight
tasks to finish. If a rename task is in flight, the callback will try to
access the now-reset `ClangdLSPServer::Server` in
https://github.com/llvm/llvm-project/blob/4f9a7d09f4760ac9c5745e8bb829366d29ff9687/clang-tools-extra/clangd/ClangdLSPServer.cpp#L916-L917

The same issue occurs with `onCommandApplyTweak`, as its callback also
accesses `ClangdLSPServer::Server`:
https://github.com/llvm/llvm-project/blob/4f9a7d09f4760ac9c5745e8bb829366d29ff9687/clang-tools-extra/clangd/ClangdLSPServer.cpp#L828-L829

A reproducer has been added to #196225.

This PR fixes these issues by capturing a reference to `ClangdServer`
and using it in the callbacks instead of the `ClangdLSPServer::Server`

    [8 lines not shown]
DeltaFile
+16-0clang-tools-extra/clangd/unittests/ClangdLSPServerTests.cpp
+5-5clang-tools-extra/clangd/ClangdLSPServer.cpp
+21-52 files

FreeBSD/ports 488c71btextproc/diffstat distinfo Makefile

textproc/diffstat: update to 1.69
DeltaFile
+3-3textproc/diffstat/distinfo
+1-1textproc/diffstat/Makefile
+4-42 files

LLVM/project 7801c10clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis UnsafeBufferReachableAnalysisTest.cpp

clang format
DeltaFile
+2-2clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+2-21 files

LLVM/project 570b6e5flang/lib/Semantics resolve-names.cpp

Update directive list

Add dispatch - it accepts privatizing clause: is_device_ptr.
Remove workshare, workdistribute - they execute in implicit tasks.
DeltaFile
+1-2flang/lib/Semantics/resolve-names.cpp
+1-21 files

LLVM/project 0489434llvm/lib/Target/AMDGPU AMDGPURegBankCombiner.cpp, llvm/test/CodeGen/AMDGPU global-saddr-load.ll

PR feedback, fix tests
DeltaFile
+24-90llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
+12-14llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
+36-1042 files

FreeBSD/ports ec77ae3games/open-adventure Makefile distinfo, games/open-adventure/files patch-advent.adoc

games/open-adventure: upgrade to version 1.21

Changes relative to the previous port version 1.16:

 * Saying Z’ZZZ at reservoir no longer causes the waters to part
   and crash.
 * Man-page has been brought up-to-date.
 * Ensure that the KNIVES_VANISH message can’t issue twice.
 * Make oldstyle correctly suppress line editing.
 * Code-hardening and spell-checking of texts.
DeltaFile
+8-4games/open-adventure/Makefile
+10-0games/open-adventure/files/patch-advent.adoc
+3-3games/open-adventure/distinfo
+21-73 files