Page MenuHomeFreeBSD

libc: tests: allow fortified test cases to require root
ClosedPublic

Authored by kevans on Mar 5 2025, 1:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 24, 5:37 PM
Unknown Object (File)
Tue, Apr 21, 12:12 PM
Unknown Object (File)
Mon, Apr 20, 11:13 PM
Unknown Object (File)
Mon, Apr 20, 10:11 PM
Unknown Object (File)
Sun, Apr 19, 3:54 AM
Unknown Object (File)
Tue, Apr 14, 4:54 AM
Unknown Object (File)
Thu, Apr 9, 1:10 PM
Unknown Object (File)
Mon, Apr 6, 6:38 AM
Subscribers

Details

Summary

An upcoming test will require root to create a jail with its own
domainname/hostname to avoid external requirements on the test runner
as we want to fetch them with valid and plausible sizes.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Mar 5 2025, 3:05 AM
markj added inline comments.
lib/libc/tests/secure/generate-fortify-tests.lua
1077

It'd be a bit more future-proof to always generate the header, then only add the atf_tc_set_md_var() when needed.