diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-30 11:03:40 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-30 11:03:40 +0300 |
| commit | 2be8db995514529921d1d57a8df3d275fbc64758 (patch) | |
| tree | 2647f097e16eb5511fd6199a14677cb683ca4287 /docs | |
| parent | 97a1b7a907c3237445643b95496bf84404e5cf4c (diff) | |
test(sched_getparam): lock in KindNull/FamilySched/UNCLASSIFIED classification
Audit of sched_getparam(2): int sched_getparam(pid_t pid, struct
sched_param *param). args[0] is a PID (not an fd) and param is a
userspace output pointer, so the enter tracepoint classifies as
KindNull and the family is Sched; the exit returns int 0/-1 (a status
code, not a byte count) and stays KindRet/UNCLASSIFIED.
Classification in classify.go, family.go, and docs/syscall-tracing-plan.md
already match the man page and the sched_* siblings; mage generate
produces no diff. This adds a dedicated lock-in regression test mirroring
the prior sched_getattr audit, pinning the pid-not-fd invariant, the
family, the exit classification, and sibling consistency with
sched_setparam.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
