syscall.sh / nios2 / 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)
number270 (0x10e)
abicommon
entry pointsys_process_vm_readv
sinceLinux 3.19
man pageprocess_vm_readv(2)
sourceelixir.bootlin.com

Registers

registervalue
r2270, the syscall number
r4pid_t pid
r5const struct iovec *lvec
r6unsigned long liovcnt
r7const struct iovec *rvec
r8unsigned long riovcnt
r9unsigned long flags
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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