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
[MC][NFC] Make MCAsmInfo::getExprForPersonalitySymbol non-virtual (#246826)
This is Darwin-only; replace with two member variables. Saves 400B of
.data.rel.ro.
[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
revert change to try to keep reading public keys after a private key
in the same file when fingerprinting (ANT-2026-1T34TRV0).
This isn't a case we promise to support and it causes problems somewhere
in the bowels of git when signing with a ssh key.