FreeBSD/ports b08a6c5 — math/octave-forge-fxp Makefile distinfo

math/octave-forge-fxp: Update to 3.2.0.
DeltaFile
+3-3math/octave-forge-fxp/distinfo
+1-1math/octave-forge-fxp/Makefile
+4-42 files

LLVM/project 04c4ab8 — .github new-prs-labeler.yml

[GitHub] Label floating-point PRs touching APFloat, KnownFPClass, and related files (#246233)

This should label PRs if they touch, APFloat, ConstantFPRange,
KnownFPClass, and other floating-point related files.
DeltaFile
+21-0.github/new-prs-labeler.yml
+21-01 files

LLVM/project cd62817 — llvm/lib/Analysis TargetLibraryInfo.cpp, llvm/test/Transforms/InstCombine fls.ll ffs-1.ll

TargetLibraryInfo: Add NetBSD, OpenBSD and DragonFly function list (#150885)

Describe which libc functions NetBSD, OpenBSD and DragonFly have, so
that LLVM uses the ones that exist and does not emit calls to ones
that do not.

NetBSD:
- getc_unlocked, getchar_unlocked, putc_unlocked and putchar_unlocked
  are available.

OpenBSD:
- ffsl and ffsll are available.
- getc_unlocked, getchar_unlocked, putc_unlocked and putchar_unlocked
  are available.

DragonFly:
- bcmp, ffsl, ffsll, fls, flsl and flsll are available.
- fputc_unlocked, fputs_unlocked, fread_unlocked, fwrite_unlocked,
  getc_unlocked, getchar_unlocked, putc_unlocked and putchar_unlocked

    [11 lines not shown]
DeltaFile
+54-0llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
+21-6llvm/lib/Analysis/TargetLibraryInfo.cpp
+3-0llvm/test/Transforms/InstCombine/ffs-1.ll
+1-0llvm/test/Transforms/InstCombine/fls.ll
+79-64 files

NetBSD/pkgsrc-wip 3c1acde — librist PLIST Makefile

librist: update to 0.2.20
DeltaFile
+3-3librist/distinfo
+2-2librist/Makefile
+1-1librist/PLIST
+6-63 files

LLVM/project 3149951 — llvm/lib/Analysis ValueTrackingFP.cpp, llvm/test/Transforms/InstCombine fpclass-from-dom-cond.ll

[ValueTracking] Only use ninf to rule out infinite fma operands (#246224)

computeKnownFPClass for fma/fmuladd applied KnownNotFromFlags to the
operands. That mask includes classes ruled out for the result by
nofpclass on the call and by dominating conditions, not just the
nnan/ninf flags.

A NaN operand always gives a NaN result, so a NaN-free result still
means NaN-free operands. That is not true for infinity: fma produces
NaN when multiplying zero by infinity, or when adding two exact
infinities of the opposite sign. A result known not to be infinite says
nothing about the operands, and treating them as non-infinite lets NaN
be ruled out wrongly.

Only use the ninf flag to rule out infinite operands.

Fixes #246208

---------

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+59-0llvm/test/Transforms/InstSimplify/known-never-nan.ll
+56-0llvm/test/Transforms/InstCombine/fpclass-from-dom-cond.ll
+15-13llvm/lib/Analysis/ValueTrackingFP.cpp
+130-133 files

FreeBSD/src 65355d0 — usr.sbin/sysrc sysrc, usr.sbin/sysrc/tests sysrc_test.sh

sysrc: Restore the ability to pin default value

Fix 1 issue identified in post-commit review of eaf7113:

POSTCR-1: "unchanged" short-circuit counts a value that only comes
from RC_DEFAULTS, so `sysrc -f file var=<default>` writes nothing.

Add an ATF test to ensure we preserve this functionality.

Reported by:    llm-postcr
Fixes:          eaf7113bef8f ("sysrc: Add "unchanged" messages")
DeltaFile
+26-0usr.sbin/sysrc/tests/sysrc_test.sh
+3-2usr.sbin/sysrc/sysrc
+29-22 files

Linux/linux 40212b2 — fs/btrfs transaction.c file.c

Merge tag 'for-7.4-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux

Pull btrfs fixes from David Sterba:
 "A number of fixes as reported on the Sashiko Bugs page and the usual
  bag of regular fixes:

   - send fixes:
      - fix sending file hole punching command in incremental mode
      - fix invalid memory access for inline extent

   - fixes for nowait semantics:
      - fix memory allocation in encoding read ioctl
      - don't wait for ordered extents in buffered write

   - don't propagate nodatacow from mount option to files with
     compression flag inherited from parent directory

   - fix fsync mode in encoded write so the data are fully written


    [38 lines not shown]
DeltaFile
+81-17fs/btrfs/send.c
+49-37fs/btrfs/inode.c
+20-11fs/btrfs/disk-io.c
+18-0fs/btrfs/disk-io.h
+14-2fs/btrfs/file.c
+5-10fs/btrfs/transaction.c
+187-7711 files not shown
+244-9817 files

FreeBSD/src e6bc3b2 — stand/common interp_lua.c

lualoader: don't run a failed command twice from the prompt

interp_run() hands each command line to cli_execute, which runs
builtins through loader.command.  If that returned an error, it then
ran the command again with interp_builtin_cmd(), as a fallback for when
lua couldn't run the command at all.  A command that simply failed thus
ran twice, printing any errors twice and repeating whatever it did
before it failed.

Only fall back when the lua call itself failed, and otherwise take the
command's own result.

Reviewed by:    imp
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D61845
DeltaFile
+10-1stand/common/interp_lua.c
+10-11 files

FreeBSD/src 096e542 — stand/i386/loader chain.c

loader: i386: fix vectx handling in chain error paths

Once vectx_open() succeeds, the stat, device, root device and read error
paths all returned without freeing the context, leaking it.

We also closed the fd before calling vectx_close(), which may need to
read the remainder of the file to finish hashing it.  This is harmless
as-is because we've always read the whole file by that point, but close
it afterwards so that we aren't relying on that.

Reviewed by:    sjg
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D61840
DeltaFile
+14-1stand/i386/loader/chain.c
+14-11 files

FreeBSD/src 1436c36 — stand/libsa/zfs zfs.c

stand/zfs: leave variables that nvstore doesn't own alone

Setting an nvstore variable also sets it in the loader's environment,
both when we store it and when we import the nvstore at startup.  We
did that with EV_NOHOOK, which is right for our own variables, since
their hook is what stores them.  A variable that something else in the
loader created, e.g., currdev or console, has hooks of its own that
validate it or act on it.  We bypassed those, so a stored value never
really took effect, and we could set or discard a variable whose hooks
would have refused.

Refuse to set or unset such a variable with EPERM before we touch the
pool label, and skip it when we import the nvstore.

Reviewed by:    imp
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D61844
DeltaFile
+48-1stand/libsa/zfs/zfs.c
+48-11 files

FreeBSD/src b1e8282 — lib/libsecureboot verify_file.c

libsecureboot: don't remember files accepted unverified

verify_file() caches the result for each file by dev/ino, including
VE_UNVERIFIED_OK.  That status only says that the file was unverified
but acceptable at the severity the caller asked for, but a later
request for the same file takes the cached result as-is: verify_prep()
and vectx_open() both treat it as "not verifying this", even at
VE_MUST.

As a result, anything that could be opened at a lower severity could
then be loaded where it must verify, e.g.:

        include /boot/modules/evil.ko   # VE_WANT, no fingerprint
        load evil                       # VE_MUST, but cached as OK

Stop caching VE_UNVERIFIED_OK so that each request is judged by its own
severity, under whatever policy is in effect at the time.  Files that
would be accepted unverified have no usable fingerprint, so there's
nothing to hash; they're just looked up again (and reported, if verbose)

    [6 lines not shown]
DeltaFile
+7-1lib/libsecureboot/verify_file.c
+7-11 files

FreeBSD/src f9d0f90 — stand/common module.c, stand/i386/loader chain.c

loader: fix double free of vectx on verification failure

vectx_close() always frees the context it is handed, but both
file_loadraw() and the i386 chain command would free(vctx) again when
it reported a verification failure.

Reviewed by:    imp, sjg
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D61839
DeltaFile
+0-1stand/i386/loader/chain.c
+0-1stand/common/module.c
+0-22 files

FreeBSD/src 5fb4374 — stand/lua core.lua config.lua

lualoader: match the .lua extension literally

Both config.processFile() and try_include() checked for a .lua
extension with ".lua$", but '.' matches any character, so a name like
foo_lua also matched.

In processFile(), that meant that a config file such as /boot/foo_lua
was run as lua, though it was opened like any other config file.
With veriexec, that file only needs VE_WANT rather than the VE_MUST
that we expect for lua code, so an unverified file could be run as lua.

Reviewed by:    imp
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D61843
DeltaFile
+1-1stand/lua/core.lua
+1-1stand/lua/config.lua
+2-22 files

FreeBSD/src d866370 — stand/efi/loader main.c

loader: efi: fix error check on fstat() in chain

fstat() returns -1 on failure, so testing for a return value less than
-1 could never catch an error, and we would carry on with whatever
garbage was in the stat buffer.

Reviewed by:    imp, sjg, tsoome
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D61846
DeltaFile
+1-1stand/efi/loader/main.c
+1-11 files

FreeBSD/src a35c681 — sbin/zfsbootcfg zfsbootcfg.c

zfsbootcfg: fix some error handling bugs in setting/deleting keys

A few bugs dating back to the original bootenv support:

 - delete_pair() freed an uninitialized nvlist if it couldn't fetch the
   bootenv, e.g., with a nonexistent pool.
 - A missing else meant that "yes" and "no" were always rejected for
   DATA_TYPE_BOOLEAN_VALUE; only "true", "false" and numbers worked.
 - With -p, the result of printing the bootenv replaced the result of
   setting or deleting a key, so a failed set or delete exited 0.
 - errno was never cleared before strto*(), so a stale errno left behind
   by libzfs could make a valid numeric value fail.

Values for the narrower integer types are still silently truncated
(e.g., 300 for DATA_TYPE_UINT8 sets 44).  Rejecting them would also
reject values like -1 for the unsigned types that scripts may rely on,
so I'm punting for now.

Reported by:    llm-postcr

    [6 lines not shown]
DeltaFile
+6-5sbin/zfsbootcfg/zfsbootcfg.c
+6-51 files

OpenBSD/src J7w471R — regress/usr.bin/ssh multiplex.sh

   better check for mux becoming ready. Would have simplified catching
   my most recent screwup
VersionDeltaFile
1.44+6-4regress/usr.bin/ssh/multiplex.sh
+6-41 files

LLVM/project 0cae577 — bolt/lib/Target/RISCV RISCVMCPlusBuilder.cpp, bolt/test/RISCV patch-entry-size.s patch-entry-tail-call.s

[BOLT][RISCV] Use relaxable tail calls for entry patches (#245950)

The AUIPC/ADDI/JALR entry patch needs 12 bytes and clobbers t0, which
can hold the return address as the alternate link register. Emit
`PseudoTAIL` to fit the trampoline in eight bytes and preserve t0.
JITLink can relax the AUIPC/JALR pair to a direct jump for nearby
targets.
DeltaFile
+19-0bolt/test/RISCV/patch-entry-tail-call.s
+2-3bolt/test/RISCV/patch-entry-size.s
+2-1bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
+23-43 files

OpenBSD/src RJyIFx9 — usr.bin/ssh serverloop.c packet.h

   Let's try this again:

       limit the number and total size of packets that we will queue
       while KEX is running. Avoids possible DoS when KEX stalls and local
       processes continue generating channel data for too long

       Anthropic ANT-2026-Q1334JFN but with a separate threshold after which
       the channels stop producing packets too

   Now with at least one fewer redundant and one fewer wrong test to break
   mux.
VersionDeltaFile
1.354+41-1usr.bin/ssh/packet.c
1.483+8-3usr.bin/ssh/channels.c
1.113+2-1usr.bin/ssh/packet.h
1.254+1-1usr.bin/ssh/serverloop.c
+52-64 files

NetBSD/src ezLcmBt — sys/arch/arm/nxp imx_ccm_fdt.c imx_ccm_composite.c

   imx_ccm: extend the core for non-FDT i.MX50/51 CCM support

   - Allow four register regions for the i.MX5 CCM and DPLL1-3.
   - Add read-only divider and mux macros, including _INDEX variants.
   - Add IMX_DIV_ONE_BASED, where zero means the clock is stopped.
   - Add IMX_DIV_BUSY and its _INDEX variant to wait for the busy bit.
   - Validate parent names against the clock table on non-FDT attach.
   - Add a read-only i.MX5 DPLL clock type, kept out of GENERIC builds.

   Use unsigned rate differences in divider and composite set_rate.
   A true difference of 2^31 Hz or more could appear negative as an int
   and select the wrong divisor. This is the only behavior change on
   i.MX7D and i.MX8MQ.

   Tested on QEMU mcimx7d-sabre: the clock list was unchanged, and a
   3 GHz request with a 24 MHz parent changed from 3,428,571 Hz (/7)
   to 24 MHz (/1). Built GENERIC, GENERIC64, KOBO, and NETWALKER
   (i.MX8MQ build-tested only).
VersionDeltaFile
1.1+140-0sys/arch/arm/nxp/imx_ccm_dpll.c
1.3+87-4sys/arch/arm/nxp/imx_ccm.h
1.3+69-7sys/arch/arm/nxp/imx_ccm.c
1.5+54-17sys/arch/arm/nxp/imx_ccm_div.c
1.3+15-17sys/arch/arm/nxp/imx_ccm_composite.c
1.2+3-5sys/arch/arm/nxp/imx_ccm_fdt.c
+368-501 files not shown
+372-517 files

Linux/linux 2bad4ba — include/linux ftrace.h, kernel/trace trace_probe_tmpl.h

Merge tag 'probes-fixes-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull probes fixes from Masami Hiramatsu:

 - Do not let KASAN check the $stackN read

   Use READ_ONCE_NOCHECK() in ftrace_regs_get_kernel_stack_nth() so
   reading $stackN entries that fall in another frame's redzone does not
   trigger KASAN stack-out-of-bounds splats under CONFIG_KASAN_STACK

 - Zero out faulted dereferenced fields

   Zero the destination in probe_mem_read() and probe_mem_read_user() on
   read failure and continue storing zero in process_fetch_insn_bottom()
   instead of leaving stale ring-buffer contents when a dereference
   faults

* tag 'probes-fixes-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing/probes: Zero out faulted dereferenced fields
  tracing/fprobe: Do not let KASAN check the $stackN read
DeltaFile
+83-20kernel/trace/trace_probe_tmpl.h
+1-1include/linux/ftrace.h
+84-212 files

FreeBSD/ports e389586 — lang/perl-lsp Makefile.crates Makefile

lang/perl-lsp: Update to 0.10.0
DeltaFile
+5-5lang/perl-lsp/distinfo
+1-1lang/perl-lsp/Makefile.crates
+1-1lang/perl-lsp/Makefile
+7-73 files

LLVM/project b0ce4ad — lld/ELF SyntheticSections.cpp

[ELF] MergeNoTailSection: Use partitioned hash aggregation. NFC (#245892)

MergeNoTailSection::finalizeContents adds pieces to 32
StringTableBuilder shards, and every thread scans all pieces to pick
those of its own shards.

Group the live pieces of each chunk of sections by shard in parallel,
then add each shard's pieces to its StringTableBuilder on one thread in
input order, and store the offsets in a final parallel pass.

Process the sections in waves of 4M pieces to bound the memory for the
grouped pieces.

clang-debug --threads=8: 3.20 -> 2.89 s. merge/finalize:
```
                       before   after
clang-debug  t8       981 ms   665 ms
clang-debug  t1      3403 ms  2846 ms
clang-release t8      5.5 ms   5.5 ms

    [3 lines not shown]
DeltaFile
+92-23lld/ELF/SyntheticSections.cpp
+92-231 files

LLVM/project 242528d — flang/lib/Semantics check-omp-structure.h check-omp-variant.cpp, flang/test/Semantics/OpenMP metadirective-loop-applicability.f90

[flang][OpenMP] Keep pending METADIRECTIVE variants in their scope (#246123)

A loop-associated METADIRECTIVE replacement inside a BEGIN METADIRECTIVE
region can escape the region. In

```fortran
  !$omp begin metadirective default(parallel)
    continue
    !$omp metadirective when(user={condition(flag)}: simd) default(do)
  !$omp end metadirective
  do i = 1, n
  end do
```

neither SIMD nor DO has a loop in the region, but only the DO is
reported. The SIMD is checked against the loop after END METADIRECTIVE.

In this PR each block records where its entries start in the list of
pending replacements, so that it can diagnose the leftovers when it

    [4 lines not shown]
DeltaFile
+36-0flang/test/Semantics/OpenMP/metadirective-loop-applicability.f90
+20-11flang/lib/Semantics/check-omp-variant.cpp
+2-0flang/lib/Semantics/check-omp-structure.h
+58-113 files

FreeBSD/src 490661e — . tcpdump.c instrument-functions.c

Import tcpdump 4.99.7
DeltaFile
+1,135-745configure
+112-99print-ip.c
+83-17print-mptcp.c
+42-45config.h.in
+35-9instrument-functions.c
+34-4tcpdump.c
+1,441-91960 files not shown
+1,632-1,09166 files

LLVM/project e11a98c — llvm/include/llvm/CodeGen MIR2Vec.h, llvm/test/tools/llvm-ir2vec triplets-skipped-operands.mir

[llvm-ir2vec][MIR2Vec] skip noreg operands in triplets (#246048)

`MIRVocabulary::getRegisterEmbedding()` gives zero embeddings for noreg
operands. This patch skips `noreg` during triplet generation.
DeltaFile
+34-0llvm/test/tools/llvm-ir2vec/triplets-skipped-operands.mir
+7-0llvm/tools/llvm-ir2vec/lib/MIRUtils/MIRUtils.cpp
+2-4llvm/include/llvm/CodeGen/MIR2Vec.h
+43-43 files

LLVM/project 1277ef3 — llvm/include/llvm/Analysis IR2Vec.h

[IR2Vec][NFC] Map TypeIDs to canonical types with a switch (#246069)

TypeIDMapping was indexed by Type::TypeID and relied on listing the
types in enum order; its static_assert only checked the size. A TypeID
inserted in the middle of the enum would silently shift the mapping. Use
an exhaustive switch instead so that new TypeIDs are flagged.
DeltaFile
+42-35llvm/include/llvm/Analysis/IR2Vec.h
+42-351 files

LLVM/project 075d973 — lld/test/ELF merge-string-large.s

[ELF,test] Add SHF_MERGE|SHF_STRINGS stress test (#246229)

Should catch many mutations of #245892
DeltaFile
+56-0lld/test/ELF/merge-string-large.s
+56-01 files

LLVM/project 379646c — llvm/lib/Transforms/InstCombine InstCombineCasts.cpp, llvm/test/Transforms/InstCombine trunc-extractelement-inseltpoison.ll trunc-extractelement.ll

[InstCombine] Skip extelt-trunc bitcast fold for non-power-of-2 element sizes (#242998)

`foldVecExtTruncToExtElt()` turns trunc(extractelement) into
bitcast + extractelement. For vectors with a non-power-of-2 element
size this creates bitcasts like

```
  bitcast <vscale x 4 x i56> to <vscale x 56 x i4>
```

which the backend cannot legalize, so RISC-V crashes in
WidenVecRes_BITCAST. For fixed vectors the bitcast is legalizable, but
the backend has to emulate it through memory, which costs more than
the scalar trunc.

Skip the fold for non-power-of-2 element sizes, for both fixed and
scalable vectors.

Fixes #242247

Assisted-by: TRAE CLI (GLM-5.4)
DeltaFile
+30-10llvm/test/Transforms/InstCombine/trunc-extractelement.ll
+5-10llvm/test/Transforms/InstCombine/trunc-extractelement-inseltpoison.ll
+6-0llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
+41-203 files

OpenBSD/src eJF2ITr — usr.bin/ssh packet.h channels.c

   revert:

       limit the number and total size of packets that we will queue
       while KEX is running. Avoids possible DoS when KEX stalls and local
       processes continue generating channel data for too long

       Anthropic ANT-2026-Q1334JFN but with a separate threshold after which
       the channels stop producing packets too

   Causes hangs with multiplexed connections. Needs further debugging
VersionDeltaFile
1.353+0-40usr.bin/ssh/packet.c
1.253+1-3usr.bin/ssh/serverloop.c
1.482+1-1usr.bin/ssh/channels.c
1.112+0-1usr.bin/ssh/packet.h
+2-454 files

LLVM/project 2af1967 — clang/include/clang/Driver SanitizerArgs.h, clang/lib/Driver SanitizerArgs.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+8-10clang/lib/Driver/SanitizerArgs.cpp
+5-0clang/test/Driver/fsanitize-ignorelist.c
+0-1clang/include/clang/Driver/SanitizerArgs.h
+13-113 files