Re: CLONE_PTRACE implementation incomplete

Andi Kleen (ak@muc.de)
15 Oct 1999 07:45:09 +0200


drepper@cygnus.com (Ulrich Drepper) writes:
>
> The idea is to inherit the parent proess (i.e., the one which can
> perform the ptrace() call) from the parent. This would allow the
> information to be propagated down. When the initial process is
> ptraced so are all children and the process which can issue the
> ptrace() call is always te same. This would help making strace and
> gdb and whatever other program suddenly working.

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.

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