summaryrefslogtreecommitdiff
path: root/integrationtests/readwrite_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-30 10:38:23 +0300
committerPaul Buetow <paul@buetow.org>2026-05-30 10:38:23 +0300
commit48434d3767c6b15e8d86b1f3d06d9498337d2301 (patch)
treed32d88ce18756119474da4a6774817499463957d /integrationtests/readwrite_test.go
parentedf4f5d586a65ce6258503e453c98b07429d82d1 (diff)
test(generate): lock in set_tid_address ret as UNCLASSIFIED
set_tid_address(2) always returns the caller's thread ID and never fails (no -1, no byte count). Assert its exit stays UNCLASSIFIED in TestClassifyRetUnclassified alongside its pid/tid-returning Process siblings setsid/getsid/getpid/getppid, so a stray byte-count reclassification trips the test. Audit of yz confirmed the existing classification is correct: KindNull (single userspace tidptr, no fd/path) and FamilyProcess. The KindNull case is already covered by TestClassify97NameOnlyKinds; this adds the previously-missing return-value assertion. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/readwrite_test.go')
0 files changed, 0 insertions, 0 deletions