Re: [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race

From: Roland McGrath
Date: Sun May 25 2008 - 20:16:24 EST


> "deliver" here I mean get_signal_to_deliver()...

This can never happen inside ptrace_stop.
So your line of inquiry doesn't make sense to me.

> the test doesn't block SIGTRAP, it works on IA64 too.. Hope I have
> made the problem clear...

It was already quite clear what elements have to be present to cause a
problem with the test case (ia64 and blocked SIGTRAP). Nothing else about
it is yet clear to me, sorry.

Please tell us the exact code path you think is happening in the error case
you can reproduce.


Thanks,
Roland
--
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/