summaryrefslogtreecommitdiff
path: root/internal/generate/classify_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-29 10:06:40 +0300
committerPaul Buetow <paul@buetow.org>2026-05-29 10:06:40 +0300
commit5eeef7f56c453dd831cf16c9f5342ded8fcb4680 (patch)
tree1c10766d694f0e69e5cbe83db9c0d4680f0935d7 /internal/generate/classify_test.go
parente77aa19957b5f38fd47dc8de0a701ecf8482697b (diff)
test(exit): lock in noreturn exit/exit_group null_event handling
exit(2) and exit_group(2) take a single int status arg and never return. ior classifies both as KindNull (FamilyProcess): the enter handler emits a null_event without capturing the status arg, and the kernel-exposed sys_exit_{exit,exit_group} EXIT_RET_EVENT handlers are emitted but never fire at runtime. Audit confirmed the implementation already matches the man page; this adds a lock-in test documenting the noreturn behavior. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/generate/classify_test.go')
0 files changed, 0 insertions, 0 deletions