lkml.org 
[lkml]   [2011]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/10] ptrace: implement PTRACE_SEIZE
On 06/01, Tejun Heo wrote:
>
> Hello, Oleg.
>
> On Tue, May 31, 2011 at 09:08:09PM +0200, Oleg Nesterov wrote:
> > Speaking of this particular problem, it is really annoying. The leader
> > exits, and it even notifies the tracer. For what? waitpid() returns 0
> > or hangs depending on WNOHANG, any ptrace() request fails with ESRCH.
>
> Hmm... can't we just allow PTRACE_DETACH after PTRACE_EVENT_EXIT is
> reported?

Confused. PTRACE_DETACH surely works if the tracee reports EVENT_EXIT...
Could you explain what you meant?

Oleg.



\
 
 \ /
  Last update: 2011-06-01 22:13    [W:0.097 / U:2.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site