syscall.sh / x86 / 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)
number348 (0x15c)
abii386
entry pointsys_process_vm_writev
sinceLinux 3.3
man pageprocess_vm_writev(2)
sourceelixir.bootlin.com

Registers

registervalue
eax348, the syscall number
ebxpid_t pid
ecxconst struct iovec *lvec
edxunsigned long liovcnt
esiconst struct iovec *rvec
ediunsigned long riovcnt
ebpunsigned long flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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