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)
Sun, Dec 28, 4:35 AM
Unknown Object (File)
Nov 28 2025, 3:35 PM
Unknown Object (File)
Nov 28 2025, 7:15 AM
Unknown Object (File)
Nov 26 2025, 10:33 PM
Unknown Object (File)
Oct 30 2025, 8:39 PM
Unknown Object (File)
Oct 26 2025, 6:23 AM
Unknown Object (File)
Oct 25 2025, 12:24 AM
Unknown Object (File)
Oct 24 2025, 6:25 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.