LLVM/project dcc0128 — utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Fixes 6e144d9 (#246241)

This fixes 6e144d9372f2169817e07f6a828438ec0880f34f (#223745).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=6e144d9372f2169817e07f6a828438ec0880f34f

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+23-3utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+23-31 files

LLVM/project 77d6721 — flang-rt/unittests/Runtime Namelist.cpp, flang/include/flang/Support Fortran-features.h

[flang] Fix value separators for CHARACTER array output (#205303)

Fixes #192936

Undelimited character values in namelist output might not be readable as
namelist input (F'2018 13.11.4.2 NOTE 1). Emit a warning for namelist
WRITE/PRINT when a group item has CHARACTER data and DELIM= is absent or
'NONE'. DELIM='NONE' runtime output is unchanged, and a runtime test is
added for DELIM='QUOTE' namelist output and read-back.
The warning is enabled by default since the affected users are the ones
who would not opt in; it can be disabled with
-Wno-undelimited-namelist-character.
DeltaFile
+63-0flang/test/Semantics/io20.f90
+43-0flang/lib/Semantics/check-io.cpp
+31-0flang-rt/unittests/Runtime/Namelist.cpp
+3-1flang/lib/Semantics/check-io.h
+2-1flang/include/flang/Support/Fortran-features.h
+3-0flang/unittests/Common/FortranFeaturesTest.cpp
+145-21 files not shown
+146-27 files

HardenedBSD/src 9961669 — contrib/atf/atf-c macros_test.c, sys/amd64/vmm x86.c vmm_cpuid.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+1,100-0sys/amd64/vmm/vmm_cpuid.c
+775-214sys/contrib/zstd/lib/compress/zstd_compress.c
+713-235sys/contrib/zstd/programs/fileio.c
+0-623sys/amd64/vmm/x86.c
+273-282contrib/atf/atf-c/macros_test.c
+439-105sys/contrib/zstd/programs/util.c
+3,300-1,459221 files not shown
+10,824-6,878227 files

HardenedBSD/ports 6bbd65c — databases/sqlcipher Makefile, databases/sqlcipher/files patch-autosetup_sqlite-config.tcl

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+169-131devel/tuicr/distinfo
+83-64devel/tuicr/Makefile.crates
+33-39editors/fresh/distinfo
+15-18editors/fresh/Makefile.crates
+16-14databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
+13-12databases/sqlcipher/Makefile
+329-27833 files not shown
+433-35139 files

Linux/linux 25faec9 — drivers/net/ethernet/freescale/dpaa2 dpaa2-eth.c

net: dpaa2-eth: fix objtool warning and logic bug

This commit came about because I locally had a build with COMPILE_TEST
and various runtime hardening features (that don't make sense for a pure
build test anyway) disabled - and objtool complained about some of the
code as a result:

   drivers/net/ethernet/freescale/dpaa2/fsl-dpaa2-eth.o: warning: objtool: dpaa2_eth_add_bufs+0x3f8: stack state mismatch: reg1[15]=-1+0 reg2[15]=-2-208

The reason seems to be that without the hardening features, objtool
notices that gcc is doing really odd things with the 'page' variable,
which is uninitialized in the path where 'ch->xsk_zc' is true.

Now, this seems to be just objtool becoming confused about some ugly
code, but that code is _also_ actively buggy in a different way, so
let's just fix this all.

What confuses objtool seems to be the stack slot for the uninitialized
'page' variable - for the case where that variable isn't actually used.

    [54 lines not shown]
DeltaFile
+12-16drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
+12-161 files

LLVM/project 6e144d9 — llvm/include/llvm/UBAwareInterpreter Value.h, llvm/lib/UBAwareInterpreter Context.cpp Interpreter.cpp

[llubi] Refactor library into llvm/lib (#223745)

This makes it easier for out-of-tree consumers to use the LLUBI library
for use cases where LLUBI is a good replacement for ExecutionEngine
(e.g., fuzzing workloads).

Part of

https://discourse.llvm.org/t/rfc-delete-executionengine-interpreter/91720.
DeltaFile
+0-3,294llvm/tools/llubi/lib/Interpreter.cpp
+3,294-0llvm/lib/UBAwareInterpreter/Interpreter.cpp
+0-1,388llvm/tools/llubi/lib/Context.cpp
+1,388-0llvm/lib/UBAwareInterpreter/Context.cpp
+514-0llvm/include/llvm/UBAwareInterpreter/Value.h
+0-511llvm/tools/llubi/lib/Value.h
+5,196-5,19317 files not shown
+7,115-7,09323 files

HardenedBSD/ports ed10ff7 — databases/sqlcipher Makefile, databases/sqlcipher/files patch-autosetup_sqlite-config.tcl patch-src_shell.c.in

databases/sqlcipher: Enable editline
DeltaFile
+11-0databases/sqlcipher/files/patch-src_shell.c.in
+8-0databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
+3-2databases/sqlcipher/Makefile
+22-23 files

FreeBSD/ports ed10ff7 — databases/sqlcipher Makefile, databases/sqlcipher/files patch-autosetup_sqlite-config.tcl patch-src_shell.c.in

databases/sqlcipher: Enable editline
DeltaFile
+11-0databases/sqlcipher/files/patch-src_shell.c.in
+8-0databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
+3-2databases/sqlcipher/Makefile
+22-23 files

HardenedBSD/ports ba6746b — databases/sqlcipher Makefile, databases/sqlcipher/files patch-autosetup_sqlite-config.tcl

databases/sqlcipher: Revert CONFIGURE_ARGS=--soname to legacy
DeltaFile
+8-14databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
+3-3databases/sqlcipher/Makefile
+11-172 files

FreeBSD/ports ba6746b — databases/sqlcipher Makefile, databases/sqlcipher/files patch-autosetup_sqlite-config.tcl

databases/sqlcipher: Revert CONFIGURE_ARGS=--soname to legacy
DeltaFile
+8-14databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
+3-3databases/sqlcipher/Makefile
+11-172 files

HardenedBSD/ports 015b188 — databases/sqlcipher Makefile

databases/sqlcipher: Switch TEST_USES=tcl to 91

Remove the unnecessary USES=localbase:ldflags.
Replace CPPFLAGS with CFLAGS.
DeltaFile
+7-7databases/sqlcipher/Makefile
+7-71 files

FreeBSD/ports 015b188 — databases/sqlcipher Makefile

databases/sqlcipher: Switch TEST_USES=tcl to 91

Remove the unnecessary USES=localbase:ldflags.
Replace CPPFLAGS with CFLAGS.
DeltaFile
+7-7databases/sqlcipher/Makefile
+7-71 files

LLVM/project fb5f1e0 — libc/src/string/memory_utils/generic inline_strlen.h, libc/test/src/strings wide_read_memory_test.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+65-58libc/src/string/memory_utils/generic/inline_strlen.h
+31-30libc/test/src/strings/wide_read_memory_test.cpp
+96-882 files

LLVM/project 16ddaf1 — libc/src/string/memory_utils/generic inline_strlen.h, libc/test/src/strings wide_read_memory_test.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+65-58libc/src/string/memory_utils/generic/inline_strlen.h
+25-0libc/test/src/strings/wide_read_memory_test.cpp
+90-582 files

OpenBSD/src 4VqggTq — usr.bin/ssh ssh-agent.c

   check for expired/signal-deleted keys before processing each request
   rather than once per ppoll() round. Avoids keys being left available
   for use if multiple messages were read in one mainloop iteration.

   Anthropic ANT-2026-SHP0BXZS
VersionDeltaFile
1.337+22-7usr.bin/ssh/ssh-agent.c
+22-71 files

OpenBSD/src YEtVnE8 — include float.h, sys/arch/arm64/include _float.h

   add FLT_DECIMAL_DIG, DBL_DECIMAL_DIG and LDBL_DECIMAL_DIG for C11

   requested by landry@, ok kettenis@
VersionDeltaFile
1.2+10-1include/float.h
1.2+5-1sys/arch/riscv64/include/_float.h
1.2+5-1sys/arch/arm64/include/_float.h
1.2+4-1sys/arch/sh/include/_float.h
1.2+4-1sys/arch/powerpc64/include/_float.h
1.2+4-1sys/arch/powerpc/include/_float.h
+32-68 files not shown
+64-1414 files

LLVM/project ab587cb — libc/src/string/memory_utils/generic inline_strlen.h

vector align warning

Created using spr 1.3.7
DeltaFile
+3-2libc/src/string/memory_utils/generic/inline_strlen.h
+3-21 files

OpenBSD/src DZy7MMi — usr.bin/ssh ssh-pkcs11-helper.c

   increase maximum message length for PKCS#11 helper to slightly
   over 256KB. Avoids helper fatal() when a certificate over 10KB
   is added.

   Anthropic ANT-2026-RYQEXQ8K
VersionDeltaFile
1.32+8-2usr.bin/ssh/ssh-pkcs11-helper.c
+8-21 files

LLVM/project 1fe7cd6 — libc/test/src/strings wide_read_memory_test.cpp

simplify test

Created using spr 1.3.7
DeltaFile
+3-4libc/test/src/strings/wide_read_memory_test.cpp
+3-41 files

LLVM/project fd84c1a — libc/test/src/strings wide_read_memory_test.cpp

formatting

Created using spr 1.3.7
DeltaFile
+1-1libc/test/src/strings/wide_read_memory_test.cpp
+1-11 files

FreeBSD/ports 2c90bf2 — net/py-ripe.atlas.tools Makefile distinfo

net/py-ripe.atlas.tools: Update 3.4.0 => 3.4.1

Changelog:
https://github.com/RIPE-NCC/ripe-atlas-tools/blob/master/CHANGES.rst

Approved by:            olivier (mentor)
Sponsored by:           RIPE Community
Differential Revision:  https://reviews.freebsd.org/D62069
DeltaFile
+3-3net/py-ripe.atlas.tools/distinfo
+2-2net/py-ripe.atlas.tools/Makefile
+5-52 files

HardenedBSD/ports 2c90bf2 — net/py-ripe.atlas.tools Makefile distinfo

net/py-ripe.atlas.tools: Update 3.4.0 => 3.4.1

Changelog:
https://github.com/RIPE-NCC/ripe-atlas-tools/blob/master/CHANGES.rst

Approved by:            olivier (mentor)
Sponsored by:           RIPE Community
Differential Revision:  https://reviews.freebsd.org/D62069
DeltaFile
+3-3net/py-ripe.atlas.tools/distinfo
+2-2net/py-ripe.atlas.tools/Makefile
+5-52 files

FreeBSD/ports 8959c6a — net/py-ripe.atlas.cousteau Makefile distinfo

net/py-ripe.atlas.cousteau: Update: 2.3.0 => 2.3.1

Changelog:
https://github.com/RIPE-NCC/ripe-atlas-cousteau/blob/master/CHANGES.rst

Approved by:            olivier (mentor)
Sponsored by:           RIPE Community
Differential Revision:  https://reviews.freebsd.org/D62068
DeltaFile
+3-3net/py-ripe.atlas.cousteau/distinfo
+1-1net/py-ripe.atlas.cousteau/Makefile
+4-42 files

HardenedBSD/ports 8959c6a — net/py-ripe.atlas.cousteau Makefile distinfo

net/py-ripe.atlas.cousteau: Update: 2.3.0 => 2.3.1

Changelog:
https://github.com/RIPE-NCC/ripe-atlas-cousteau/blob/master/CHANGES.rst

Approved by:            olivier (mentor)
Sponsored by:           RIPE Community
Differential Revision:  https://reviews.freebsd.org/D62068
DeltaFile
+3-3net/py-ripe.atlas.cousteau/distinfo
+1-1net/py-ripe.atlas.cousteau/Makefile
+4-42 files

HardenedBSD/src 4aff0bc — sys/netinet6 in6.c

nd6: Keep addresses tentative in in6_if_up

in6_if_up() runs from the IFNET_EVENT_UP handler on every
IFF_UP 0->1 transition, whether or not the interface is ifdisabled.
Ignore state transitions in in6_if_up() for now.

Reported by:    llm-postcr
Fixes:          f0ce2ae67f9f ("nd6: Do not make SLAAC addresses usable with ifdisabled")
DeltaFile
+0-1sys/netinet6/in6.c
+0-11 files

FreeBSD/src 4aff0bc — sys/netinet6 in6.c

nd6: Keep addresses tentative in in6_if_up

in6_if_up() runs from the IFNET_EVENT_UP handler on every
IFF_UP 0->1 transition, whether or not the interface is ifdisabled.
Ignore state transitions in in6_if_up() for now.

Reported by:    llm-postcr
Fixes:          f0ce2ae67f9f ("nd6: Do not make SLAAC addresses usable with ifdisabled")
DeltaFile
+0-1sys/netinet6/in6.c
+0-11 files

LLVM/project ab25726 — llvm/lib/Target/Xtensa XtensaFrameLowering.cpp, llvm/test/CodeGen/Xtensa emergency-spill-slot.ll emergency-spill-slot.mir

[Xtensa] Reserve the emergency spill slot for unencodable frame offsets  (#243518)

We want to reserve an emergency spill slot when a frame offset cannot be
encoded in the instruction. This can happen when the instruction's reach
is not enough, when the offset isn't a multiple of the instruction's offset
scale (e.g. with inline assembly), or when incoming arguments push the
address out of reach.

Compute an upper bound on the stack size: start from
MachineFrameInfo::estimateStackSize() (which can underestimate) and add
each object's worst-case alignment padding. Then check whether every
instruction can encode its frame offset. Since the layout isn't known
yet, check against every offset the object could end up at. Reserve the
slot if any instruction can't.

We can also skip reserving a slot for instructions that can reuse their
destination register for the address calculation, specifically far
loads.


    [6 lines not shown]
DeltaFile
+216-0llvm/test/CodeGen/Xtensa/emergency-spill-slot.mir
+118-12llvm/lib/Target/Xtensa/XtensaFrameLowering.cpp
+38-0llvm/test/CodeGen/Xtensa/emergency-spill-slot.ll
+372-123 files

LLVM/project 185d033 — libc/src/string/memory_utils/generic inline_strlen.h, libc/test/src/strings wide_read_memory_test.cpp

fix

Created using spr 1.3.7
DeltaFile
+62-41libc/src/string/memory_utils/generic/inline_strlen.h
+26-0libc/test/src/strings/wide_read_memory_test.cpp
+88-412 files

FreeBSD/ports 41406e7 — net-im/signal-desktop Makefile

net-im/signal-desktop: Bump port revision after electron44 update (29b0fde2b5f7)
DeltaFile
+1-1net-im/signal-desktop/Makefile
+1-11 files

HardenedBSD/ports 41406e7 — net-im/signal-desktop Makefile

net-im/signal-desktop: Bump port revision after electron44 update (29b0fde2b5f7)
DeltaFile
+1-1net-im/signal-desktop/Makefile
+1-11 files