process_vm_readv/writev: partial transfer of a single iov?

2017-04-19 Thread Josh Gao
The manpage for process_vm_readv/writev says that "Partial transfers apply at the granularity of iovec elements. These system calls won't perform a partial transfer that splits a single iovec element." However, it seems like this isn't actually true in current kernels (tested on ubuntu 4.4.0-66,

process_vm_readv/writev: partial transfer of a single iov?

2017-04-19 Thread Josh Gao
The manpage for process_vm_readv/writev says that "Partial transfers apply at the granularity of iovec elements. These system calls won't perform a partial transfer that splits a single iovec element." However, it seems like this isn't actually true in current kernels (tested on ubuntu 4.4.0-66,