Re: CLONE_PTRACE implementation incomplete

Andi Kleen (ak@muc.de)
15 Oct 1999 12:30:02 +0200


drepper@cygnus.com (Ulrich Drepper) writes:

> Andi Kleen <ak@muc.de> writes:
>
> > The original CLONE_PTRACE design included CLONE_PPID, but that got
> > somehow dropped from the patch that finally appeared in the kernel
> > tree. Mixing the two together is not a good idea IMHO.
>
> Well, then the CLONE_PTRACE can be removed altogether this it is useles.

It would be easy work to add CLONE_PPID/CLONE_PARENT. There was a more
complex patch floating around on l-k too that added three bits for this
case too, but it always looked like overkill for me.

Do you have any specific application in mind ? It was originally done for
gdb threads debugging [Randy Chapman's Microsoft gdb patch did use
a similar hack], but that got obsolete with the OSF gdb changes that
used a different way.

-Andi

-- 
This is like TV. I don't like TV.

- 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/