On Wed, Jul 20, 2011 at 08:28:59AM +1000, Steve Bennett wrote:
> On 20/07/2011, at 8:25 AM, Dmitry V. Levin wrote:
> > On Wed, Jul 20, 2011 at 07:10:30AM +1000, Steve Bennett wrote:
> >> Thanks, but it also needs some extra checks and some changes to defs.h
> >
> > Thanks, I've added checks for additional PTRACE_* constants.
> >
> >> See attached.
> >
> > PTRACE_EVENT_EXIT is not 4 but 6. I've added fallback definitions based
> > on linux/ptrace.h.
>
> Thanks. But mine says something different :-(
>
> /* Wait extended result codes for the above trace options. */
> enum __ptrace_eventcodes {
> PTRACE_EVENT_FORK = 1,
> PTRACE_EVENT_VFORK = 2,
> PTRACE_EVENT_CLONE = 3,
> PTRACE_EVENT_EXEC = 4,
> PTRACE_EVENT_VFORK_DONE = 5,
> PTRACE_EVENT_EXIT = 6
> };In your 0001-Check-for-additional-PTRACE-options-events-etc.patch PTRACE_EVENT_EXIT was defined to 4 instead of expected 6. -- ldv
pgpOqPusoNKjo.pgp
Description: PGP signature
------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
