diff options
| author | Pavel Emelyanov <[email protected]> | 2007-10-19 06:40:06 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-10-19 18:53:39 +0000 |
| commit | 7af5729474b5b8ad385adadab78d6e723e7655a3 (patch) | |
| tree | 197f8da3e7afd65554f0c0a070eb93036b720fa8 /fs/proc/root.c | |
| parent | pid namespaces: make alloc_pid(), free_pid() and put_pid() work with struct upid (diff) | |
| download | kernel-7af5729474b5b8ad385adadab78d6e723e7655a3.tar.gz kernel-7af5729474b5b8ad385adadab78d6e723e7655a3.zip | |
pid namespaces: helpers to obtain pid numbers
When showing pid to user or getting the pid numerical id for in-kernel use the
value of this id may differ depending on the namespace.
This set of helpers is used to get the global pid nr, the virtual (i.e. seen
by task in its namespace) nr and the nr as it is seen from the specified
namespace.
Signed-off-by: Pavel Emelyanov <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Cc: Paul Menage <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions
