LLVM/project 5d20c85 — libc/src/__support/OSUtil/baremetal io.h, libc/src/stdio/baremetal fseeko.cpp ftello.cpp

[libc] Change __llvm_libc_stdio_seek to match cookie_io_functions_t (#225632)

This allows using __llvm_libc_stdio_seek directly without a need for an
adapter, matching the rest of the stdio embedding interface.
DeltaFile
+3-3libc/src/stdio/baremetal/fseek.cpp
+3-3libc/src/__support/OSUtil/baremetal/io.h
+3-2libc/src/stdio/baremetal/ftello.cpp
+3-2libc/src/stdio/baremetal/ftell.cpp
+1-1libc/src/stdio/baremetal/fseeko.cpp
+13-115 files

LLVM/project ae3b767 — llvm/test/MC/Disassembler/AMDGPU gfx12_dasm_err.txt gfx12_dasm_vop1.txt

[AMDGPU][MC] Add missing gfx12 disassembler test cases (#243450)

We used to have them for true16 downstream.

Assisted-By: Claude
DeltaFile
+17-0llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop1.txt
+5-0llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_err.txt
+22-02 files

LLVM/project 5b0f8ae — llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch/lsx pr222088.ll

[LoongArch] Fix crash on SIGN_EXTEND of non-simple vector types (#222250)

Custom lowering of ISD::SIGN_EXTEND assumed a simple vector source,
which does not hold for e.g. the <4 x i24> mask promoted from an i24
vector compare. Bail out so the type legalizer falls back to the
default path; also guard lowerSIGN_EXTEND_VECTOR_INREG.

Fixes #222088
DeltaFile
+53-0llvm/test/CodeGen/LoongArch/lsx/pr222088.ll
+14-4llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+67-42 files

LLVM/project 4f67d9e — llvm/unittests/ADT SmallPtrSetTest.cpp PointerUnionTest.cpp

[ADT] Fix cfi-unrelated-cast with polymorphic types & add unittests (#239176)

When storing polymorphic types by value in `SmallVector`, `PagedVector`,
or copying them via `ArrayRef::copy`, raw untyped storage (`void *`) is
allocated and cast to `T *` prior to constructing elements in place.
While casting `void *` to `T *` before construction is valid in C++,
`-fsanitize=cfi-unrelated-cast` checks the vtable pointer at the point
of the cast, reading uninitialized memory before any constructor has
initialized the vtable pointer.

- Annotate `SmallVectorTemplateCommon::begin` and
`SmallVectorTemplateBase::mallocForGrow` with
`LLVM_NO_SANITIZE("cfi-unrelated-cast")`.
- Allocate untyped storage in `ArrayRef::copy` and
`PagedVector::operator[]` (avoiding premature `static_cast<T *>` inside
`BumpPtrAllocatorImpl::Allocate<T>`) and annotate both methods with
`LLVM_NO_SANITIZE("cfi-unrelated-cast")`.
- Add unit tests exercising polymorphic types across `ArrayRef`,
`DenseMap`, `DenseSet`, `MapVector`, `PagedVector`, `PointerUnion`,

    [3 lines not shown]
DeltaFile
+69-0llvm/unittests/ADT/SetVectorTest.cpp
+65-0llvm/unittests/ADT/SmallVectorTest.cpp
+63-0llvm/unittests/ADT/DenseMapTest.cpp
+61-0llvm/unittests/ADT/DenseSetTest.cpp
+59-0llvm/unittests/ADT/PointerUnionTest.cpp
+52-0llvm/unittests/ADT/SmallPtrSetTest.cpp
+369-09 files not shown
+588-515 files

FreeBSD/ports 78f1832 — devel/dbus Makefile, devel/dbus/files patch-dbus_dbus-connection.c

devel/dbus: Remove patch-dbus_dbus-connection.c that is included upstream

Upstream commit:
https://gitlab.freedesktop.org/dbus/dbus/-/commit/686229edd51a3d093002aff28289ca971a51cc37

Approved by:    jrm (mentor), desktop (arrowd)
Differential Revision:  https://reviews.freebsd.org/D61545
DeltaFile
+0-20devel/dbus/files/patch-dbus_dbus-connection.c
+1-0devel/dbus/Makefile
+1-202 files

FreeBSD/ports 19dffb8 — security/vuxml/vuln 2026.xml

security/vuxml: Document dbus denial-of-service vulnerabilities

Approved by:    jrm (mentor), desktop (arrowd)
Differential Revision:  https://reviews.freebsd.org/D61545
DeltaFile
+44-0security/vuxml/vuln/2026.xml
+44-01 files

FreeBSD/ports 3090abc — devel/pcsc-lite Makefile distinfo

devel/pcsc-lite: Update to 2.5.4

Reported by:    portscout!
DeltaFile
+3-3devel/pcsc-lite/distinfo
+1-2devel/pcsc-lite/Makefile
+4-52 files

FreeBSD/ports cc058a6 — net/kmailtransport Makefile, net/krdc Makefile

*: Fix qtkeychain consumers after deflavorization
DeltaFile
+1-1x11/albert/Makefile
+1-1security/plasma6lts-ksshaskpass/Makefile
+1-1security/plasma6-ksshaskpass/Makefile
+1-1net/smb4k/Makefile
+1-1net/krdc/Makefile
+1-1net/kmailtransport/Makefile
+6-626 files not shown
+32-3232 files

FreeBSD/ports 8a1013b — security/qtkeychain distinfo Makefile

security/qtkeychain: Update to 0.18.0

Remove the expired @qt5 FLAVOR.

Reported by:    portscout!
DeltaFile
+6-22security/qtkeychain/Makefile
+3-3security/qtkeychain/distinfo
+9-252 files

FreeBSD/src d1470ac — contrib/llvm-project/clang/lib/Basic/Targets PPC.h, contrib/llvm-project/llvm/lib/Target/PowerPC PPCTargetMachine.cpp

Merge commit 5472aa0c1321 from llvm git (by Piotr Kubaj):

  [PowerPC] Use the 16-byte stack and vector alignment on FreeBSD (#232336)

  FreeBSD uses the ELFv2 ABI on both byte orders, so it has the same
  16-byte stack alignment as Linux. The explicit vector alignment is a
  backend workaround that does not depend on the OS. There is no
  reason for the layouts to differ.

llvm 21 still keeps the data layout in two places, so the check is
changed in both the PowerPC backend and clang. They have to match, or
clang errors out with a data layout mismatch.

Reviewed by:    dim
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D61678
DeltaFile
+3-1contrib/llvm-project/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+1-1contrib/llvm-project/clang/lib/Basic/Targets/PPC.h
+4-22 files

FreeBSD/ports c739a3f — security/ca_root_nss Makefile distinfo

security/ca_root_nss: Update to 3.134

Changes to the certificate store since 3.132:
- Removed Buypass Class 2 Root CA and Buypass Class 3 Root CA
- Removed the websites trust bit from Certigna Root CA, QuoVadis Root CA
  1 G3 and QuoVadis Root CA 3 G3
- Set a server distrust date for emSign Root CA - G1, DigiCert Trusted
  Root G4 and Autoridad de Certificacion Firmaprofesional CIF A62634068

Changelog: https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/MNwzDRxeOOo

Sponsored by:   Netzkommune GmbH

(cherry picked from commit b64078572ff32d435a0757a72c74bee9960e39af)
DeltaFile
+3-3security/ca_root_nss/distinfo
+1-1security/ca_root_nss/Makefile
+4-42 files

FreeBSD/ports b640785 — security/ca_root_nss Makefile distinfo

security/ca_root_nss: Update to 3.134

Changes to the certificate store since 3.132:
- Removed Buypass Class 2 Root CA and Buypass Class 3 Root CA
- Removed the websites trust bit from Certigna Root CA, QuoVadis Root CA
  1 G3 and QuoVadis Root CA 3 G3
- Set a server distrust date for emSign Root CA - G1, DigiCert Trusted
  Root G4 and Autoridad de Certificacion Firmaprofesional CIF A62634068

Changelog: https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/MNwzDRxeOOo

Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3security/ca_root_nss/distinfo
+1-1security/ca_root_nss/Makefile
+4-42 files

LLVM/project 8d0e258 — llvm/lib/Target/LoongArch LoongArchISelLowering.cpp

Fix build breaks after rebase
DeltaFile
+1-1llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+1-11 files

LLVM/project 89a1690 — llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch/lasx bitset.ll bitrev.ll

[LoongArch] Select [x]vbitset/[x]vbitrev for or/xor of bitcasted shl(splat(1), y)

When the shift of splat(1) is performed in a narrower element type than
the or/xor, e.g.

```llvm
  %s = shl <8 x i16> splat (i16 1), %y
  %m = bitcast <8 x i16> %s to <2 x i64>
  %r = xor <2 x i64> %x, %m
```

the existing [x]vbitset.{b/h/w} and [x]vbitrev.{b/h/w} patterns fail to
match and we emit vrepli + vsll + vor.v/vxor.v.

Fold OP(bitcast(shl(splat(1), y)), x) into
bitcast(OP(shl(splat(1), y), bitcast(x))) for OP in {or, xor} so that
the operation is done in the shift's element type and selected as a
single [x]vbitset or [x]vbitrev.

Assisted-By: LLM
DeltaFile
+39-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+6-18llvm/test/CodeGen/LoongArch/lsx/bitset.ll
+6-18llvm/test/CodeGen/LoongArch/lsx/bitrev.ll
+6-18llvm/test/CodeGen/LoongArch/lasx/bitset.ll
+6-18llvm/test/CodeGen/LoongArch/lasx/bitrev.ll
+63-725 files

LLVM/project f85687e — llvm/test/CodeGen/LoongArch/lasx bitset.ll bitrev.ll, llvm/test/CodeGen/LoongArch/lsx bitset.ll bitrev.ll

[LoongArch][NFC] Pre-commit tests for [x]vbitset/[x]vbitrev through bitcast

Add tests where the shift of splat(1) is done in a narrower element type
and then bitcast to the type of the or/xor operation.

Assisted-By: LLM
DeltaFile
+93-0llvm/test/CodeGen/LoongArch/lsx/bitset.ll
+93-0llvm/test/CodeGen/LoongArch/lsx/bitrev.ll
+93-0llvm/test/CodeGen/LoongArch/lasx/bitset.ll
+93-0llvm/test/CodeGen/LoongArch/lasx/bitrev.ll
+372-04 files

LLVM/project f8632aa — llvm/lib/Target/NVPTX NVPTXInstrInfo.td, llvm/test/CodeGen/NVPTX convert_s2f6x2_sm_100a.ll

[NVPTX] Add support for s2f6x2 conversion on sm_107a (#243416)

This change adds `sm_107a` to the list of supported architectures for
`s2f6x2` conversion intrinsics in the NVPTX backend, and tests for the
same.

The test has been verified on `ptxas-13.5`.
DeltaFile
+2-1llvm/test/CodeGen/NVPTX/convert_s2f6x2_sm_100a.ll
+1-1llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+3-22 files

FreeBSD/src f9c923c — share/man/man5 freebsd-update.conf.5

freebsd.update.conf.5: No crossreferences in title

Crossreferences in titles are strongly discouraged and incompatible
with our own tooling. This is a wontfix by most of manpages ecosystem
because it is bad editorial style in the first place.

MFC after:      3 days
DeltaFile
+1-2share/man/man5/freebsd-update.conf.5
+1-21 files

FreeBSD/src 8f0e765 — share/man/man4 blackhole.4

blackhole.4: These sysctls are sysctl only

Fixes:  0c89a55a5d63a17 ("blackhole.4: Canonicalize SYNOPSIS")
MFC after:              3 days
Reported by:            llm-postcr
Differential Revision:  https://reviews.freebsd.org/D61687
DeltaFile
+0-2share/man/man4/blackhole.4
+0-21 files

FreeBSD/src 27eefcf — usr.bin/bsdiff/bspatch bspatch.1

bspatch.1: No crossreferences in titles

Crossreferences in titles are strongly discouraged and incompatible
with our own tooling. This is a wontfix by most of manpages ecosystem
because it is bad editorial style in the first place.

MFC after:      3 days
DeltaFile
+1-2usr.bin/bsdiff/bspatch/bspatch.1
+1-21 files

FreeBSD/src 3068ea3 — share/man/man4 ix.4

ix.4: Canoncialize wake sysctl

Integrate the wake sysctl in SYNOPSIS and SYSCTL VARIABLES so that
it is integrated into the search engine and visible in the canonical
sections. Also, add a blank line after the example for visual harmony.

Fixes:  c004384343be (ixgbe: Correct Wake-on-LAN configuration)
MFC after:              the above is MFCed
Reviewed by:            kbowling
Differential Revision:  https://reviews.freebsd.org/D61702
DeltaFile
+5-1share/man/man4/ix.4
+5-11 files

FreeBSD/src 000c5ec — share/man/man4 rge.4

rge.4: Polish

+ trim document description to fit on one line
+ canonicalize synopsis
+ move supported speeds to hardware with consistency with latest drivers
+ organize hardware in descending capability for marketing purposes
+ fix cursed line wrapping
+ make link to realtek.com clickable
+ first shipped in 15.2 actually
+ fix authors section line break and linter warning

Reviewed by:            adrian
MFC after:              immediately because this is shipping in 15.2
Differential Revision:  https://reviews.freebsd.org/D61704
DeltaFile
+37-43share/man/man4/rge.4
+37-431 files

LLVM/project 651037b — llvm/lib/Remarks YAMLRemarkParser.cpp YAMLRemarkParser.h, llvm/unittests/Remarks YAMLRemarksParsingTest.cpp

[Remarks] Parse YAML hotness as a 64-bit count (#243469)

We hit a parse error when reading YAML remarks with `Hotness` above
`UINT32_MAX`. The parser reads it as `unsigned`, rejecting valid 64-bit
counts. Parse `Hotness` as `uint64_t` to match `Remark::Hotness` and the
YAML serializer, while keeping debug-location fields as `unsigned`.

Add 3 unit tests to the existing YAML parser tests:

- Hotness = 2^32 / UINT64_MAX -> parsed without truncation
- Hotness = 2^64 -> rejected
- DebugLoc.Line = 2^32 -> rejected

Tested on Linux x86-64, Release build with assertions enabled:

- The 64-bit Hotness test fails before the fix for both 2^32 and
UINT64_MAX.
- All 52 Remarks unit tests pass after the fix.
- Hotness = 2^64 and DebugLoc.Line = 2^32 remain rejected.

    [3 lines not shown]
DeltaFile
+34-0llvm/unittests/Remarks/YAMLRemarksParsingTest.cpp
+17-2llvm/lib/Remarks/YAMLRemarkParser.h
+1-12llvm/lib/Remarks/YAMLRemarkParser.cpp
+52-143 files

FreeBSD/ports 6923863 — net/py-python-socks Makefile distinfo

net/py-python-socks: Update to 3.2.2
DeltaFile
+3-3net/py-python-socks/distinfo
+1-2net/py-python-socks/Makefile
+4-52 files

FreeBSD/ports d37335f — security/py-pwntools Makefile distinfo

security/py-pwntools: Update to 4.15.1
DeltaFile
+3-3security/py-pwntools/distinfo
+1-2security/py-pwntools/Makefile
+4-52 files

LLVM/project 2bee3e3 — compiler-rt/lib/scudo/standalone combined.h secondary.h, compiler-rt/lib/scudo/standalone/tests secondary_test.cpp

[scudo] Clean up zero on deallocate change. (#244070)

Instead of having a separate bool for Zero in the secondary cache entry,
use the already existing Flags instead.

Fix bug where a secondary cache entry is zeroed by releasing to the
kernel, but the entry was not marked as being zeroed. Update the test
for this since it was wrong too.

Move the zeroing of the entry so that if the secondary quarantine is
enabled, the entry is zeroed before being put in quarantine.
Move the zeroing outside of the lock when zero on deallocate is enabled.

Use the ClassId value in combined.h instead of using Header->ClassId.

BUG=b:581873117
BUG=b:582375770
DeltaFile
+17-11compiler-rt/lib/scudo/standalone/secondary.h
+8-9compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
+1-2compiler-rt/lib/scudo/standalone/combined.h
+26-223 files

FreeBSD/src 2db63f8 — contrib/elftoolchain/libdwarf dwarf.h dwarf_dump.c

MFC: libdwarf: standard DWARF 5 form names, DW_LANG_C17 and C23

7bb441c86678 added the fixed-size string and address index forms
0x25 to 0x2c as DW_FORM_ref_strx1..4 and DW_FORM_ref_addrx1..4; the
standard (DWARF 5, table 7.6) names them DW_FORM_strx1..4 and
DW_FORM_addrx1..4, with no "ref".  Rename them, keep the old spellings
as aliases since the header is installed, and update dwarf_dump.c's
form names accordingly.  Add DW_LANG_C17 (0x2c) and DW_LANG_C23 (0x3e),
which clang emits for -std=c17 and -std=c23 units.  ctfconv(1) needs
all of these; it carried them in a private header until now.

Reviewed by:    markj, emaste
Differential Revision: https://reviews.freebsd.org/D61154

(cherry picked from commit f22d65998fe15b6bed9c8c3a2eede25c706837e1)
DeltaFile
+16-16contrib/elftoolchain/libdwarf/dwarf_dump.c
+19-8contrib/elftoolchain/libdwarf/dwarf.h
+35-242 files

FreeBSD/src a0e9782 — sys/contrib/zlib gzwrite.c inflate.c

MFC: MFV: zlib 1.4

(cherry picked from commit 724bb39e83e369209d8e42a52370684b82e26350)
DeltaFile
+100-41sys/contrib/zlib/gzread.c
+73-37sys/contrib/zlib/deflate.c
+44-33sys/contrib/zlib/zlib.h
+37-37sys/contrib/zlib/gzlib.c
+43-13sys/contrib/zlib/inflate.c
+40-8sys/contrib/zlib/gzwrite.c
+337-16917 files not shown
+452-19723 files

LLVM/project 483d43f — flang/include/flang/Utils OpenMP.h, flang/lib/Optimizer/OpenMP DoConcurrentConversion.cpp

[flang][OpenMP][NFC] Move DoConcurrent live-in/target-op helpers into shared utils
DeltaFile
+8-341flang/lib/Optimizer/OpenMP/DoConcurrentConversion.cpp
+309-0flang/lib/Utils/OpenMP.cpp
+55-0flang/include/flang/Utils/OpenMP.h
+1-0flang/lib/Utils/CMakeLists.txt
+373-3414 files

LLVM/project ddd2bce — libc/src/sys/mount/linux mount.cpp CMakeLists.txt, libc/test/src/sys/mount CMakeLists.txt mount_test.cpp

[libc] implement sys/mount.h (#244047)

The mount header is for mounting and unmounting filesystems. This PR
adds mount, umount, and umount2, plus tests. Tests are pretty minimal
since we generally can't and don't want to mount or unmount random
files.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+65-0libc/test/src/sys/mount/umount_test.cpp
+65-0libc/test/src/sys/mount/umount2_test.cpp
+60-0libc/test/src/sys/mount/mount_test.cpp
+55-0libc/test/src/sys/mount/CMakeLists.txt
+44-0libc/src/sys/mount/linux/CMakeLists.txt
+37-0libc/src/sys/mount/linux/mount.cpp
+326-018 files not shown
+648-2324 files

NetBSD/pkgsrc-wip 99795d1 — py-ksef2 Makefile distinfo

py-ksef2: update to 1.3.0
DeltaFile
+939-667py-ksef2/PLIST
+3-3py-ksef2/distinfo
+1-1py-ksef2/Makefile
+943-6713 files