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

Oren Laadan
2009-09-24T17:47:13Z

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@linux.vnet.ibm.com>
> Acked-by: Serge Hallyn <serue@us.ibm.com>

Reviewed-by: Oren Laadan <orenl@cs.columbia.edu>