Re: [PATCH 10/16] Changes in copy_process() to work with pid namespaces

2007-07-11 Thread sukadev
Pavel Emelianov [EMAIL PROTECTED] wrote: | We must pass the namespace pointer to the alloc_pid() to | show what namespace to allocate the pid from and we should | call this *after* the namespace is copied. | | Essentially, the task->pid etc initialization is done after | the alloc_pid(). | | To d

[PATCH 10/16] Changes in copy_process() to work with pid namespaces

2007-07-06 Thread Pavel Emelianov
We must pass the namespace pointer to the alloc_pid() to show what namespace to allocate the pid from and we should call this *after* the namespace is copied. Essentially, the task->pid etc initialization is done after the alloc_pid(). To do so I move the alloc_pid() inside copy_process() and int