diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-30 16:31:26 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-30 16:31:26 +0300 |
| commit | 5210f20b16a224f58117ffb71b2a0691c02a50ed (patch) | |
| tree | ae271827a28d39e3ae149b73f7ca10fad9521c6d /integrationtests/retbytes_test.go | |
| parent | 0f470e8e63d9cb458c711ade594e18acd8791504 (diff) | |
test(signalfd4): lock in args[3] flags index for eventfd handler
Audit of signalfd4(2) confirmed the tracing is correct: classified as
KindEventfd in FamilyIPC like its fd-creating siblings (eventfd2,
timerfd_create, inotify_init1, signalfd), flags captured from args[3]
per signalfd4(ufd, mask, sizemask, flags), and the return value left
Unclassified (it is an fd, not a byte count).
Add testdata fixtures FormatSignalfd4/FormatExitSignalfd4 (real Linux 7.0
tracepoint data) and a codegen lock-in test asserting the generated
handler reads flags from args[3], with negative guards against args[0]
(ufd), args[1] (mask pointer) and args[2] (sizemask).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/retbytes_test.go')
0 files changed, 0 insertions, 0 deletions
