[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110203214450.GA29496@redhat.com>
Date: Thu, 3 Feb 2011 22:44:50 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Roland McGrath <roland@...hat.com>
Cc: Tejun Heo <tj@...nel.org>, jan.kratochvil@...hat.com,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org
Subject: Re: [PATCH 1/1] ptrace: make sure do_wait() won't hang after
PTRACE_ATTACH
On 02/03, Roland McGrath wrote:
>
> IMHO this sort of band-aid does not really help the overall situation.
> It takes something that is intricate and fiddly and just fiddles it a
> bit more. Userland will still have to handle older kernels where this
> behavior is not there. If userland does anything that relies on this
> new behavior, then it will have to try somehow to figure out which
> kernel versions have which behavior and adapt, etc.
Absolutely agreed.
As I said, I am not sure this patch makes sense. I only sent it
because I have to react to the bug report.
> When the old behaviors are unhelpful like this, I think it is really
> better to add new mechanisms instead.
Agreed!
Can't resist, let me repeat... imho ptrace is unfixable ;)
OK, please ignore this patch.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists