Re: [PATCH] Make PTRACE_SEIZE set ptrace options specified in dataparameter

From: Tejun Heo
Date: Wed Sep 07 2011 - 20:28:07 EST


Hello,

On Wed, Sep 07, 2011 at 07:02:12PM +0200, Oleg Nesterov wrote:
> On 09/07, Denys Vlasenko wrote:
> > Make PTRACE_SEIZE set ptrace options specified in data parameter
>
> Personally I think this makes sense, and in fact I suggested this
> from the very beginning.
>
> Oh. But since we are goin to establish the API rules, this should
> be discussed.
>
> IIRC, Tejun disliked this idea. Tejun?

I wasn't sure whether it was necessary but TRACEEXEC needs to be set
atomically and it probably is better to expose flag setting than
implicitly setting it on SEIZE, so no objection from me.

Will comment on the newer version of the patch.

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/