Page MenuHomeFreeBSD

tools/regression/pmc: fuzz the group syscalls
Needs ReviewPublic

Authored by afscoelho_gmail.com on Thu, Sep 3, 9:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 13, 8:47 AM
Unknown Object (File)
Sat, Sep 12, 10:15 AM
Unknown Object (File)
Sat, Sep 12, 7:29 AM
Unknown Object (File)
Sat, Sep 12, 3:09 AM
Unknown Object (File)
Fri, Sep 11, 7:43 PM
Unknown Object (File)
Fri, Sep 11, 6:21 PM
Unknown Object (File)
Fri, Sep 11, 5:19 PM
Unknown Object (File)
Thu, Sep 10, 8:22 AM
Subscribers

Details

Summary

Add a fuzz test for the group syscalls. It drives PMCGROUPCREATE,
PMCGROUPADD, PMCGROUPCOMMIT, and PMCGROUPREAD with random and
out-of-range arguments, in random order, including operations on a
group that does not exist and on one that is already committed.

The kernel must reject every invalid call with an errno and must not
panic. The test takes an iteration count; check-root runs 20000.

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 76461
Build 73344: arc lint + arc unit