diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-29 11:07:38 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-29 11:07:38 +0300 |
| commit | 1304189af554faa615dbab7c08a0d66b46bbdfe2 (patch) | |
| tree | ecb5add50f7114a3396e35eac265ef34c4224b5c /internal/statsengine/engine.go | |
| parent | 9931b07600e504d99e45ee625a1cdadb2ba99840 (diff) | |
test(generate): lock in sched_get_priority_min classification
Audit of sched_get_priority_min(2): the syscall takes a single int policy
scheduling-policy enum (not an fd or path) and returns the minimum static
priority for that policy, or -1 on error. ior classifies it as KindNull in
FamilySched, consistent with every sibling sched_* syscall and the man page.
Add TestGenerateSchedGetPriorityMinHandler (covering the identical sibling
sched_get_priority_max too) to lock in that the enter handler emits a
null_event without capturing the int policy arg, that the family is
FamilySched, and that a live exit handler emitting EXIT_RET_EVENT is
generated since this syscall returns (unlike the noreturn exit syscalls).
No classification change was required, so generated artifacts are unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/statsengine/engine.go')
0 files changed, 0 insertions, 0 deletions
