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

Andreas Schwab schwab at redhat.com
Fri Jul 23 09:49:28 UTC 2010


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?
>
> How does it get cleared now?

By the post-execve trap, of course.

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