Open /proc/$PID/mem with O_DIRECT (maybe) and use pread / pwrite.
Or maybe readv/writev.
I don't see the need to invent a new syscall (unless maybe preadv/pwritev would be helpful).
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds