diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-30 11:05:59 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-30 11:05:59 +0300 |
| commit | 4e6d9e1a6c74e0bdb4d89df10ef22a664f84737f (patch) | |
| tree | d19f1d3755a61f880910033a39ba040d145b186d /docs/syscall-tracing-plan.md | |
| parent | 2be8db995514529921d1d57a8df3d275fbc64758 (diff) | |
test(generate): lock in sched_setparam pid-not-fd classification
Add TestClassifySchedSetparamPidNotFd as a dedicated regression test for
the sched_setparam(2) audit. The syscall takes a pid_t (args[0], NOT an
fd; 0 = calling thread) and a userspace const struct sched_param *, so
the enter must classify as KindNull and the exit as KindRet/UNCLASSIFIED
(returns 0/-1, no byte transfer), matching family Sched.
Implementation, docs, and generated C/Go artifacts already matched the
man page; sched_setparam was previously only asserted as a sibling check
inside the sched_getparam test. This pins its full behavior directly,
consistent with prior sched_getparam/sched_getattr audits.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'docs/syscall-tracing-plan.md')
0 files changed, 0 insertions, 0 deletions
