[PATCH 1/2] Extend sys_clone and sys_unshare system calls API

Pavel Emelyanov xemul at openvz.org
Wed Jan 16 07:05:30 PST 2008


Jonathan Corbet wrote:
> Hi, Pavel,
> 
> [Adding Ulrich]
> 
>> I use the last bit in the clone_flags for CLONE_LONGARG. When set it
>> will denote that the child_tidptr is not a pointer to a tid storage,
>> but the pointer to the struct long_clone_struct which currently 
>> looks like this:
> 
> I'm probably just totally off the deep end, but something did occur to
> me: this looks an awful lot like a special version of the sys_indirect()
> idea.  Unless it has been somehow decided that sys_indirect() is the
> wrong idea, might it not be better to look at making that interface
> solve the extended clone() problem as well?

We has such an idea, but as far as I know sys_indirect idea is
not yet accomplished. So I risked to propose such an extension
for sys_clone.

If Andrew says that sys_indirect is on its way to -mm tree, then
we'll surely wait and use this one for namespaces.

> jon
> 

Thanks,
Pavel


More information about the Containers mailing list