Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to /proc/$pid/mem when process_vm_readv() is unavailabe (#4)
If the Linux kernel was built without support for process_vm_readv() (CONFIG_CROSS_MEMORY_ATTACH is unset in kernel config) a call to this function will fail with Function not implemented (os error 38) aka ENOSYS. To still support reading process memory on this platform we fallback to reading /proc/$pid/mem.
- Loading branch information