FreeBSD/src 4e50611 — lib/libc/stdio printf-pos.c, lib/libc/tests/stdio swprintf_test.c snprintf_test.c

stdio: Fix positional %wN / %wfN conversion

MFC after:      1 week
Fixes:          bce0bef3c6ab ("libc: Implement N2680.")
Fixes:          12b1c1e3fb44 ("libc: Add test cases for N2680.")

(cherry picked from commit 5e809bf1c93fdc4c52fa46a7eb0e6f881b6c6140)
DeltaFile
+68-0lib/libc/stdio/printf-pos.c
+8-0lib/libc/tests/stdio/swprintf_test.c
+8-0lib/libc/tests/stdio/snprintf_test.c
+84-03 files

FreeBSD/src 658c3d5 — lib/libc/stdio printf-pos.c, lib/libc/tests/stdio swprintf_test.c snprintf_test.c

stdio: Fix error case for positional %wN / %wfN

In the case were N was not a valid bit width, we were taking the wrong
error path.

Fixes:          5e809bf1c93f ("stdio: Fix positional %wN / %wfN conversion")
(cherry picked from commit 0bf5d86620d047b4551d7414bf8011a328264b3d)
DeltaFile
+2-2lib/libc/stdio/printf-pos.c
+2-0lib/libc/tests/stdio/swprintf_test.c
+2-0lib/libc/tests/stdio/snprintf_test.c
+6-23 files

FreeBSD/src dd5393b — lib/libc/stdio printf-pos.c, lib/libc/tests/stdio swprintf_test.c snprintf_test.c

stdio: Fix positional %F conversion

When a format uses positional arguments, __find_arguments() walks it
first to learn the type of every argument, and lists the floating
point conversions as A a E e f G g.  F is missing, so a double that
is only referred to through %F never gets a type, its slot in the
argument table stays unset, and the conversion reads whatever is
there:

    printf("[%1$F]\n", -INFINITY);   [0.000000]
    printf("[%1$F]\n", 1.5);         [0.000000]
    printf("[%F]\n", 1.5);           [1.500000]

With a width taken from another argument, "%1$*2$F", vsnprintf(3)
returned lengths like 2103024 for a ten character result; abseil's
str_format test allocates that much and was killed for it on
FreeBSD.  The same format with %1$f, or with any other conversion of
the same argument, works because those give it a type.


    [9 lines not shown]
DeltaFile
+8-6lib/libc/stdio/printf-pos.c
+13-0lib/libc/tests/stdio/swprintf_test.c
+13-0lib/libc/tests/stdio/snprintf_test.c
+34-63 files

FreeBSD/src 4d9de0f — contrib/llvm-project/clang/lib/Headers arm_acle.h

clang: Fix warnings in ARM GCS ACLE header

Including <arm_acle.h> in C code compiled with -Wstrict-prototypes
results in warnings (or errors if -Werror is in effect) due to missing
parameter lists for __gcspr() and __gcspopm().

Submitted upstream as PR#242286.

MFC after:      1 week
Reported by:    Pete French <pete at twisted.org.uk>
Reviewed by:    dim
Differential Revision:  https://reviews.freebsd.org/D61503

(cherry picked from commit 74d72b3491e810068313e49629c3b8fe46f29318)
DeltaFile
+2-2contrib/llvm-project/clang/lib/Headers/arm_acle.h
+2-21 files

FreeBSD/src d298fd5 — lib/libc/stdio printf-pos.c, lib/libc/tests/stdio swprintf_test.c snprintf_test.c

stdio: Fix positional %B / %b conversion

MFC after:      1 week
Fixes:          d9dc1603d6e4 ("libc: Implement N2630.")
Fixes:          b9385720f34b ("libc: Add unit tests for N2630 and possible collateral damage.")

(cherry picked from commit 0e3fce268adeec8f4c87b99759dae6a592b3d365)
DeltaFile
+10-0lib/libc/stdio/printf-pos.c
+2-0lib/libc/tests/stdio/swprintf_test.c
+2-0lib/libc/tests/stdio/snprintf_test.c
+14-03 files

FreeBSD/src 1d8c4da — lib/libc/stdio printf-pos.c, lib/libc/tests/stdio swprintf_test.c snprintf_test.c

stdio: Fix positional %wN / %wfN conversion

MFC after:      1 week
Fixes:          bce0bef3c6ab ("libc: Implement N2680.")
Fixes:          12b1c1e3fb44 ("libc: Add test cases for N2680.")

(cherry picked from commit 5e809bf1c93fdc4c52fa46a7eb0e6f881b6c6140)
DeltaFile
+68-0lib/libc/stdio/printf-pos.c
+8-0lib/libc/tests/stdio/swprintf_test.c
+8-0lib/libc/tests/stdio/snprintf_test.c
+84-03 files

FreeBSD/src 902b9ce — lib/libgeom geom_ctl.c

libgeom: Open the control device read-write

Try to open the control device read-write first, and fall back to
read-only if that fails and the error is EACCES.  This prepares us for a
future in which GEOM requires write access to execute verbs that modify
the configuration.

MFC after:      1 week
Event:          EuroBSDCon 2026 DevSummit
Reviewed by:    imp, markj, emaste
Differential Revision:  https://reviews.freebsd.org/D59592

(cherry picked from commit 1e9e198b7f064322687746d26b283c3fcbad4579)
DeltaFile
+5-3lib/libgeom/geom_ctl.c
+5-31 files

FreeBSD/src 628422c — sys/geom geom_ctl.c, sys/sys priv.h

geom: Check file flags before handling control request

Pass fflag down to g_ctl_req() and:

* Refuse all requests unless fflag has the FREAD bit set

* Refuse all but getxml unless fflag also has the FWRITE bit set

This should allow us to restore read access to /dev/geom.ctl for group
operator; they will then be able to run `gpart list` or `gpart backup`
but not commands that actually modify the table.

For backward compatibility, we set the FWRITE bit if it is not already
set and the calling thread has the PRIV_GEOM privilege, which is
automatically granted to a jailed or unjailed superuser.  This should
cover the case of older binaries (which open /dev/geom.ctl read-only)
running as root on a newer kernel.  Since we intend to merge this to
stable/15, the compatibility code is conditional on COMPAT_FREEBSD14.


    [6 lines not shown]
DeltaFile
+38-8sys/geom/geom_ctl.c
+1-0sys/sys/priv.h
+39-82 files

FreeBSD/src 24a13dd — lib/libc/stdio printf-pos.c, lib/libc/tests/stdio swprintf_test.c snprintf_test.c

stdio: Fix error case for positional %wN / %wfN

In the case were N was not a valid bit width, we were taking the wrong
error path.

Fixes:          5e809bf1c93f ("stdio: Fix positional %wN / %wfN conversion")
(cherry picked from commit 0bf5d86620d047b4551d7414bf8011a328264b3d)
DeltaFile
+2-2lib/libc/stdio/printf-pos.c
+2-0lib/libc/tests/stdio/swprintf_test.c
+2-0lib/libc/tests/stdio/snprintf_test.c
+6-23 files

FreeBSD/src fe976f2 — contrib/llvm-project/clang/lib/Headers arm_acle.h

clang: Fix warnings in ARM GCS ACLE header

Including <arm_acle.h> in C code compiled with -Wstrict-prototypes
results in warnings (or errors if -Werror is in effect) due to missing
parameter lists for __gcspr() and __gcspopm().

Submitted upstream as PR#242286.

MFC after:      1 week
Reported by:    Pete French <pete at twisted.org.uk>
Reviewed by:    dim
Differential Revision:  https://reviews.freebsd.org/D61503

(cherry picked from commit 74d72b3491e810068313e49629c3b8fe46f29318)
DeltaFile
+2-2contrib/llvm-project/clang/lib/Headers/arm_acle.h
+2-21 files

FreeBSD/src 65ea18b — lib/libc/stdio printf-pos.c, lib/libc/tests/stdio swprintf_test.c snprintf_test.c

stdio: Fix positional %B / %b conversion

MFC after:      1 week
Fixes:          d9dc1603d6e4 ("libc: Implement N2630.")
Fixes:          b9385720f34b ("libc: Add unit tests for N2630 and possible collateral damage.")

(cherry picked from commit 0e3fce268adeec8f4c87b99759dae6a592b3d365)
DeltaFile
+10-0lib/libc/stdio/printf-pos.c
+2-0lib/libc/tests/stdio/swprintf_test.c
+2-0lib/libc/tests/stdio/snprintf_test.c
+14-03 files

FreeBSD/src c646af9 — lib/libc/stdio printf-pos.c, lib/libc/tests/stdio swprintf_test.c snprintf_test.c

stdio: Fix positional %F conversion

When a format uses positional arguments, __find_arguments() walks it
first to learn the type of every argument, and lists the floating
point conversions as A a E e f G g.  F is missing, so a double that
is only referred to through %F never gets a type, its slot in the
argument table stays unset, and the conversion reads whatever is
there:

    printf("[%1$F]\n", -INFINITY);   [0.000000]
    printf("[%1$F]\n", 1.5);         [0.000000]
    printf("[%F]\n", 1.5);           [1.500000]

With a width taken from another argument, "%1$*2$F", vsnprintf(3)
returned lengths like 2103024 for a ten character result; abseil's
str_format test allocates that much and was killed for it on
FreeBSD.  The same format with %1$f, or with any other conversion of
the same argument, works because those give it a type.


    [9 lines not shown]
DeltaFile
+8-6lib/libc/stdio/printf-pos.c
+13-0lib/libc/tests/stdio/swprintf_test.c
+13-0lib/libc/tests/stdio/snprintf_test.c
+34-63 files

LLVM/project 6054b62 — clang/test/CodeGen ext-vector.c

[clang][NFC] Remove stale disabled ext-vector comparison test (#243510)

The `#if 0` block in `test6` has been disabled since 2009 because vector
comparisons could crash codegen. That was fixed in r76726
([`5ac69057c000`](https://github.com/llvm/llvm-project/commit/5ac69057c000)),
which changed `ScalarExprEmitter::EmitCompare` to use `isFPOrFPVector()`
and added the unguarded `test8` to this same file.

`test8` already checks the same float4 comparisons with exact `fcmp`
expectations, so this older block is redundant. It also contains a stale
`a < b` duplicate where `test8` has `a > b`.

Remove the disabled block. No functional change; coverage remains in
`test8`.
DeltaFile
+0-12clang/test/CodeGen/ext-vector.c
+0-121 files

HardenedBSD/src fdb29f2 — share/man/man7 build.7, sys/cddl/dev/fbt/powerpc fbt_isa.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+75-114sys/net/route/nhgrp_ctl.c
+10-10sys/sys/kobj.h
+6-6sys/net/route/route_helpers.c
+7-0sys/cddl/dev/fbt/powerpc/fbt_isa.c
+3-3sys/tools/makeobjops.awk
+3-2share/man/man7/build.7
+104-1359 files not shown
+113-14115 files

HardenedBSD/src d14361d — share/man/man7 build.7, sys/cddl/dev/fbt/powerpc fbt_isa.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+75-114sys/net/route/nhgrp_ctl.c
+10-10sys/sys/kobj.h
+6-6sys/net/route/route_helpers.c
+7-0sys/cddl/dev/fbt/powerpc/fbt_isa.c
+3-3sys/tools/makeobjops.awk
+3-2share/man/man7/build.7
+104-1359 files not shown
+113-14115 files

LLVM/project df8b4d8 — llvm/lib/Transforms/Vectorize VPlanEVLTailFolding.cpp, llvm/test/Transforms/LoopVectorize/RISCV tail-folding-safe-dep-distance.ll

[VPlan] Clamp the AVL to the maximum safe distance via umin. (#243812)

Use umin to clamp maximum AVL by the safe dependnece distance instead of
select. This removes an unnecessary select without profile info, and in
some cases umin is also cheaper than compare/select.

PR: https://github.com/llvm/llvm-project/pull/243812
DeltaFile
+121-2llvm/test/Transforms/LoopVectorize/RISCV/tail-folding-safe-dep-distance.ll
+7-10llvm/lib/Transforms/Vectorize/VPlanEVLTailFolding.cpp
+128-122 files

OPNSense/plugins e8b6c43 — databases/redis/src/opnsense/service/conf/actions.d actions_redis.conf, dns/bind/src/opnsense/service/conf/actions.d actions_bind.conf

plugins: only wheel and wwwonly may stop services

configd's socket is open to every local user, so without allowed_groups
any of them could stop these services. Matches core's service stop
actions (08c23bcdd9) and net/netflector (8011b98b2). acme-client's
http-stop is its service stop; iperf's job stops stay open, like core's
interface.ping.stop.
DeltaFile
+1-0ftp/tftp/src/opnsense/service/conf/actions.d/actions_tftp.conf
+1-0emulators/qemu-guest-agent/src/opnsense/service/conf/actions.d/actions_qemuguestagent.conf
+1-0dns/dnscrypt-proxy/src/opnsense/service/conf/actions.d/actions_dnscryptproxy.conf
+1-0dns/ddclient/src/opnsense/service/conf/actions.d/actions_ddclient.conf
+1-0dns/bind/src/opnsense/service/conf/actions.d/actions_bind.conf
+1-0databases/redis/src/opnsense/service/conf/actions.d/actions_redis.conf
+6-054 files not shown
+60-060 files

HardenedBSD/src 6ba91b5 — sys/dev/sound dummy.c, sys/dev/sound/pci emu10k1.c cmi.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+10-4sys/dev/sound/dummy.c
+7-5sys/vm/swap_pager.c
+9-3sys/dev/sound/usb/uaudio.c
+0-1sys/dev/sound/pci/emu10k1.c
+0-1sys/dev/sound/pci/cmi.c
+26-145 files

HardenedBSD/ports 10ee0f2 — devel/linux-rl9-devtools distinfo, devel/linux-rl9-llvm pkg-plist.aarch64 pkg-plist.amd64

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+207-207emulators/linux_base-rl9/distinfo
+291-36devel/linux-rl9-llvm/pkg-plist.amd64
+196-24devel/linux-rl9-llvm/pkg-plist.aarch64
+89-85www/py-nh3/distinfo
+59-59devel/linux-rl9-devtools/distinfo
+49-49x11/linux-rl9-xorg-libs/distinfo
+891-460161 files not shown
+1,966-1,373167 files

LLVM/project a2042e2 — llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize unsupported_early_exit.ll early_exit_legality.ll

[LV] Support reductions used on uncountable early exits (#233139)

Compute the value of a reduction on an early exit directly from the
vector accumulators in the vector early exit block: lanes up to and
including the first active lane of the early exit condition use the
updated accumulator, the remaining lanes the accumulator of the previous
iteration:

```
  vector.early.exit:
    first.active.lane = first-active-lane ...
    mask = active-lane-mask 0, first.active.lane + 1
    blend = select mask, rdx.next, rdx.phi
    result = compute-reduction-result blend
```

Which reductions used on early exits are supported is decided in VPlan
when handling uncountable early exits, based on the reduction phi
recipes.

    [8 lines not shown]
DeltaFile
+717-119llvm/test/Transforms/LoopVectorize/early-exit-reductions-live-out.ll
+98-0llvm/test/Transforms/LoopVectorize/VPlan/uncountable-early-exit-vplan.ll
+33-34llvm/test/Transforms/LoopVectorize/early_exit_legality.ll
+0-61llvm/test/Transforms/LoopVectorize/unsupported_early_exit.ll
+32-20llvm/test/Transforms/LoopVectorize/AArch64/early-exit-partial-reductions.ll
+41-7llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+921-2412 files not shown
+951-2538 files

LLVM/project 857f484 — llvm/lib/Transforms/Utils LoopUtils.cpp, llvm/test/Transforms/LoopVectorize runtime-checks-difference-rmw-hoist.ll runtime-checks-hoist-same-outer-step.ll

[LoopUtils] Check the first outer iteration for co-moving pointer groups

When runtime checks are hoisted out of the outer loop, the range of each
pointer group is widened to cover all iterations of the outer loop. If both
groups of a check advance by the same step in the outer loop, e.g. two rows
of the same image:

```cpp
for (y = 0; y < H; y += 2)
  for (x = 0; x < n; x++) {
    img[y*S + 3*x]     = ...;
    img[(y+1)*S + 3*x] = ...;
  }
```

the widened ranges overlap as soon as the outer loop runs twice, so the
check always fails and the vector loop never runs.

If all bounds of both groups are affine AddRecs of the outer loop with the

    [7 lines not shown]
DeltaFile
+42-94llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
+63-15llvm/test/Transforms/LoopVectorize/AArch64/low_trip_memcheck_cost.ll
+22-29llvm/test/Transforms/LoopVectorize/runtime-checks-hoist-same-outer-step.ll
+23-5llvm/lib/Transforms/Utils/LoopUtils.cpp
+2-3llvm/test/Transforms/PhaseOrdering/AArch64/matrix-extract-insert.ll
+2-3llvm/test/Transforms/LoopVectorize/runtime-checks-difference-rmw-hoist.ll
+154-1496 files

LLVM/project 8d0852e — llvm/lib/Transforms/Utils LoopUtils.cpp

[LoopUtils] Factor out the same-step check of runtime check bounds (NFC)

The follow-up change uses four SCEV expressions for this type of change
so it also generalizes it to take an array.
DeltaFile
+38-28llvm/lib/Transforms/Utils/LoopUtils.cpp
+38-281 files

LLVM/project c412d0d — llvm/test/Transforms/LoopVectorize runtime-checks-hoist-same-outer-step.ll

[LV] Add pre-commit tests (NFC)
DeltaFile
+633-0llvm/test/Transforms/LoopVectorize/runtime-checks-hoist-same-outer-step.ll
+633-01 files

LLVM/project bd09848 — llvm/lib/Transforms/Utils LoopUtils.cpp, llvm/test/Transforms/LoopVectorize runtime-check.ll pointer-select-runtime-checks.ll

[LoopUtils][LV] Compute runtime check bounds per check (NFCI)

getRuntimeCheckBounds takes a single pointer group, but the bounds to use
for one group can depend on the group it is checked against.

This changes RuntimePointerCheck to include bounds of both of its groups.
RuntimeCheckBounds takes the new role of covering both groups and
RuntimeCheckGroupBounds covering single group bounds.
The per-group logic moved unchanged into a static helper.

In VPlan's createRuntimeChecks, compute and expand the bounds of each check
right before its compares, in a single loop over the checks, instead of
caching the expanded bounds per group.

We can do it because VPSCEVExpander already reuses expansions of the same SCEV,
and VPlan's CSE merges the resulting duplicate freezes.

As the result, this change only affects the order of the instructions in
the runtime checks.
DeltaFile
+208-208llvm/test/Transforms/PhaseOrdering/AArch64/quant_4x4.ll
+113-113llvm/test/Transforms/LoopVectorize/VPlan/memory-checks.ll
+31-31llvm/test/Transforms/LoopVectorize/pointer-select-runtime-checks.ll
+31-31llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll
+36-20llvm/lib/Transforms/Utils/LoopUtils.cpp
+19-19llvm/test/Transforms/LoopVectorize/runtime-check.ll
+438-42228 files not shown
+580-56334 files

NetBSD/pkgsrc-wip ffa6c95 — electron44 distinfo, electron44/patches patch-ui_shell__dialogs_select__file__dialog.h patch-ui_gtk_gtk__compat.cc

electron44: regen patches
DeltaFile
+20-20electron44/distinfo
+9-0electron44/patches/patch-electron_spec_chromium.spec.ts
+1-1electron44/patches/patch-ui_shell__dialogs_select__file__dialog.h
+1-1electron44/patches/patch-ui_gtk_gtk__compat.cc
+1-1electron44/patches/patch-ui_gfx_font__util.cc
+1-1electron44/patches/patch-third__party_electron__node_unofficial.gni
+33-2415 files not shown
+48-3921 files

FreeBSD/ports de50bc4 — security/clamav-lts pkg-plist Makefile

security/clamav-lts: Update to 1.4.7

Fixes the same vulnerabilities as clamav 1.5.5.

Changes:        https://github.com/Cisco-Talos/clamav/releases/tag/clamav-1.4.7
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 767a119ac8b806b5764a03f49cd843d24c5e8ffc)
DeltaFile
+3-3security/clamav-lts/distinfo
+1-1security/clamav-lts/pkg-plist
+1-1security/clamav-lts/Makefile
+5-53 files

FreeBSD/ports 355fd90 — security/clamav pkg-plist Makefile

security/clamav: Update to 1.5.5

Fixes multiple vulnerabilities.

Changes:        https://github.com/Cisco-Talos/clamav/releases/tag/clamav-1.5.5
PR:             300916
Sponsored by:   Netzkommune GmbH

(cherry picked from commit e8416d4e30b9a727efb0c675b8079733875858f8)
DeltaFile
+3-3security/clamav/distinfo
+1-2security/clamav/Makefile
+1-1security/clamav/pkg-plist
+5-63 files

NetBSD/pkgsrc 3ypuP0g — doc CHANGES-2026

   doc: Updated textproc/glow to 3.0.0
VersionDeltaFile
1.8226+2-1doc/CHANGES-2026
+2-11 files

LLVM/project 365c3c0 — llvm/lib/Analysis ValueTracking.cpp, llvm/test/Analysis/ValueTracking signbits-extract-elt.ll

[ValueTracking] Propagate demanded lanes through ADD in sign-bit queries (#244293)

Use the demanded lanes when computing the sign bits of the left operand.

This matches the behavior in SDAG.

Assisted by: GPT 6.1 Sol
DeltaFile
+18-0llvm/test/Analysis/ValueTracking/signbits-extract-elt.ll
+1-1llvm/lib/Analysis/ValueTracking.cpp
+19-12 files

NetBSD/pkgsrc 5mLmbm0 — textproc/glow Makefile go-modules.mk

   glow: update to 3.0.0.

   This quiet release updates Bubble Tea, Lip Gloss, and Bubbles to
   their glorious v2s. While there are no UX changes, there's a ton
   great stuff with the Bubble Tea v2 ecosystem, most notably faster,
   more accurate rendering.
VersionDeltaFile
1.7+136-121textproc/glow/distinfo
1.6+48-43textproc/glow/go-modules.mk
1.59+2-3textproc/glow/Makefile
+186-1673 files