Re: [Qemu-devel] [PATCH] clone syscall fix

2007-03-31 Thread Stuart Anderson
On Sat, 31 Mar 2007, Thiemo Seufer wrote: 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_C

Re: [Qemu-devel] [PATCH] clone syscall fix

2007-03-31 Thread Thiemo Seufer
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 additio

[Qemu-devel] [PATCH] clone syscall fix

2007-03-29 Thread Stuart Anderson
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. It may be possible to fold this back into do_fork(), but this just seemed to be a little bit more straightforw