diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-30 16:47:26 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-30 16:47:26 +0300 |
| commit | d37ed0371dbe8ed49b48ea56bb3b6fe701f6e48a (patch) | |
| tree | e20c7391527604ed514e369c2c295abbd121bb32 /docs/tutorial/tapes | |
| parent | c0d86b578475e8df4a861d955ba56080c0548cb3 (diff) | |
test(gettid): lock in KindNull/FamilyProcess/UNCLASSIFIED classification
Audit of gettid(2) ('pid_t gettid(void)', no args, always succeeds) found
the classification correct and consistent with its no-arg id-returning
siblings getpid/getppid/getuid/getgid (FamilyProcess, KindNull enter,
ret_event UNCLASSIFIED exit), and mage generate produces no diff. However
gettid lacked dedicated lock-in coverage and was missing entirely from the
family_test.go Process table despite its siblings being asserted there.
Add TestClassifyGettidNullEnter and TestClassifyExitGettidUnclassifiedRet
(mirroring the getgid pattern: enter null_event capturing nothing, exit ret
classified UNCLASSIFIED so the returned tid is never mistaken for a byte
count) plus gettid enter+exit FamilyProcess assertions in family_test.go.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'docs/tutorial/tapes')
0 files changed, 0 insertions, 0 deletions
