Stuart Anderson wrote:
> 
> Even though clone() and fork() are related, they don't seem to be close
> enough to allow a single routine to be used to implement both. With this
> patch, the LTP tests for clone now pass.

But it still does the same, assuming VM_CLONE is set, except for passing
additional arguments to the host call. Passing untranslated regs looks
like a bug to me, I'm unsure about the tls_val.

> It may be possible to fold this back into do_fork(), but this just seemed to
> be a little bit more straightforward.

Since Linux's fork() is just a specialcase of clone() this should be
done eventually.


Thiemo


Reply via email to