FreeBSD/src 4df539cusr.sbin/periodic/etc/security 520.pfdenied

pfdenied: fix checking root anchor

pfctl doesn't like empty anchors (-a ''), but we can specify the root
anchor as '/' too, so do that instead.

PR:             295324
Tested by:      Paweł Krawczyk
MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 3d9cd10b2857ee7a9ec1b04457d9ec44f614d32c)
DeltaFile
+1-1usr.sbin/periodic/etc/security/520.pfdenied
+1-11 files

FreeBSD/src b0f7518usr.sbin/periodic/etc/security 520.pfdenied

pfdenied: fix checking root anchor

pfctl doesn't like empty anchors (-a ''), but we can specify the root
anchor as '/' too, so do that instead.

PR:             295324
Tested by:      Paweł Krawczyk
MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 3d9cd10b2857ee7a9ec1b04457d9ec44f614d32c)
DeltaFile
+1-1usr.sbin/periodic/etc/security/520.pfdenied
+1-11 files

LLVM/project 81967cfllvm/docs AMDGPUUsage.rst

[AMDGPU] Document that only naturally aligned atomics of up to 64 bits are supported by the AMDGPU backend (#200167)

We get an error from AtomicExpandPass if those constraints are not satisfied.
The 64-bit limit is set [here, in AMDGPUISelLowering.cpp](https://github.com/llvm/llvm-project/blob/5cac2751fb9cf3112d16717b278e40d07dd6cfdc/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp#L645).

This patch also introduces a new "Unsupported IR Constructs" section to the AMDGPUUsage doc, where we can document more such cases.
DeltaFile
+12-0llvm/docs/AMDGPUUsage.rst
+12-01 files

LLVM/project 992f140llvm/include/llvm/Analysis InstructionSimplify.h, llvm/lib/Analysis InstructionSimplify.cpp

[InstSimplify] Expose simplifyIntrinsic (NFC) (#202577)

With the objective of using it in the constant-folder.
DeltaFile
+79-89llvm/lib/Analysis/InstructionSimplify.cpp
+14-4llvm/include/llvm/Analysis/InstructionSimplify.h
+93-932 files

LLVM/project 2865ba7llvm/test/Analysis/CostModel/AArch64 sve-arith-fp.ll

[AArch64] Add SVE cost tests for fp128 vectors. NFC (#202874)
DeltaFile
+24-0llvm/test/Analysis/CostModel/AArch64/sve-arith-fp.ll
+24-01 files

NetBSD/pkgsrc Ot6vyzJx11/editres Makefile

   editres: make sure build finds the correct app-defaults dir.
VersionDeltaFile
1.17+3-1x11/editres/Makefile
+3-11 files

LLVM/project 1dc53ballvm/lib/Target/RISCV RISCVMoveMerger.cpp, llvm/test/CodeGen/RISCV rv32-move-merge.ll

[RISCV][P-ext] Merge paired pli/plui in RISCVMoveMerger (#202566)

64-bit packed-splat constants are returned as i64, which SelectionDAG
splits into two i32 halves materialized as single-reg
pli.b/pli.h/plui.h. Merge matching pairs writing the two halves of a
GPRPair into the paired pli.db/pli.dh/plui.dh form.
DeltaFile
+136-15llvm/lib/Target/RISCV/RISCVMoveMerger.cpp
+94-0llvm/test/CodeGen/RISCV/rv32-move-merge.ll
+230-152 files

NetBSD/pkgsrc AP8R49Bnet/wget Makefile distinfo, net/wget/patches patch-src_http-ntlm.c

   wget: fix build with nettle-4
VersionDeltaFile
1.1+26-0net/wget/patches/patch-src_http-ntlm.c
1.185+2-2net/wget/Makefile
1.74+2-1net/wget/distinfo
+30-33 files

NetBSD/pkgsrc-wip 5c0aa57brush-shell Makefile PLIST, brush-shell/patches patch-.._vendor_nix-0.31.2_src_sys_wait.rs

brush-shell: fix build
DeltaFile
+30-0brush-shell/patches/patch-.._vendor_nix-0.31.2_src_sys_wait.rs
+11-1brush-shell/Makefile
+1-3brush-shell/PLIST
+1-0brush-shell/distinfo
+43-44 files

OPNSense/ports d04c3d0opnsense/phpseclib distinfo Makefile

opnsense/phpseclib: update to 3.0.53
DeltaFile
+3-3opnsense/phpseclib/distinfo
+1-1opnsense/phpseclib/Makefile
+4-42 files

NetBSD/pkgsrc YAuAhAbdoc CHANGES-2026

   Updated net/yt-dlp, devel/py-xbe
VersionDeltaFile
1.3686+3-1doc/CHANGES-2026
+3-11 files

OpenBSD/ports zPHLGOjastro/stellarium Makefile

   Unbreak: ENABLE_SPEECH=OFF does not seem to do the right thing.

   reported by naddy@
VersionDeltaFile
1.114+4-4astro/stellarium/Makefile
+4-41 files

NetBSD/pkgsrc Rp8tCKXdevel/py-xbe PLIST Makefile

   py-xbe: updated to 1.0.4

   1.0.4
   Unknown changes
VersionDeltaFile
1.3+6-6devel/py-xbe/PLIST
1.7+6-4devel/py-xbe/Makefile
1.8+4-4devel/py-xbe/distinfo
+16-143 files

LLVM/project 2a3342corc-rt/lib/executor/sps-ci CallSPSCI.cpp, orc-rt/unittests CallSPSCITest.cpp

[orc-rt] Fix off-by-one error in d20eca15e88 (SPS CI for calls). (#202872)

The main-function shaped caller in d20eca15e88 had an off-by-one error
that I missed as I was looking at a stale build folder. This commit
fixes the error, and makes some changes to related unit test variable
names for consistency.
DeltaFile
+23-24orc-rt/unittests/CallSPSCITest.cpp
+3-1orc-rt/lib/executor/sps-ci/CallSPSCI.cpp
+26-252 files

LLVM/project dc352aallvm/lib/IR Value.cpp

[IR] Avoid unnecessary canBeFreed() calls (NFC) (#202685)

Do not call canBeFreed() if the value can't ever be freed (e.g. for
globals) or if there are no known dereferenceable bytes. The check is
relatively expensive.

(The compile-time impact is only visible when enabling deref-at-point
semantics.)
DeltaFile
+11-3llvm/lib/IR/Value.cpp
+11-31 files

NetBSD/pkgsrc qypSdlanet/yt-dlp PLIST distinfo

   yt-dlp: updated to 2026.6.9

   yt-dlp 2026.06.09

   Important changes

   The minimum supported versions of Deno, Node, and Bun have been raised.
   The minimum required version of Deno is now v2.3.0; supported Node versions are v22 and up; Bun support has been deprecated and limited to versions 1.2.11 through 1.3.14.
   Security
   Usage of vulnerable conversions (e.g. %()s) with the --exec option is an all-too-common pitfall. To remedy this, --exec now only allows safe conversions in its command templates.
   Most users can simply replace %(...)s with %(...)q in their --exec argument(s). Numeric conversions are unaffected by this change. Using unsafe conversions with --exec poses a significant security risk. Read more
   [CVE-2026-50019] File Downloader cookie leak with curl
   Impact is limited to users of --downloader curl; cookies are now properly passed to curl so that it respects their scope
   [CVE-2026-50023] Dangerous file type creation via insufficient filename sanitization
   Writing files with the extensions .desktop, .url, or .webloc is now only allowed in the context of --write-link functionality
   [CVE-2026-50574] Arbitrary code execution via manifest downloads with aria2c
   Impact is limited to users of --downloader aria2c
   Support for downloading HLS and DASH formats with aria2c has been removed. Users affected by this change should migrate to use -N for concurrent fragment downloads via the native downloader
VersionDeltaFile
1.60+1-247net/yt-dlp/PLIST
1.84+4-4net/yt-dlp/distinfo
1.91+2-2net/yt-dlp/Makefile
+7-2533 files

FreeBSD/ports 3b71362sysutils/restic distinfo Makefile

sysutils/restic: Update to 0.19.0

ChangeLog:      https://github.com/restic/restic/releases/tag/v0.19.0
MFH:            2026Q2
(cherry picked from commit 1ee622d177084f8a7883c401039608309d66b2ad)
DeltaFile
+5-5sysutils/restic/distinfo
+1-2sysutils/restic/Makefile
+6-72 files

LLVM/project e7dcdf0llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 reset-fpenv-mmo.ll

[X86] LowerRESET_FPENV - use MOLoad for the constant-pool FLDENVm MMO (#201832)

LowerRESET_FPENV builds a MachineMemOperand with the MOStore flag and
attaches it to X86ISD::FLDENVm, which is mayLoad = 1. The direction
contradicts the SDNode, and SelectionDAGISel's memref filter (in
SelectCodeCommon) silently drops the MMO, leaving the final MachineInstr
without any memrefs - no miscompile, but no useful load-side metadata
either.

Sister path LowerGET_FPENV_MEM already flips MOStore -> MOLoad before
attaching its MMO to FLDENVm. Match that here so the MMO survives ISel.

Adds a MIR-trailer regression test asserting FLDENVm carries the
expected `:: (load (s224) from constant-pool, align 4)` memref.

This was found as part of @jlebar's X86 LLVM bug hunt / FuzzX effort:
https://github.com/SemiAnalysisAI/FuzzX/tree/master/x86 :
x86/bugs/014-resetfpenv-mmo-flagged-as-store-on-load

cc @jlebar
DeltaFile
+18-0llvm/test/CodeGen/X86/reset-fpenv-mmo.ll
+1-1llvm/lib/Target/X86/X86ISelLowering.cpp
+19-12 files

OPNSense/src 88e84d7sys/dev/axgbe xgbe-phy-v2.c xgbe-i2c.c

axgbe: gracefully handle i2c bus failures

In (unknown) situations it seems the i2c bus can have trouble,
while nothing about the current link state has changed, the driver
would react by going into a link down state, and start busylooping
on up to 4 cores. Even if there was a valid link, such spinning
on a cpu by a kernel thread would wreak havoc to existing and
new connections.

This patch does the following:
1. If such a bus failure occurs, we keep the last known link state.
2. Prevent busy looping by implementing the lockmgr() facility to
be able to sleep while the i2c code waits on the i2c ISR. We cap
this with a timeout.
3. Pin the admin queues to the last CPU in the system, to prevent
other scenarios where busy looping might occur from landing on CPU
0, which especially seems to cause a lot of issues.

Given the design constraints both in hardware and in software,

    [9 lines not shown]
DeltaFile
+62-29sys/dev/axgbe/xgbe-phy-v2.c
+37-13sys/dev/axgbe/xgbe-i2c.c
+4-1sys/dev/axgbe/xgbe-mdio.c
+5-0sys/dev/axgbe/xgbe.h
+2-1sys/dev/axgbe/if_axgbe_pci.c
+1-1sys/dev/axgbe/xgbe-phy-v1.c
+111-456 files

OPNSense/src dd9da70sys/netinet ip_output.c ip_fastfwd.c, sys/netinet6 ip6_output.c ip6_fastfwd.c

pf|ipfw|netinet6?: shared IP forwarding

This removes the if_output calls in the pf(4) code that escape further
processing by defering the forwarding execution to the network stack
using on/off style sysctls for both IPv4 and IPv6.

Also see: https://reviews.freebsd.org/D8877
DeltaFile
+136-12sys/netinet6/ip6_output.c
+108-10sys/netinet/ip_output.c
+39-48sys/netinet6/ip6_fastfwd.c
+28-46sys/netpfil/ipfw/ip_fw_pfil.c
+36-31sys/netinet6/ip6_forward.c
+28-37sys/netinet/ip_fastfwd.c
+375-1846 files not shown
+459-23712 files

OPNSense/src a0ec3d8stand/efi/loader main.c bootinfo.c

stand: add EFI support for mmio serial consoles

When no legacy serial is found, we may be looking at a non-legacy mmio
serial device mapping, in which case the efi_devpath_name() for name
ConOutDev looks like this:

    VenHw(XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,0090DCFE00000000)/Uart(115200,8,N,1)/VenVt100()

Which should tell the kernel to attach a console to 0xfedc9000
(little endian 64 bit value).  The value is stored behind the
VENDOR_DEVICE_PATH struct as a byte stream hence we need to check
if said address is appended behind the node.  Also enforce use for
uart by requiring the console speed read from the same device.

There is no scientific process for "rs:2" derivation, but evidence would
indicate that this is the correct setting for existing MMIO EFI consoles.

See also: http://bsdimp.blogspot.com/2018/07/how-to-get-memory-mapped-serial-console.html
DeltaFile
+17-0stand/efi/loader/main.c
+8-0stand/efi/loader/bootinfo.c
+25-02 files

OPNSense/src 735c205sys/dev/axgbe xgbe-phy-v2.c if_axgbe_pci.c

axgbe: XXX leftovers to figure out

axgbe: several patches from 22.1 not yet present in FreeBSD
axgbe: remove old annotations and a bit of whitespace cleanup

This is a stub from applying f45a2d1e5a + b9eca9d898 on top of
the upstreamed changes.  The enable_rss remove is correct and
looks like an oversight in the upstreaming.  About the others
I'm not sure but since we have them on file here we can discuss
and rearrange.
DeltaFile
+4-0sys/dev/axgbe/xgbe-phy-v2.c
+0-1sys/dev/axgbe/if_axgbe_pci.c
+1-0sys/dev/axgbe/xgbe_osdep.h
+5-13 files

OPNSense/src 1500ae9sys/dev/axgbe xgbe-phy-v2.c if_axgbe_pci.c

axgbe: Implement ifdi_i2c_req for diagnostics information

Fixes https://github.com/opnsense/src/issues/178
DeltaFile
+23-29sys/dev/axgbe/xgbe-phy-v2.c
+11-0sys/dev/axgbe/if_axgbe_pci.c
+2-1sys/dev/axgbe/xgbe.h
+36-303 files

OPNSense/src d7b82fdsys/dev/axgbe if_axgbe_pci.c xgbe-common.h

axgbe: add support for Yellow Carp Ethernet device
DeltaFile
+4-0sys/dev/axgbe/if_axgbe_pci.c
+2-0sys/dev/axgbe/xgbe-common.h
+6-02 files

OPNSense/src b4d882csys/dev/axgbe xgbe-phy-v2.c xgbe-mdio.c

axgbe: LED control for A30 platform

Since the I/O expander chip does not do a reset when soft power
cycling, the driver will first turn off all LEDs when initializing,
although no specific routine seems to be called when powering down.
This means that the LEDs will stay on until the driver has booted up,
after which the driver will be in a consistent state.
DeltaFile
+86-0sys/dev/axgbe/xgbe-phy-v2.c
+11-2sys/dev/axgbe/xgbe-mdio.c
+10-0sys/dev/axgbe/xgbe.h
+107-23 files

OPNSense/src be80d9bsys/netpfil/pf pf_table.c

pf: align sanity checks for pfrw_free
DeltaFile
+7-3sys/netpfil/pf/pf_table.c
+7-31 files

OPNSense/src 0df99d0libexec/getty gettytab

tty: patch in 3wire autologin support

PR: https://github.com/opnsense/core/issues/3921
DeltaFile
+18-0libexec/getty/gettytab
+18-01 files

OPNSense/src 06272b4sys/netinet ip_input.c, sys/netinet6 ip6_input.c in6.h

dummynet: passin after dispatch

Based on a patch originally found in m0n0wall, expanded
to IPv6 and aligned with FreeBSD's IP input path.

The limit may not be correctly accounted for on the WAN
interface due to dummynet counting the packet again even
though it was already processed.

The problem here is that there's no proper way to reinject
the packet at the point where it was previously removed
from so we make the assumption that ip input was already
done (including pfil) and more or less directly move to
packet output processing.

While here move the passin label up to take the extra check
but avoiding a second label.  Also remove the spurious tag
read for forward check since we don't use it and we should
really trust the mbuf flag.
DeltaFile
+22-11sys/netinet/ip_input.c
+11-3sys/netinet6/ip6_input.c
+6-0sys/netpfil/ipfw/ip_dn_io.c
+1-0sys/netinet6/in6.h
+40-144 files

OPNSense/src ca5e6db.github/ISSUE_TEMPLATE bug_report.md

github: sync our template
DeltaFile
+55-0.github/ISSUE_TEMPLATE/bug_report.md
+55-01 files

OPNSense/src 7da3d1dsys/net rss_config.c if_gre.c, sys/netinet ip_input.c

rss: add sysctl enable toggle

This commit also includes the original refactoring changes

This change allows the kernel to operate with the default netisr cpu-affinity settings while having RSS compiled in. Normally, RSS changes quite a bit of the behaviour of the kernel dispatch service - this change allows for reducing impact on incompatible hardware while preserving the option to boost throughput speeds based on packet flow CPU affinity.

Make sure to compile the following options in the kernel:

    options  RSS

As well as setting the following sysctls:

    net.inet.rss.enabled: 1
    net.isr.bindthreads: 1
    net.isr.maxthreads: -1 (automatically sets it to the number of CPUs)

And optionally (to force a 1:1 mapping between CPUs and buckets):

    net.inet.rss.bits: 3 (for 8 CPUs)

    [5 lines not shown]
DeltaFile
+37-1sys/net/rss_config.c
+20-0sys/netinet6/ip6_input.c
+19-0sys/netinet/ip_input.c
+12-7sys/net/if_gre.c
+7-0sys/netinet6/frag6.c
+6-0sys/netinet6/ip6_output.c
+101-811 files not shown
+131-1017 files