summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-30 16:27:20 +0300
committerPaul Buetow <paul@buetow.org>2026-05-30 16:27:20 +0300
commit0f470e8e63d9cb458c711ade594e18acd8791504 (patch)
treead4ec784cbe5611dff5ed4ae8f3bb44efb6c6fa8 /docs
parent65d276b67e65427e8cd25fd45b142e6fff1259f0 (diff)
test(select): lock in nfds/timeval capture and UNCLASSIFIED exit
Audit of syscall select confirmed the tracing is already correct: select is KindPoll/FamilyPolling like poll/ppoll/pselect6, the enter handler captures nfds from args[0] as a count (not as an fd) and the timeout from the args[4] timeval, and the exit is an UNCLASSIFIED ret_event (ready-fd count, not a byte transfer). Add TestGenerateSelectHandlerCapturesNfdsAndTimevalTimeout mirroring the ppoll lock-in test, with negative assertions that no argument is ever captured as an fd and that the exit carries no bytes/fd fields. This guards against regressing nfds (a count) into a KindFd fd capture. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions