summaryrefslogtreecommitdiff
path: root/internal/export
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-30 21:50:29 +0300
committerPaul Buetow <paul@buetow.org>2026-05-30 21:50:29 +0300
commit654048bb6cb052a3b5f414508ab4839635865725 (patch)
treee14e5d1c5499091bdfa595fa43944ce6b4ca8c93 /internal/export
parentb3e6798b340af13a1a2a4c670f5d55fae9f48a40 (diff)
test(generate): lock in listen(2) handler classification
Audit of syscall listen(2): int listen(int sockfd, int backlog). Confirmed the tracing implementation already matches the man page and its socket siblings (bind/connect/accept/getsockname/getpeername): - KindFd, capturing ev->fd = args[0] (sockfd) - FamilyNetwork - exit ret_event UNCLASSIFIED (returns 0/-1, no byte count) listen was already covered by the name-based classify/family/retclassify tests but lacked a dedicated generated-handler lock-in test like its bind/getsockname siblings. Add FormatListen/FormatExitListen tracepoint fixtures and TestGenerateListenHandler asserting the enter captures fd=args[0] (and never backlog at args[1]) and the exit stays UNCLASSIFIED. No classification or generated-code changes; mage generate produces no diff. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/export')
0 files changed, 0 insertions, 0 deletions