HomeFreeBSD

tests: Fix race condition in aslr_setuid

Description

tests: Fix race condition in aslr_setuid

Use a cloexec pipe to block the parent until the child is ready.

While here, redirect the output from ping to /dev/null, and mark the
test as requiring the inet feature since we ping the IPv4 loopback.

PR: 296116
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D57734

Details

Provenance
desAuthored on Jun 22 2026, 1:23 PM
Reviewer
markj
Differential Revision
D57734: tests: Fix race condition in aslr_setuid
Parents
rG8f750231d4b5: iconv: Update availability of bool
Branches
Unknown
Tags
Unknown