[Devel] Re: [v9][PATCH 8/9] Define clone3() syscall
Oren Laadan
orenl at librato.com
Sun Oct 25 10:23:58 PDT 2009
Sukadev Bhattiprolu wrote:
> Subject: [v9][PATCH 8/9] Define clone3() syscall
>
> Container restart requires that a task have the same pid it had when it was
> checkpointed. When containers are nested the tasks within the containers
> exist in multiple pid namespaces and hence have multiple pids to specify
> during restart.
>
> clone3(), intended for use during restart, is the same as clone(), except
> that it takes a 'pids' paramter. This parameter lets caller choose
> specific pid numbers for the child process, in the process's active and
> ancestor pid namespaces. (Descendant pid namespaces in general don't matter
> since processes don't have pids in them anyway, but see comments in
> copy_target_pids() regarding CLONE_NEWPID).
>
> Clone2() system call also attempts to address a second limitation of the
^^^^^^^^^^
s/Clone2/Clone3/
Acked-by: Oren Laadan <orenl at cs.columbia.edu>
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list