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)
Sat, Mar 28, 11:49 AM
Unknown Object (File)
Fri, Mar 27, 6:24 AM
Unknown Object (File)
Fri, Mar 27, 6:24 AM
Unknown Object (File)
Thu, Mar 26, 10:05 PM
Unknown Object (File)
Mon, Mar 23, 12:16 AM
Unknown Object (File)
Sun, Mar 22, 7:12 PM
Unknown Object (File)
Sat, Mar 21, 7:36 AM
Unknown Object (File)
Sat, Mar 21, 6:27 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 62760
Build 59644: arc lint + arc unit

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.