[CMake] Move -Bsymbolic-functions linker check to HandleLLVMOptions (#246238)
The check was in add_link_opts, which runs for every library and
executable. Move it to HandleLLVMOptions so it only runs once. It is
still visible to both llvm-shlib and clang-shlib, including standalone
clang builds.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
lang/v8-beta: Fix calloc() returning non-zeroed memory
PartitionAlloc, which libv8.so uses to replace malloc() for the whole
process, assumes pages discarded with madvise(MADV_DONTNEED) read back
as zeros and skips zeroing them in calloc(). FreeBSD's MADV_DONTNEED
does not zero anonymous memory, so calloc() could return stale data,
corrupting V8's hash maps and crashing d8 and other libv8 consumers.
Treat BSD like Apple: report decommitted memory as not always zeroed,
and discard with MADV_FREE. www/chromium carries the same patches.
PR: 301107
lang/v8: Fix calloc() returning non-zeroed memory
PartitionAlloc, which libv8.so uses to replace malloc() for the whole
process, assumes pages discarded with madvise(MADV_DONTNEED) read back
as zeros and skips zeroing them in calloc(). FreeBSD's MADV_DONTNEED
does not zero anonymous memory, so calloc() could return stale data,
corrupting V8's hash maps and crashing d8 and other libv8 consumers.
Treat BSD like Apple: report decommitted memory as not always zeroed,
and discard with MADV_FREE. www/chromium carries the same patches.
PR: 301107
Check the ->path in the parameter from the privileged process is
properly null terminated.
Report and initial diff from Shibo, Hugo, Systopia Team / sai02 at
student.ubc.ca
[MC][NFC] Make MCAsmInfo::getExprForPersonalitySymbol non-virtual (#246826)
This is Darwin-only; replace with two member variables. Saves 400B of
.data.rel.ro.
Check parameters from the privileged process more strictly.
Previously, insufficient validation could lead to an out-of-bounds
write.
Report from sai02 at student.ubc.ca and Acts1631. Diff from Acts1631
[GVN] Drop bitcast in PointerUsesQueue. NFC
Typed ptr is retired in previous LLVM version. Adding this to queue
performs no-op in here. Drop this directly.
net/firewall-legacy: add main firewall rules page privilege
Not really getting what 16e30e831c was about. Move the privilege
here and also add the missing legacy rule lookup pattern.
PR: https://github.com/opnsense/core/issues/11347
[libc] Use a syscall wrapper for prctl (#243787)
This PR move prctl behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
[GVN] Extend processFoldableCondBr to support switch
A switch with constant condition can also be folded. As a result, we
rename processFoldableCondBr to support switch. The logic of the
function is rewrite as switch can have multiple destinations. Instead
of recording something dead, we record the Live sucessor, and skip
same live BB.
splitCriticalEdges in here is also support merging same BB so that GVN
can reach converge earlier.
Assisted-by: Claude # Test
net/storj: belatedly update Storj programs to version 1.167.1
- Pass some required storj.io/common/version.build* values via
GO_LDFLAGS so storagenode can connect to satellites, sync the
clock, and the dashboard reports correct version information
- Install three new programs: jobq, jobqtool, and write-hashtbl
- Go 1.23 and later require vendored packages to be present in
modules.txt to be imported, so cache it under ${FILESDIR}
Non-M2T-friendly GitHub tag replaced with its commit hash:
open-telemetry/opentelemetry-go-contrib: v0.70.0 -> c8a87a60ba1b
Reported by: portscout
PR: 292296
Differential Revision: https://reviews.freebsd.org/D61576
devel/py-localstub: New port
localstub is a Python library and CLI for testing HTTP clients
against the behavior of a real server. It runs an asyncio HTTP
server in your test process, returns whatever responses you
configure, including error responses, slow responses, disconnects,
and records each request exactly as it arrived on the wire for
your tests to inspect.
A TLS proxy is provided so you can test your clients without
having to make any config changes, most HTTP clients support
HTTPS_PROXY and some environment variables for specifying
a CA_BUNDLE. This also lets you inspect existing HTTP clients
to see the exact bytes they are sending to servers.
Approved by: hrs (mentor)
fatal when the user attempts to create a KRL CA section where the
CA is identified by a certificate rather than continuing to create a
KRL that will never match anything.
Anthropic ANT-2026-AH80SZMC