Re: vfork

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Thu, 11 Nov 1999 15:34:25 +0100


Nate Eldredge wrote:
> The man page is inaccurate with respect to the fork tracing mechanism.
> What happens is that strace uses ptrace(PTRACE_POKETEXT...) to insert an
> infinite loop following the trap instruction (so it becomes `int $0x80;
> jmp .').

Is this reliable with multiple threads? Changing one's memory changes
the others.

-- Jamie

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