HomeFreeBSD

libc: gen: add a test for rtld underflowing our posix_spawn thread

Description

libc: gen: add a test for rtld underflowing our posix_spawn thread

This is a distillation of the environment described in the PR, using
a dummy shlib and mapping it repeatedly. This takes advantage of the
guard page added in 2767a1f3686e5b16 to reliably crash if rtld tries to
scale its stack usage excessively with the # DSOs loaded.

PR: 295991
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D57954

Details

Provenance
kevansAuthored on Jun 30 2026, 1:12 PM
Reviewer
kib
Differential Revision
D57954: libc: gen: add a test for rtld underflowing our posix_spawn thread
Parents
rGf7f916d755fe: ping: Fix bell char ordering in -A test cases
Branches
Unknown
Tags
Unknown