Re: Memory over: committing SUICIDE

Andi Kleen (andi@mlm.extern.lrz-muenchen.de)
21 Feb 1997 10:38:21 +0100


Andi Kleen <andi@mlm.extern.lrz-muenchen.de> writes:

>
> It's easy to emulate vfork() with clone(..., CLONE_VM);
Sorry, to follow up myself ;) Of course this is wrong. When you
replace vfork() with clone(.., CLONE_VM); the next exec() will replace
the VM of the calling process too. That's not the intended behaviour
of course. Will drink more coffee before posting again.

-Andi
> -Andi