Skip to content

Support preadv2 and pwritev2 syscalls.#4066

Open
azat wants to merge 1 commit intorr-debugger:masterfrom
azat-archive:preadv2-pwritev2
Open

Support preadv2 and pwritev2 syscalls.#4066
azat wants to merge 1 commit intorr-debugger:masterfrom
azat-archive:preadv2-pwritev2

Conversation

@azat
Copy link
Copy Markdown

@azat azat commented Apr 14, 2026

These were marked as UnsupportedSyscall, causing rr to expect ENOSYS. On modern kernels that support them (Linux 4.6+), the syscall succeeds and rr hits a FATAL assertion. Handle them the same way as their v1 counterparts (preadv/pwritev).

Fixes #3193

These were marked as UnsupportedSyscall, causing rr to expect ENOSYS.
On modern kernels that support them (Linux 4.6+), the syscall succeeds
and rr hits a FATAL assertion. Handle them the same way as their v1
counterparts (preadv/pwritev).

Fixes rr-debugger#3193

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support preadv2/pwritev2

1 participant