Page MenuHomeFreeBSD

tests: Fix race condition in aslr_setuid
ClosedPublic

Authored by des on Jun 22 2026, 9:19 AM.
Tags
None
Referenced Files
F168326465: D57734.diff
Thu, Aug 27, 3:31 PM
F168244722: D57734.id180271.diff
Thu, Aug 27, 3:42 AM
Unknown Object (File)
Wed, Aug 26, 3:44 PM
Unknown Object (File)
Tue, Aug 25, 9:17 PM
Unknown Object (File)
Tue, Aug 25, 8:31 PM
Unknown Object (File)
Tue, Aug 25, 3:18 PM
Unknown Object (File)
Tue, Aug 25, 2:03 AM
Unknown Object (File)
Sun, Aug 23, 3:11 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Jun 22 2026, 9:19 AM

Thanks.

Have you ever tried to run the test suite without an INET stack?

This revision is now accepted and ready to land.Jun 22 2026, 12:33 PM

Have you ever tried to run the test suite without an INET stack?

Bits and pieces. Never the whole thing.

This revision was automatically updated to reflect the committed changes.