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, Oct 10, 12:35 PM
Unknown Object (File)
Fri, Oct 3, 5:29 PM
Unknown Object (File)
Wed, Oct 1, 6:54 AM
Unknown Object (File)
Mon, Sep 29, 6:43 PM
Unknown Object (File)
Sat, Sep 27, 4:34 PM
Unknown Object (File)
Sep 7 2025, 7:52 AM
Unknown Object (File)
Sep 4 2025, 6:24 PM
Unknown Object (File)
Sep 4 2025, 4:28 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.