lkml.org 
[lkml]   [2009]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][v7][PATCH 4/9]: Add target_pid parameter to alloc_pidmap()


    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>



    \
     
     \ /
      Last update: 2009-09-24 19:49    [W:0.023 / U:0.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site