Review request for 5049299
martinrb at google.com
Mon Jun 1 17:27:54 PDT 2009
I've been working on clone+exec.
I now have a perhaps-ready-for-prime-time implementation
that appears to fix the problem on Linux
and also includes some new tests for script invocation
This change conflicts with Michael's changes for Solaris.
We'll have to work something out.
My changes are designed to have no effect on Solaris,
but I have done zero testing there.
On Sat, May 30, 2009 at 10:51, Martin Buchholz <martinrb at google.com> wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the core-libs-dev