Re: [PATCH] ptrace: make former thread ID available viaPTRACE_GETEVENTMSG after PTRACE_EVENT_EXEC stop (v.2)

From: Tejun Heo
Date: Tue Jun 28 2011 - 12:53:39 EST


Hello,

On Tue, Jun 28, 2011 at 6:35 PM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> I do not really understand your concerns. Yes, yes, yes, if we do not
> bind this feauture with PT_SEIZED, then the application has to take
> care _if_ it wants to use it without PT_SEIZED. So what? This is the
> problem of that application. This change can't break the application
> which do not want or do not know about this feature.

It's not really a technical concern, more about documentation
simplicity. It's just simpler to be able to say "blah blah changes
when seized".

> a bit better, bit still not very nice. For what? I tend to agree with
> Denys, and I think we should listen to the user-space developer who
> actually uses ptrace.
>
> That said, I leave it to you and Denys, personally I am fine either way.

It's minor either way. Let's go with the current patch then.

Thanks.

--
tejun
--
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/