summaryrefslogtreecommitdiff
path: root/internal/collapse/fields.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-29 16:48:57 +0300
committerPaul Buetow <paul@buetow.org>2026-05-29 16:48:57 +0300
commit17822912ffd90e2ad187bfa3ff24e2d0525ecfe7 (patch)
treeabb1b750f697e9af99df2998be70344f1214f3b5 /internal/collapse/fields.go
parent0e835414ad424e2061f5c0203e4ba797dd5a9281 (diff)
test(eventloop): lock in sync_file_range EBADF failure path
Audit of sync_file_range(2) confirmed the existing tracing is correct: classified as KindFd (FS family) with fd from args[0] per the kernel tracepoint format, and an UNCLASSIFIED ret (int 0/-1, no userspace bytes transferred) - identical to siblings fsync/fdatasync/fadvise64/ readahead. The byte range/offset/flags are intentionally not captured for fd-kind syscalls. Add SyncFileRangeFailureTest to lock in the EBADF path: the enter fd_event still pairs with the exit ret_event carrying ret=-9, and the eventloop synthesizes a placeholder FdFile (unknown name, O_NONE flags) for the never-opened bogus fd rather than dropping file metadata. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'internal/collapse/fields.go')
0 files changed, 0 insertions, 0 deletions