diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-29 17:46:59 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-29 17:46:59 +0300 |
| commit | 2d87d048eb0c629990445eac81229424fe50c215 (patch) | |
| tree | cedca42da98c0c9a83d8a6119a7ccf1afbd1c926 /Dockerfile | |
| parent | ff9b210cb39e6ae72b43fb0814f32d6a39f77b63 (diff) | |
test(sigaltstack): lock in KindNull/Signals classification and UNCLASSIFIED ret
Audit of sigaltstack(2) confirmed the existing tracing is correct:
both args are userspace stack_t pointers (new + old alternate signal
stack), neither an fd nor a path, and it returns 0/-1. It is already
classified KindNull in FamilySignals across classify.go, family.go,
docs/syscall-tracing-plan.md, and the generated C/Go artifacts, matching
the rt_sig*/kill/pause sibling group. No discrepancies were found.
Add lock-in tests mirroring the prior rt_sigpending audit:
- TestGenerateSigaltstackHandler asserts the enter handler emits a
null_event capturing no args and the exit handler reports ctx->ret
as UNCLASSIFIED.
- TestClassifyRetSigaltstackUnclassified asserts the 0/-1 status is
never tagged as a byte count.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions
