syscall.sh / sh / process_vm_readv

process_vm_readv

transfer data between process address spaces

sys_process_vm_readv(pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags)
number365 (0x16d)
abicommon
entry pointsys_process_vm_readv
sinceLinux 5.0
man pageprocess_vm_readv(2)
sourceelixir.bootlin.com

Registers

registervalue
r3365, the syscall number
r4pid_t pid
r5const struct iovec *lvec
r6unsigned long liovcnt
r7const struct iovec *rvec
r0unsigned long riovcnt
r1unsigned long flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/process_vm_readv