Page MenuHomeFreeBSD

tests: cover PMU group authorization across exec
Needs ReviewPublic

Authored by afscoelho_gmail.com on Thu, Sep 3, 9:33 PM.
Tags
None
Referenced Files
F174419984: D59373.id188264.diff
Sat, Oct 3, 1:47 AM
F174404320: D59373.id188116.diff
Fri, Oct 2, 11:18 PM
Unknown Object (File)
Fri, Oct 2, 6:54 AM
Unknown Object (File)
Thu, Oct 1, 10:03 PM
Unknown Object (File)
Thu, Oct 1, 5:37 AM
Unknown Object (File)
Sun, Sep 27, 9:27 AM
Unknown Object (File)
Sat, Sep 26, 9:41 AM
Unknown Object (File)
Sun, Sep 20, 10:06 PM
Subscribers

Details

Summary

Add a credential-changing helper and deterministic ATF cases for inherited resident and evicted groups. Verify that exec reauthorizes authoritative group targets, rejects stale handles with ESRCH, and releases all tracked objects.

Sponsored by: AMD

Signed-off-by: Andre Silva <andasilv@amd.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77559
Build 74442: arc lint + arc unit

Event Timeline

Rebase onto main after D58256 landed. main now has its own pmc_exec_test.c, so rename this test to pmc_group_exec_test.c. The test still expects the groups to be dropped, because the owner (nobody) is not privileged.

Rebase on main (D60141 and D60185 are committed). No change.