From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: [PATCH 7/7] [PATCH] Define clone_with_pids syscall Date: Wed, 27 May 2009 13:19:31 -0500 Message-ID: <20090527181931.GD780@us.ibm.com> References: <20090527154212.GA3107@us.ibm.com> <20090527154507.GG3107@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20090527154507.GG3107-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Sukadev Bhattiprolu Cc: Containers , "David C. Hansen" List-Id: containers.vger.kernel.org Quoting Sukadev Bhattiprolu (sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org): > > From: Sukadev Bhattiprolu > Date: Mon, 4 May 2009 01:17:45 -0700 > Subject: [PATCH 7/7] [PATCH] Define clone_with_pids syscall > > clone_with_pids() is same as clone(), except that it takes a 'target_pid_set' > paramter which lets caller choose a specific pid number for the child process > in each of the child process's pid namespace. This system call would be needed > to implement Checkpoint/Restart (i.e after a checkpoint, restart a process with > its original pids). I think you should point out here that CAP_SYS_ADMIN is needed to use the syscall, so unprivileged tasks can't use this to try to play games with /var/run/*.pid. ... > Signed-off-by: Sukadev Bhattiprolu Acked-by: Serge Hallyn -serge