FreeBSD/ports b78b3cb — math/octave-forge Makefile

math/octave-forge: Add new optional dependency.

- math/octave-forge-octave_data_encryption_standard.
- Update to 20261127.
DeltaFile
+3-1math/octave-forge/Makefile
+3-11 files

FreeBSD/ports ad1a11f — math Makefile, math/octave-forge-octave_data_encryption_standard distinfo pkg-descr

math/octave-forge-octave_data_encryption_standard: New port.

- DES / 3DES primitives for GNU Octave.
DeltaFile
+24-0math/octave-forge-octave_data_encryption_standard/Makefile
+11-0math/octave-forge-octave_data_encryption_standard/files/patch-inst_des__init.m
+9-0math/octave-forge-octave_data_encryption_standard/files/patch-PKG__ADD
+8-0math/octave-forge-octave_data_encryption_standard/pkg-descr
+3-0math/octave-forge-octave_data_encryption_standard/distinfo
+1-0math/Makefile
+56-06 files

LLVM/project 2e96c59 — llvm/lib/Target/RISCV RISCVFrameLowering.cpp, llvm/test/CodeGen/RISCV qci-interrupt-zilsd.ll

[RISCV] Avoid pairing QCI interrupt hardware-saved registers (#246249)

Zilsd CSR coalescing replaces QCI hardware-saved registers with register
pairs that the fixed-slot logic no longer recognizes, causing redundant
spills and reloads.

This commit skips pairing for these registers while retaining it for
other CSRs.

AI Usage: Tests assisted by Gemini 4 Neon and Opus 5.5

Found this while working on
https://github.com/llvm/llvm-project/pull/238325
DeltaFile
+202-0llvm/test/CodeGen/RISCV/qci-interrupt-zilsd.ll
+4-0llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
+206-02 files

FreeBSD/src 948598a — usr.sbin/syslogd syslogd.c, usr.sbin/syslogd/tests syslogd_test.sh

syslogd: Create one forwarding socket per address pair

For each address a forwarding destination resolves to,
make_forw_socket_array() creates a socket bound to the address of each
listening socket and connects it to the destination.  The same
<laddr, raddr> pair can come up more than once for one rule: the
resolver may return an address twice, e.g. when a host name appears on
several /etc/hosts lines for one IP, and several listening sockets may
be bound to one address.  connect() then fails with EADDRINUSE.
maybe_dup_forw_socket() only searches the rules parsed earlier, so the
casper process exits and syslogd dies with "Failed to xfer
configuration nvlist" on every start and reload.

Skip address pairs the rule already has a socket for.  A second socket
would add nothing, and with -A it would send each message twice.

Reported by:            Marcos Mendoza
Reviewed by:            markj
Fixes:                  ae4f708f0b38 ("syslogd: Ensure that forwarded...")

    [4 lines not shown]
DeltaFile
+60-0usr.sbin/syslogd/tests/syslogd_test.sh
+38-17usr.sbin/syslogd/syslogd.c
+98-172 files

HardenedBSD/src 8cf44f4 — lib/libjail jail.c

HBSD: Apply style(9) to helper function

We provide a `jailed()` function in libjail to make it easier to
determine whether the calling code is running within a jailed context.
However, that function didn't follow style(9) too well.

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+4-2lib/libjail/jail.c
+4-21 files

LLVM/project 673c138 — llvm/include/llvm/Transforms/Utils LowerVectorIntrinsics.h, llvm/lib/CodeGen PreISelIntrinsicLowering.cpp

[CodeGen] Generalize scalarization of vector intrinsics to extra arguments (#237973)

This is a preparatory patch for #237980. 

lowerUnaryVectorIntrinsicAsLoop only handled intrinsics with a single
vector argument. Generalize it into lowerVectorIntrinsicAsLoop, which
extracts only the vector arguments from the current lane and passes
scalar arguments through unchanged. This lets the helper handle
intrinsics like powi with a scalar exponent. #237980 adds scalable powi
lowering to the pre-ISel pass and includes the corresponding regression
tests.

While generalizing, fix the scalar return type used to look up the
scalar declaration. For multi-result intrinsics it previously passed the
vector struct type straight to Intrinsic::getOrInsertDeclaration, which
fails the signature check. Build a struct of the scalar element types
instead.

Assisted-by: Claude
DeltaFile
+73-0llvm/test/Transforms/PreISelIntrinsicLowering/RISCV/expand-multi-result.ll
+15-5llvm/lib/Transforms/Utils/LowerVectorIntrinsics.cpp
+4-3llvm/include/llvm/Transforms/Utils/LowerVectorIntrinsics.h
+2-2llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
+94-104 files

HardenedBSD/src 92c0695 — sys/hardenedbsd hbsd_pax_hardening.c

HBSD: Fix setting hardening.prohibit_ptrace_capsicum as a jail param

I missed fetching the jail parameter upon jail creation. This commit
does just that.

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
Radicle-issue:  187e40515749fcb384935a2eeb24f0122e05eddb
Reported-by:    0x1eef
MFC-to:         15-STABLE
DeltaFile
+2-0sys/hardenedbsd/hbsd_pax_hardening.c
+2-01 files

NetBSD/src YnMj2fY — share/man/man7 sysctl.7

   sysctl.7: document kern.msgbuf_clear
VersionDeltaFile
1.178+5-2share/man/man7/sysctl.7
+5-21 files

OpenBSD/src k7Ubcn4 — sys/arch/arm64/include _float.h, sys/arch/riscv64/include _float.h

   correct DECIMAL_DIG value on arm64 and riscv64

   DECIMAL_DIG is for the widest (long double) floating point type
   ok miod@ kettenis@
VersionDeltaFile
1.4+2-2sys/arch/riscv64/include/_float.h
1.4+2-2sys/arch/arm64/include/_float.h
+4-42 files

LLVM/project 04597ff — llvm/lib/Target/RISCV/GISel RISCVLegalizerInfo.cpp, llvm/test/CodeGen/RISCV/GlobalISel atomicrmw-add-sub.ll atomicrmw-xchg.ll

[RISCV][GISel] Replace hasStdExtA() with hasStdExtZalrsc(). (#246495)

SelectionDAG supports using only LR/SC instructions so we should do the
same in GISel.

Assisted-by: Claude
DeltaFile
+4,302-0llvm/test/CodeGen/RISCV/GlobalISel/atomicrmw-max-min-umax-umin.ll
+1,717-0llvm/test/CodeGen/RISCV/GlobalISel/atomicrmw-and-or-xor.ll
+1,483-0llvm/test/CodeGen/RISCV/GlobalISel/atomic-cmpxchg.ll
+647-0llvm/test/CodeGen/RISCV/GlobalISel/atomicrmw-xchg.ll
+451-0llvm/test/CodeGen/RISCV/GlobalISel/atomicrmw-add-sub.ll
+6-4llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+8,606-46 files

FreeBSD/ports 0ceada0 — devel/hwloc2 Makefile distinfo

devel/hwloc2: Update 2.12.1 => 2.16.0

Changelog:
https://github.com/open-mpi/hwloc/blob/hwloc-2.16.0/NEWS

- Sort CONFIGURE_ARGS.

PR:             300671
Approved by:    Eijiro Shibusawa <phd_kimberlite at yahoo.co.jp> (maintainer, timeout 2 weeks)
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+9-1devel/hwloc2/pkg-plist
+3-3devel/hwloc2/distinfo
+2-3devel/hwloc2/Makefile
+14-73 files

OpenBSD/src 75qhpSl — sys/arch/arm64/include _float.h, sys/arch/riscv64/include _float.h

   don't use builtins for LDBL defines on arm64 and riscv64

   Match other archs and drop the ifdef and builtin use.  Use the same
   values as the clang builtins.

   ok miod@ kettenis@
VersionDeltaFile
1.3+11-24sys/arch/riscv64/include/_float.h
1.3+11-24sys/arch/arm64/include/_float.h
+22-482 files

FreeBSD/ports 049d90f — misc/crush Makefile distinfo

misc/crush: Update to 0.103.0

Changelog: https://github.com/charmbracelet/crush/releases/tag/v0.103.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+3-3misc/crush/Makefile
+8-82 files

LLVM/project bebefbe — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 vector-extload-freeze.ll avx512-ext.ll

[SelectionDAG] Look through freeze in CombineExtLoad

Folding an extend of an illegally-wide vector into extending loads only
matched when the extend operand was the load itself. A boolean select is
combined to an OR of a frozen operand and the freeze is pushed down to the
load, so the fold was skipped: the load stayed a plain vector load and each
half of the widened result needed an extract and a register-form extend.

Look through a single-use freeze and re-apply it to the split result.
Freeze is element-wise and extends are deterministic, so freezing the split
loads is equivalent to freezing the extended value.

For the loop in #245064 this replaces four 512-bit loads with their extracts
and register-form vpmovzxwd by memory-form vpmovzxwd, going from 57 to 49
instructions per 128 elements.

Adds llvm/test/CodeGen/X86/vector-extload-freeze.ll and updates the
existing avx512-ext.ll checks.

Fixes #245064
DeltaFile
+8-16llvm/test/CodeGen/X86/avx512-ext.ll
+5-10llvm/test/CodeGen/X86/vector-extload-freeze.ll
+12-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+25-273 files

LLVM/project d84d7dd — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 vector-extload-freeze.ll

fixup! [SelectionDAG] Look through freeze in CombineExtLoad
DeltaFile
+55-2llvm/test/CodeGen/X86/vector-extload-freeze.ll
+5-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+60-32 files

LLVM/project 41fd8b5 — llvm/test/CodeGen/X86 vector-extload-freeze.ll

[X86] Add a precommit test for a frozen split extload
DeltaFile
+35-0llvm/test/CodeGen/X86/vector-extload-freeze.ll
+35-01 files

FreeBSD/ports 416559e — mail/py-resend Makefile distinfo

mail/py-resend: Update to 2.56.2

Changelog:
- https://github.com/resend/resend-python/releases/tag/v2.55.1
- https://github.com/resend/resend-python/releases/tag/v2.56.0
- https://github.com/resend/resend-python/releases/tag/v2.56.1
- https://github.com/resend/resend-python/releases/tag/v2.56.2

Reported by:    portscout
DeltaFile
+3-3mail/py-resend/distinfo
+1-1mail/py-resend/Makefile
+4-42 files

FreeBSD/ports 5614c50 — devel/py-ty Makefile Makefile.crates

devel/py-ty: Update to 0.0.112

Changelog: https://github.com/astral-sh/ty/blob/0.0.112/CHANGELOG.md

Reported by:    portscout
DeltaFile
+49-47devel/py-ty/distinfo
+23-22devel/py-ty/Makefile.crates
+1-1devel/py-ty/Makefile
+73-703 files

FreeBSD/src c362b2f — sys/conf newvers.sh

14.5: Update to RC1

Approved by:    re (implicit)
DeltaFile
+1-1sys/conf/newvers.sh
+1-11 files

FreeBSD/src 86f4630 — contrib/tzcode localtime.c

tzcode: Avoid integer truncation resulting in wrong weekday

From a report[1] on the tz mailing list:

In timesub() the weekday is stored in (int) tm_wday before reduction
modulo seven (DAYSPERWEEK).  Previously this could overflow a 32-bit
int, resulting in an incorrect weekday calculation.

Calculate two additional intermediate terms modulo seven to avoid an
intermediate value that does not fit in 32 bits.

We're committing this patch now so we can have something in place for
FreeBSD 15.2.  If a different change is committed upstream we will
replace this.

[1] https://lists.iana.org/hyperkitty/list/tz@iana.org/thread/O3RZGBKSO5GXBFDZKW2JXO3OQIIGYBF3/

Approved by:    re (cperciva)
PR:             300977

    [6 lines not shown]
DeltaFile
+2-2contrib/tzcode/localtime.c
+2-21 files

FreeBSD/src 850a74b — release/pkg_repos release-dvd.conf

Switch from "quarterly" to "release" pkgs on DVD

Approved by:    re (implicit)
DeltaFile
+1-1release/pkg_repos/release-dvd.conf
+1-11 files

HardenedBSD/src a097bab — sys/netinet/tcp_stacks rack.c, tests/sys/netinet6 ndp.sh

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+409-1tests/sys/netinet6/ndp.sh
+81-0usr.sbin/sysrc/tests/sysrc_test.sh
+61-17usr.sbin/arp/arp.c
+61-8sys/netinet/tcp_stacks/rack.c
+17-28usr.sbin/sysrc/sysrc
+30-1usr.sbin/arp/arp.8
+659-5517 files not shown
+778-9123 files

HardenedBSD/src 00f7e4a — sys/netinet/tcp_stacks rack.c, tests/sys/netinet6 ndp.sh

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+409-1tests/sys/netinet6/ndp.sh
+81-0usr.sbin/sysrc/tests/sysrc_test.sh
+61-17usr.sbin/arp/arp.c
+61-8sys/netinet/tcp_stacks/rack.c
+17-28usr.sbin/sysrc/sysrc
+30-1usr.sbin/arp/arp.8
+659-5517 files not shown
+778-9123 files

HardenedBSD/src 4b248b5 — share/man/man4 fdescfs.4, sys/dev/pci pcireg.h pci.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+302-0tests/sys/fs/fdescfs/fdescfs_test.c
+49-0sys/dev/pci/pci.c
+16-1sys/fs/fdescfs/fdesc_vnops.c
+6-3sys/netinet/tcp_subr.c
+9-0sys/dev/pci/pcireg.h
+6-1share/man/man4/fdescfs.4
+388-53 files not shown
+395-59 files

HardenedBSD/ports 6202b44 — astro/qmapshack pkg-plist, misc/paseo-desktop/files/packagejsons package-lock.json

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+43,175-0misc/paseo-desktop/files/packagejsons/package-lock.json
+9,580-0misc/paseo-hub/files/packagejsons/package-lock.json
+4,494-0misc/paseo/files/packagejsons/package-lock.json
+559-381net-p2p/autopulse/distinfo
+530-2astro/qmapshack/pkg-plist
+278-189net-p2p/autopulse/Makefile.crates
+58,616-572172 files not shown
+62,713-1,483178 files

FreeBSD/src d05d660 — sys/netinet tcp_subr.c

tcp: count only the SACK blocks that fit in tcp_maxseg()

tcp_addoptions() sends only the SACK blocks that fit in TCP_MAXOLEN.
tcp_maxseg() counted every pending block and clamped the total, so
without timestamps and with five or more blocks pending it came out 4
bytes below the segment tcp_output() sends.  Limited transmit after an
RTO then sent one full segment and failed the "sent too much" KASSERT.

Approved by:    re (cperciva)
PR:             282605
Approved by:    adrian (mentor)
Signed-off-by:  Nick Price <nprice at FreeBSD.org>
Reviewed by:    tuexen, glebius, adrian
Differential Revision:  https://reviews.freebsd.org/D60460
(cherry picked from commit d3b02115d4b373c719d9a716da38d94511de3f07)
(cherry picked from commit aacae7b35a22a56e187a0a41db231d63ca9cefb6)
DeltaFile
+6-3sys/netinet/tcp_subr.c
+6-31 files

FreeBSD/src 8d4a8d1 — sys/netinet tcp_input.c, sys/netinet/tcp_stacks bbr.c rack.c

tcp: improve ISS checking for ghost ACKs

The check in tcp_adapt_iss_check() depends on SND.UNA and therefore
should be performed whenever SND.UNA is incremented.

Approved by:    re (cperciva)
PR:                     298560
Reviewed by:            Peter Lei
Sponsored by:           Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D61749

(cherry picked from commit 9e345ca583f702e7472f836136e766d3346c049d)
(cherry picked from commit ce78b5a3d47574fafbe86d1ce9dcef7c19360e95)
DeltaFile
+4-1sys/netinet/tcp_stacks/rack.c
+2-1sys/netinet/tcp_stacks/bbr.c
+2-1sys/netinet/tcp_input.c
+8-33 files

FreeBSD/src c52b45e — sys/netinet tcp_input.c tcp_var.h, sys/netinet/tcp_stacks rack.c bbr.c

tcp: improve consistency

Use an inline function tcp_adapt_iss_check() to perform the check
consistently instead of replicating the code multiple times. These
checks already became inconsistent.
A fix for PR 298560 requires more calls to tcp_adapt_iss_check().

Approved by:    re (cperciva)
Reviewed by:            Peter Lei
Fixes:                  fa2ad70a4511 ("tcp: make ghost ACK handling more conformant")
Sponsored by:           Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D61685

(cherry picked from commit e3483dbc91b59b5b2c73a4bc792fbb834c3dc111)
(cherry picked from commit 73929d1dc3b4116ca12cc3fe08fa3a9b66bf3318)
DeltaFile
+10-0sys/netinet/tcp_var.h
+1-4sys/netinet/tcp_stacks/rack.c
+1-4sys/netinet/tcp_stacks/bbr.c
+1-4sys/netinet/tcp_input.c
+13-124 files

FreeBSD/src 202f628 — sys/netinet tcp_input.c

tcp: make ghost ACK handling more conformant

The latest version of draft-ietf-tcpm-tcp-ghost-acks changed
a condition. This should make no substantial difference, but makei
it compliant to the latest version of the specification.

Approved by:    re (cperciva)
Reviewed by:            rscheff, Peter Lei
Sponsored by:           Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D58411

(cherry picked from commit fa2ad70a4511e7b379e81de82c9e51b2e0994295)
(cherry picked from commit a170546cb8d13a67ee3062114228d3df4744bbee)
DeltaFile
+1-1sys/netinet/tcp_input.c
+1-11 files

FreeBSD/src 6a3f0ed — sys/netinet tcp_output.c

tcp: improve sender side SWS avoidance

When checking for a full sized segment, take all TCP options that will
be included into account. This fixes a bug which can trigger the
"sent too much" KASSERT related to limited transmit.

Approved by:    re (cperciva)
Reported by:            olivier
Reviewed by:            rscheff, Peter Lei
Sponsored by:           Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D61605

(cherry picked from commit d174085f9f895ed444bd95120da3eff481a58f1a)
(cherry picked from commit 13357c1ee34f9f8655375714c60da8bf4881493a)
DeltaFile
+1-13sys/netinet/tcp_output.c
+1-131 files