[Devel] Re: [RFC][v7][PATCH 4/9]: Add target_pid parameter to alloc_pidmap()

Oren Laadan orenl at librato.com
Thu Sep 24 10:47:07 PDT 2009



Sukadev Bhattiprolu wrote:
> 
> Subject: [RFC][v7][PATCH 4/9]: Add target_pid parameter to alloc_pidmap()
> 
> With support for setting a specific pid number for a process,
> alloc_pidmap() will need a 'target_pid' parameter.
> 
> Changelog[v6]:
> 	- Separate target_pid > 0 case to minimize the number of checks needed.
> Changelog[v3]:
> 	- (Eric Biederman): Avoid set_pidmap() function. Added couple of
> 	  checks for target_pid in alloc_pidmap() itself.
> Changelog[v2]:
> 	- (Serge Hallyn) Check for 'pid < 0' in set_pidmap().(Code
> 	  actually checks for 'pid <= 0' for completeness).
> 
> Signed-off-by: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
> Acked-by: Serge Hallyn <serue at us.ibm.com>

Reviewed-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