Re: [PATCH] fork.c bug (fixes "waitpid() fails when running under debugger")

From: Andris Pavenis (pavenis@latnet.lv)
Date: Sat May 13 2000 - 08:52:07 EST


On Sat, 13 May 2000, Mike Coleman wrote:
> This patch fixes a bug in forking that's causing ptrace reparenting to happen
> in cases where it shouldn't. (The bug was introduced in a patch I submitted
> that was included in 2.3.99-pre1.)
>
> Specifically, in the case where a process is being traced, it forks, and
> CLONE_PTRACE is not set, the new child shouldn't be reparented (as it is not
> being traced).
>

Thanks patch fixes problems I met.
Now it seems to work Ok with 2.3.99-pre6.

Andris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:23 EST