(original) (raw)
I have a prototype implementation that works only for Linux,
only when the environment is inherited,
but seems to show that the clone/fork approach works.
The main idea is that passing these flags:
CLONE_VM | SIGCHLD
to clone() appears to work.
Passing CLONE_VFORK in addition also seems to work,
and may be more reliable.
Michael, we will need to coordinate to come up with
something that will work for all our Unices.
Martin