| 1 | #define _GNU_SOURCE |
| 2 | #include <sys/uio.h> |
| 3 | #include "syscall.h" |
| 4 | |
| 5 | ssize_t process_vm_writev(pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags) |
| 6 | { |
| 7 | 	return syscall(SYS_process_vm_writev, pid, lvec, liovcnt, rvec, riovcnt, flags); |
| 8 | } |
| 9 | |
| 10 | ssize_t process_vm_readv(pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct iovec *rvec, unsigned long riovcnt, unsigned long flags) |
| 11 | { |
| 12 | 	return syscall(SYS_process_vm_readv, pid, lvec, liovcnt, rvec, riovcnt, flags); |
| 13 | } |