syscall.sh / sh / process_vm_writev

process_vm_writev

transfer data between process address spaces

sys_process_vm_writev(pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags)
number366 (0x16e)
abicommon
entry pointsys_process_vm_writev
sinceLinux 5.0
man pageprocess_vm_writev(2)
sourceelixir.bootlin.com

Registers

registervalue
r3366, 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_writev