FreeBSD/src 665afd2 — sys/dev/pci pcireg.h pci.c

pci: restore resizable BAR sizes in pci_cfg_restore()

After a device reset, resizable BARs return to their default sizes.
Restore them to the sizes they had prior to reset.

Reviewed by:    imp, adrian
Differential Revision:  https://reviews.freebsd.org/D61110
Approved by:    adrian (mentor)
Signed-off-by: Nick Price <nprice at FreeBSD.org>
DeltaFile
+49-0sys/dev/pci/pci.c
+9-0sys/dev/pci/pcireg.h
+58-02 files

FreeBSD/src 2bb9831 — usr.sbin/ppp pred.c

ppp: bound Predictor-1 decompression output

Pred1Input() decompressed CCP data into a MAX_MRU+2 mbuf with no limit
on the output, so a peer could expand a short compressed frame (up to
8:1) past the buffer and overflow adjacent heap.  An input length below
4 also drove decompress() with a negative length.

Reject out-of-range input lengths and stop decompression at the
destination buffer size.

Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D61011
Approved by:    adrian (mentor)
Signed-off-by: Nick Price <nprice at FreeBSD.org>
DeltaFile
+23-12usr.sbin/ppp/pred.c
+23-121 files

FreeBSD/src 922fd62 — usr.sbin/ppp fsm.c

ppp: drop config packets whose options overrun the packet

fsm_readopt() advanced the decode cursor by the option length without
checking it against the end of the packet.  A crafted LCP/CCP/IPCP
option could then make the Config-Reject/Nak echo copy past the
received packet into adjacent heap, disclosing heap bytes to the peer
before authentication.

Check the option framing once in fsm_Input() and drop the packet before
decoding per RFC1661

Reviewed by:    adrian, markj
Differential Revision:  https://reviews.freebsd.org/D61008
Approved by:    adrian (mentor)
Signed-off-by: Nick Price <nprice at FreeBSD.org>
DeltaFile
+24-0usr.sbin/ppp/fsm.c
+24-01 files

FreeBSD/src fbe4835 — sys/compat/linux linux_xattr.c

linux: do not truncate the listxattr() size

listxattr() sized its buffer with min(), which truncates the 64-bit
size to 32 bits, so a size of 2^32 + k allocated k bytes while the
copy-out guard used the full size.  The walk then read record lengths
past the buffer and copied kernel heap out to the caller, and could
panic the kernel.  Any user can reach it through a user.* attribute on
a file it owns.

Use MIN(), and fail with EIO if a record runs past the data returned.

Reviewed by:    adrian, markj
Approved by:    adrian (mentor)
Differential Revision:  https://reviews.freebsd.org/D61006
Signed-off-by: Nick Price <nprice at FreeBSD.org>
DeltaFile
+9-1sys/compat/linux/linux_xattr.c
+9-11 files

FreeBSD/ports 96cbb27 — lang/python-doc-html distinfo, lang/python311 pkg-plist Makefile.version

lang/python311: update to 3.11.18

Changelog: https://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-18-final
(cherry picked from commit 8ccdd7c8e4f86d406d37fb11f33cd24bf246ea7a)
DeltaFile
+5-5lang/python-doc-html/distinfo
+3-3lang/python311/distinfo
+1-1lang/python311/Makefile.version
+1-0lang/python311/pkg-plist
+10-94 files

FreeBSD/ports ef7dd8a — lang/python-doc-html distinfo, lang/python312 pkg-plist Makefile.version

lang/python312: update to 3.12.16

Changelog: https://docs.python.org/3.12/whatsnew/changelog.html#python-3-12-16-final

PR: 300592
(cherry picked from commit 07428dffd7ee4784fb14d9d3d688cb1beb7881f7)
DeltaFile
+5-5lang/python-doc-html/distinfo
+3-3lang/python312/distinfo
+1-1lang/python312/Makefile.version
+1-0lang/python312/pkg-plist
+10-94 files

FreeBSD/ports 6d13457 — lang/python-doc-html distinfo, lang/python313 Makefile.version pkg-plist

lang/python313: update to 3.13.18

Changelog:      https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-18-final
                https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-17-final
(cherry picked from commit 61f332a23f84f0932d32ed94e1b1e8a7ddd48f3f)
DeltaFile
+5-5lang/python-doc-html/distinfo
+3-3lang/python313/distinfo
+2-1lang/python313/pkg-plist
+1-1lang/python313/Makefile.version
+11-104 files

FreeBSD/ports 0488c53 — lang/python-doc-html distinfo, lang/python314 Makefile.version distinfo

lang/python314: update to 3.14.10

Changelog:      https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-10-final
                https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-9-final

PR:             300576
(cherry picked from commit a0cfd53b69c4efeee1470ae2e7cfb75a8c1fe7ca)
DeltaFile
+29-14lang/python314/pkg-plist
+0-11lang/python314/files/patch-Misc__python-config.sh.in
+5-5lang/python-doc-html/distinfo
+3-3lang/python314/distinfo
+1-1lang/python314/Makefile.version
+38-345 files

FreeBSD/ports 9dd7d98 — lang/nawk Makefile distinfo

lang/nawk: Update to 20261106

Changelog:
https://raw.githubusercontent.com/onetrueawk/awk/refs/tags/20261106/FIXES

Approved by: osa, fluffy (mentors, implicit)
DeltaFile
+3-3lang/nawk/distinfo
+1-1lang/nawk/Makefile
+4-42 files

FreeBSD/ports 8ccdd7c — lang/python-doc-html distinfo, lang/python311 pkg-plist Makefile.version

lang/python311: update to 3.11.18

Changelog: https://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-18-final
DeltaFile
+5-5lang/python-doc-html/distinfo
+3-3lang/python311/distinfo
+1-1lang/python311/Makefile.version
+1-0lang/python311/pkg-plist
+10-94 files

FreeBSD/ports 07428df — lang/python-doc-html distinfo, lang/python312 pkg-plist Makefile.version

lang/python312: update to 3.12.16

Changelog: https://docs.python.org/3.12/whatsnew/changelog.html#python-3-12-16-final

PR: 300592
DeltaFile
+5-5lang/python-doc-html/distinfo
+3-3lang/python312/distinfo
+1-1lang/python312/Makefile.version
+1-0lang/python312/pkg-plist
+10-94 files

FreeBSD/ports 61f332a — lang/python-doc-html distinfo, lang/python313 Makefile.version pkg-plist

lang/python313: update to 3.13.18

Changelog:      https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-18-final
                https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-17-final
DeltaFile
+5-5lang/python-doc-html/distinfo
+3-3lang/python313/distinfo
+2-1lang/python313/pkg-plist
+1-1lang/python313/Makefile.version
+11-104 files

FreeBSD/ports a0cfd53 — lang/python-doc-html distinfo, lang/python314 Makefile.version distinfo

lang/python314: update to 3.14.10

Changelog:      https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-10-final
                https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-9-final

PR:             300576
DeltaFile
+29-14lang/python314/pkg-plist
+0-11lang/python314/files/patch-Misc__python-config.sh.in
+5-5lang/python-doc-html/distinfo
+3-3lang/python314/distinfo
+1-1lang/python314/Makefile.version
+38-345 files

FreeBSD/ports 0b6781e — devel/jenkins Makefile distinfo

devel/jenkins: Update to 2.589

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/jenkins/distinfo
+1-1devel/jenkins/Makefile
+4-42 files

FreeBSD/ports 485d9c4 — . UIDs, devel/gerrit distinfo pkg-descr

devel/gerrit: add new port for Gerrit Code Review 3.14.2

Gerrit is a free, web-based code collaboration tool for Git-based
projects. It provides code review, repository management, and an
integrated SSH server for git operations.

This port installs the pre-built WAR file with an RC script for
running Gerrit as a daemon.

WWW: https://www.gerritcodereview.com/
DeltaFile
+81-0devel/gerrit/files/gerrit.in
+43-0devel/gerrit/Makefile
+18-0devel/gerrit/pkg-message
+4-0devel/gerrit/pkg-descr
+3-0devel/gerrit/distinfo
+1-1UIDs
+150-13 files not shown
+153-29 files

NetBSD/pkgsrc-wip 92b1408 — R Makefile distinfo

(math/R) updated 4.6.1 to 4.6.2
DeltaFile
+127-50R/COMMIT_MSG
+10-3R/PLIST
+3-3R/distinfo
+1-1R/Makefile
+141-574 files

LLVM/project 27cf3e0 — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt remap_file_pages.h, libc/src/sys/mman/linux CMakeLists.txt remap_file_pages.cpp

[libc] Use a syscall wrapper for remap_file_pages

This PR move remap_file_pages behind the centralized syscall wrappers, following libc/docs/dev/syscall_wrapper_refactor.md.
DeltaFile
+41-0libc/src/__support/OSUtil/linux/syscall_wrappers/remap_file_pages.h
+11-16libc/src/sys/mman/linux/remap_file_pages.cpp
+17-2utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+13-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+5-3libc/src/sys/mman/linux/CMakeLists.txt
+87-215 files

LLVM/project 306b3e1 — libc/src/sys/mman/linux CMakeLists.txt posix_madvise.cpp, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[libc] Use a syscall wrapper for posix_madvise

This PR move posix_madvise behind the centralized syscall wrappers, following libc/docs/dev/syscall_wrapper_refactor.md.
DeltaFile
+9-7libc/src/sys/mman/linux/posix_madvise.cpp
+3-2libc/src/sys/mman/linux/CMakeLists.txt
+1-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+13-103 files

OpenBSD/ports pDyz6b7 — devel/codex crates.inc Makefile, devel/codex/pkg README

   devel/codex: update to 0.167.0

   Also actualize the port for local llama.cpp server in README
VersionDeltaFile
1.62+4-4devel/codex/distinfo
1.3+1-1devel/codex/pkg/README
1.40+1-1devel/codex/crates.inc
1.65+1-1devel/codex/Makefile
+7-74 files

LLVM/project 319bd32 — llvm/lib/Analysis BlockFrequencyInfo.cpp

[BFI] Scale block frequencies with native 128-bit integers (NFC) (#239953)

Update setBlockFreqAndScale to use native 128 bit integers instead of
APInt if available, as this improves compile-time:

stage1-O3: -0.7%
stage1-ReleaseThinLTO: -0.08%
stage1-ReleaseLTO-g: -0.06%
stage1-aarch64-O3: -0.07%
stage2-O3: -0.07%
stage2-clang: -0.14%


https://llvm-compile-time-tracker.com/compare.php?from=f82380b4c3ff92a6293f03f7c02e40249ba10e13&to=b885f69205b43f51764127d753eaed4fd91a12e8&stat=instructions:u

Assisted-by: Opus 5.5

PR: https://github.com/llvm/llvm-project/pull/239953
DeltaFile
+20-13llvm/lib/Analysis/BlockFrequencyInfo.cpp
+20-131 files

LLVM/project aa4eebd — llvm/test/Transforms/LoopVectorize runtime-checks-hoist.ll

[LV] Add runtime check tests with loop invariant operand sums. (NFC) (#240067)

Add tests for nested loops whose runtime check bounds combine operands
invariant in the outer loop with variant ones.
DeltaFile
+317-0llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
+317-01 files

LLVM/project d0919a3 — llvm/lib/Transforms/Vectorize VPlanUtils.h VPlanUtils.cpp

[VPlan] Factor out VPSCEVExpander::canExpandInIR (NFC). (#240063)

Split off the check for expressions that are expanded in IR and hoisted
out of HoistOutOf, to reuse it in follow-ups.
DeltaFile
+6-2llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+3-0llvm/lib/Transforms/Vectorize/VPlanUtils.h
+9-22 files

LLVM/project db43068 — llvm/include/llvm/Transforms/Vectorize LoopVectorizationLegality.h LoopVectorize.h, llvm/lib/Transforms/Vectorize VPlan.h LoopVectorizationLegality.cpp

[LV] Remove InnerLoopVectorizer (NFC) (#240055)

All that is left of InnerLoopVectorizer is a bundle of state passed to
executePlan, of which only the assumption cache, a fresh IRBuilder and
whether runtime checks were generated are used, plus fixVectorizedLoop,
which runs legacyCSE on the vector loop header.

Create the IRBuilder in executePlan, take the assumption cache from
Legal, pass whether there are runtime checks as a bool and run legacyCSE
directly. Also drop executePlan's DominatorTree argument, which is the
same as the planner's DT member, and update comments that still refer to
InnerLoopVectorizer.

PR: https://github.com/llvm/llvm-project/pull/240055
DeltaFile
+16-105llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+3-3llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+3-2llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
+1-3llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
+1-2llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+0-1llvm/lib/Transforms/Vectorize/VPlan.h
+24-1166 files

LLVM/project 09b8388 — llvm/lib/Support KnownFPClass.cpp

[KnownFPClass][NFC] Move fma logic out of fadd_impl, and document rounding mode assumption made by fadd/fsub (#240054)

I have plans to improve deductions made by `fadd`/`fsub` and `fma`.
However, some of these deductions are only valid for `fadd`/`fsub`, so I
have moved the `fma` logic outside of `fadd_impl` and into its own
`fma_impl` function. This allows us to make improvements to `fadd/fsub`
independently of `fma`, and it also makes it easier to audit
improvements to `fma`.

I also have plans to support the rounding mode for primitive arithmetic
functions https://github.com/llvm/llvm-project/issues/228974, so I have
documented the `NearestTiesToEven` assumption that `fadd_impl` makes
when ruling out `-0.0`, allowing `fadd_impl` to be valid for all
rounding modes.
DeltaFile
+49-17llvm/lib/Support/KnownFPClass.cpp
+49-171 files

LLVM/project fad6946 — clang/test/OpenMP GH141228.cpp, llvm/lib/MC MCTargetOptionsCommandFlags.cpp

Rebase, address comments

Created using spr 1.3.7
DeltaFile
+550-0llvm/test/Transforms/SLPVectorizer/X86/fma-copyable.ll
+145-236llvm/test/CodeGen/SPARC/fp-strict-cmp.ll
+38-216llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
+214-0llvm/test/Transforms/SLPVectorizer/X86/copyable-freeze.ll
+201-0clang/test/OpenMP/GH141228.cpp
+111-18llvm/test/CodeGen/SPARC/fp-strict.ll
+1,259-470119 files not shown
+2,514-714125 files

LLVM/project 2f1a1b0 — llvm/test/Transforms/SLPVectorizer/X86 copyable-freeze.ll

[SLP][NFC]Add extra tests with copyable freeze, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/240068
DeltaFile
+274-0llvm/test/Transforms/SLPVectorizer/X86/copyable-freeze.ll
+274-01 files

FreeBSD/src 838ff55 — lib/libc/xdr xdr.c, sys/xdr xdr.c

xdr: Limit xdr_wrapstring

The previous commit (re)introduced the possibility that a malicious or
corrupt message can cause the receiver to allocate a very large amount
of memory before realizing that the message is much shorter than
claimed.  Revert the change to xdr_wrapstring() to avoid this.

Fixes:          d2018cedb414 ("xdr: Fix xdr_string")
Reported by:    bjk@
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D60898
DeltaFile
+3-1sys/xdr/xdr.c
+3-1lib/libc/xdr/xdr.c
+6-22 files

HardenedBSD/src 838ff55 — lib/libc/xdr xdr.c, sys/xdr xdr.c

xdr: Limit xdr_wrapstring

The previous commit (re)introduced the possibility that a malicious or
corrupt message can cause the receiver to allocate a very large amount
of memory before realizing that the message is much shorter than
claimed.  Revert the change to xdr_wrapstring() to avoid this.

Fixes:          d2018cedb414 ("xdr: Fix xdr_string")
Reported by:    bjk@
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D60898
DeltaFile
+3-1sys/xdr/xdr.c
+3-1lib/libc/xdr/xdr.c
+6-22 files

FreeBSD/src 0c248bd — share/man/man4 iscsi.4, sys/dev/iscsi iscsi.c

iSCSI: Fast and per-session timeouts

Support per-session configurable ping (SCSI NOP) and login timeouts
similar to what is supported in the Linux iSCSI initiator configuration file.

Reduce iscsi timer granularity to 0.1 sec.
For backwards compatibility, when all timers are selected on integer numbers,
all status messages are unchanged. If the higher granularity is used, the
log messages include sub-second granularity.

The sysctl(3) interface has changed from pure int to string, in order to
support fractional seconds in a human-readable, dotted notation.

Reviewed By: #netapp, #manpages, jhb, pauamma_chezdork.com, siderop1_netapp.com
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D32540
DeltaFile
+35-18sys/dev/iscsi/iscsi.c
+24-2usr.bin/iscsictl/parse.y
+8-6usr.bin/iscsictl/iscsictl.c
+6-2usr.sbin/iscsid/iscsid.c
+4-3share/man/man4/iscsi.4
+3-3usr.bin/iscsictl/iscsi.conf.5
+80-342 files not shown
+83-348 files

HardenedBSD/src 0c248bd — share/man/man4 iscsi.4, sys/dev/iscsi iscsi.c

iSCSI: Fast and per-session timeouts

Support per-session configurable ping (SCSI NOP) and login timeouts
similar to what is supported in the Linux iSCSI initiator configuration file.

Reduce iscsi timer granularity to 0.1 sec.
For backwards compatibility, when all timers are selected on integer numbers,
all status messages are unchanged. If the higher granularity is used, the
log messages include sub-second granularity.

The sysctl(3) interface has changed from pure int to string, in order to
support fractional seconds in a human-readable, dotted notation.

Reviewed By: #netapp, #manpages, jhb, pauamma_chezdork.com, siderop1_netapp.com
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D32540
DeltaFile
+35-18sys/dev/iscsi/iscsi.c
+24-2usr.bin/iscsictl/parse.y
+8-6usr.bin/iscsictl/iscsictl.c
+6-2usr.sbin/iscsid/iscsid.c
+4-3share/man/man4/iscsi.4
+3-3usr.bin/iscsictl/iscsi.conf.5
+80-342 files not shown
+83-348 files