summaryrefslogtreecommitdiff
path: root/internal/eventloop_aggregate_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-30 10:44:55 +0300
committerPaul Buetow <paul@buetow.org>2026-05-30 10:44:55 +0300
commit5e334d33b3ddc3e308455262577c461835939bc7 (patch)
tree924eaf62dd5e993c327c06a3b2d6f7686d1d038e /internal/eventloop_aggregate_test.go
parent1491f883fc6feee512e92bde9af884852502dd0b (diff)
test(clock_nanosleep): lock in exit handler UNCLASSIFIED ret + args[2] request ptr
Audit of clock_nanosleep tracing confirmed the classification is correct: KindSleep + FamilyTime (matching the nanosleep sibling), the enter handler captures the request timespec at ctx->args[2] (not args[0]/clockid), and the exit handler emits a plain ret_event with ret_type UNCLASSIFIED, which is correct since clock_nanosleep returns 0 or a positive errno, never an fd or byte count. Strengthen the existing enter-handler test with the requested_ns -1 sentinel and add TestClockNanosleepExitHandlerIsUnclassifiedRet to pin the exit-side behavior. No classification, docs, or generated-code changes were needed (mage generate produces no diff). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/eventloop_aggregate_test.go')
0 files changed, 0 insertions, 0 deletions