[PATCH] Try to use PTRACE_SETOPTIONS to handle non-ptrace SIGTRAP

Andreas Schwab schwab at redhat.com
Fri Jul 23 08:41:23 UTC 2010


Roland McGrath <roland at redhat.com> writes:

>> Roland McGrath <roland at redhat.com> writes:
>> 
>> > 	if (exiting(tcp) && !syserror(tcp))
>> > 		tcp->flags |= TCB_WAITEXECVE;
>> 
>> This is of course wrong.
>
> Are you kidding?

Of course not!  How do you think does this bit get cleared again?

Andreas.

-- 
Andreas Schwab, schwab at redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."




More information about the Strace-devel mailing list