> I have figured out that any combination of the clone-flags works
> except when using CLONE_VM. Even when using CLONE_VM, the call
> completes successful.
I think when using CLONE_VM both processes return with the same stack
and bad things happen.
You need some assembly here to fix this up, I think libpthreads does
it this way.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/faq.html