[RFC][v7][PATCH 8/9]: Define clone2() syscall

H. Peter Anvin hpa at zytor.com
Tue Sep 29 15:19:30 PDT 2009

On 09/29/2009 03:11 PM, Linus Torvalds wrote:
> Ok, I agree with that. The kernel side is easy (we have magic calling 
> conventions there and need to turn registers into arguments anyway before 
> you get to the shared code), but your point about the user side prototype 
> is valid.

I think it would also apply to kernel-side munging.  It's quite possibly
you're right in that clone is such a special case anyway, but it seems
pointless to make it more special in the short bus sort of way even if
it is possible.

Let's just make it another system call.  It doesn't have any downside
that I can see, might prevent problems, and avoids setting a bad
precedent that someone can misinterpret.


More information about the Containers mailing list