On Fri, Jun 21, 2013 at 01:47:22PM +0200, Denys Vlasenko wrote:
> I contemplate the following fix:
> 
>       sigstop_expected = (tcp->flags & TCB_IGNORE_ONE_SIGSTOP);
>       if (!sigstop_expected)   // <-- added this one line
>               error = ptrace(PTRACE_DETACH, tcp->pid, 0, 0);

Yes, it seems to be the right fix.


-- 
ldv

Attachment: pgpoG_4vHUWVj.pgp
Description: PGP signature

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to