Messages in this thread | | | Date | Tue, 23 Jul 2013 18:43:05 +0200 | From | Oleg Nesterov <> | Subject | Re: ptrace(PTRACE_ATTACH) [no intervering wait] ptrace(PTRACE_DETACH) may leave tracee stuck |
| |
Damn. Sorry for noise Mike,
On 07/23, Oleg Nesterov wrote: > > OTOH, in this particular case pldd.c doesn't really need PTRACE_DETACH, > it can simply exit.
No it can't, I forgot that exit_ptrace() doesn't (and can't) clear ->exit_code. And this is another reason why PTRACE_DETACH needs the stopped tracee.
Oleg.
| |