Re: [BUG] 2.6.22-rc4: wait4() waiting for SIGSTOP may not return if the target process is ptraced

From: Satoru Takeuchi
Date: Thu Jun 07 2007 - 06:14:48 EST


Hi,

At Thu, 7 Jun 2007 02:54:32 -0700 (PDT),
Roland McGrath wrote:
>
> The bug is in strace (and is being fixed). It needs to use tgkill instead
> of kill to send that SIGSTOP to the right thread only.

You mean kill() to specifig thread is fundamentally wrong? If so, current
kill() is wrong because it can receive pid of non main thread.

Thanks,

Satoru
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/