Re: [DynInst_API:] [PATCH 2/2] common: try process_vm_readv/writev for Linux bulk access


Date: Fri, 31 Jul 2015 15:12:46 -0700
From: Josh Stone <jistone@xxxxxxxxxx>
Subject: Re: [DynInst_API:] [PATCH 2/2] common: try process_vm_readv/writev for Linux bulk access
On 07/31/2015 08:54 AM, Bill Williams wrote:
> On 07/30/2015 05:28 PM, Josh Stone wrote:
>> These syscalls can read/write entire blocks of memory in one syscall,
>> rather than using a series of word-sized ptrace peek/poke requests.
>>
>> However, not all kernels have these (ENOSYS), and they don't bypass page
>> protection (EFAULT), so the ptrace way is still required as a fallback.
>> ---
> Do you need a Debian/Ubuntu cross-check on these?

I have a few Debian VMs I can try, if that's what you're asking.  I
believe it's written generically enough to cover all bases, at worst
just using the old behavior.  But I'll make sure before pushing.

[← Prev in Thread] Current Thread [Next in Thread→]