Re: ptrace && task->exit_code

From: Roland McGrath
Date: Wed May 27 2009 - 19:22:21 EST


> I didn't realize this until yesterday, but perhaps it makes sense
> to decouple ptrace && task_struct->exit_code?

I've long thought this was an attractive idea. But it seems to have lots
of complications at least as long as ptrace-wait shares so much code with
normal wait. I'd figured this might be one of the last things we clean up
after ptrace is disentangled from core data structures in most every other
way.

> This is not completely trivial, needs another short series.

I suspect it is more hassle than benefit to do this now.
I don't think it is the right priority.

> And. I spent a lot of time, but I can't see how to solve the problems
> with TASK_STOPPED tasks if we do this change.

I bet the complications of this all will be substantially different after
we change the ptrace locking. So let's not worry about it yet.


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/