From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amerigo Wang Subject: Re: [RFC][v3][PATCH 3/7] Add target_pid parameter to alloc_pidmap() Date: Mon, 1 Jun 2009 16:30:23 +0800 Message-ID: <20090601083023.GD4381@cr0.nay.redhat.com> References: <20090530235714.GA4083@us.ibm.com> <20090531000144.GB4191@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: <20090531000144.GB4191-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 On Sat, May 30, 2009 at 05:01:44PM -0700, Sukadev Bhattiprolu wrote: > >From: Sukadev Bhattiprolu >Date: Mon, 4 May 2009 01:17:41 -0700 >Subject: [RFC][v3][PATCH 3/7] Add target_pid parameter to alloc_pidmap() > >With support for setting a specific pid number for a process, >alloc_pidmap() will need a paramter a 'target_pid' parameter. > >Changelog[v2]: > - (Serge Hallyn) Check for 'pid < 0' in set_pidmap().(Code > actually checks for 'pid <= 0' for completeness). > >Signed-off-by: Sukadev Bhattiprolu >Acked-by: Serge Hallyn >Reviewed-by: Oren Laadan Reviewed-by: WANG Cong