bugfix for strace for less-aligned kernel memory

Dmitry V. Levin ldv at altlinux.org
Thu Apr 9 21:38:03 UTC 2015


On Thu, Apr 09, 2015 at 03:47:28PM -0500, Bolo wrote:
> > > This bugfix / patch consists of two portions
> > >=20
> > > 1) A 'Z' option which forces strace to use ptrace() memory access
> > > routines all the time instead of vm-based memory access routines if
> > > they are present..  This allows a fallback if you find that VM based
> > > requests are failing or producing incorrect output.   The existing
> > > ptrace based methods are quite robust and tested :-)
> > 
> > As there are no known issues with kernel implementation of process_vm_readv,
> > why should anybody want to disable fast process_vm_readv based code
> > in favour of slow PTRACE_PEEKDATA based one?
> 
> The kernel implementation is correct; however there are issues
> with strace's use of that feature; hence the bugfix.

There was a strace bug which is already fixed in HEAD.
If there any issues left in strace's use of process_vm_readv?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150410/20d8299e/attachment.bin>


More information about the Strace-devel mailing list