Re: vfork

Chris Wedgwood (cw@f00f.org)
Thu, 11 Nov 1999 19:30:07 +1300


> Its such a brilliant idea that we already had it...
>
> if (!(clone_flags & CLONE_PTRACE))
> new_flags &= ~(PF_PTRACED|PF_TRACESYS);
>
> That was added for the threaded-gdb folks a while back 8)

Damn... I kept telling myself I should add such a thing because I've
wanted it for a while. Even strace can use this to follow forks and
not loose the first few syscalls of children.

Damn.

-cw

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