Page MenuHomeFreeBSD

tests: Fix race condition in aslr_setuid
ClosedPublic

Authored by des on Mon, Jun 22, 9:19 AM.
Tags
None
Referenced Files
F162703033: D57734.diff
Wed, Jul 15, 11:12 PM
Unknown Object (File)
Wed, Jul 15, 7:27 AM
Unknown Object (File)
Wed, Jul 15, 7:27 AM
Unknown Object (File)
Tue, Jul 14, 11:34 PM
Unknown Object (File)
Tue, Jul 14, 12:53 PM
Unknown Object (File)
Tue, Jul 14, 1:33 AM
Unknown Object (File)
Mon, Jul 13, 4:14 PM
Unknown Object (File)
Sun, Jul 12, 5:34 PM
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.Mon, Jun 22, 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.Mon, Jun 22, 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.