summaryrefslogtreecommitdiff
path: root/integrationtests
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-29 22:19:15 +0300
committerPaul Buetow <paul@buetow.org>2026-05-29 22:19:15 +0300
commit956ce04863357ccd08dfc939ee6f0b7eb8d698f8 (patch)
treeced5d75b075f4f0cfc59dadbe24dc73a6d71fec3 /integrationtests
parent6a73390713c5248a1ea1cf0baa223afcee64fd01 (diff)
test(generate): lock in recvmsg READ_CLASSIFIED audit
recvmsg(2) returns the number of bytes received, so its exit must be READ_CLASSIFIED (bytes counted as read), matching recvfrom/recv/read/readv. Audit confirmed the implementation is already correct: enter=KindFd off the first 'fd' field (sockfd at args[0]), family=Network, exit= READ_CLASSIFIED. Add a dedicated lock-in test mirroring the prior sendmsg audit, with contrast cases guarding the easy mistakes: sendmsg is the write-side sibling (WRITE_CLASSIFIED) and recvmmsg is the batch variant whose scalar return is a message count, deferred to UNCLASSIFIED. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'integrationtests')
0 files changed, 0 insertions, 0 deletions