diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-10-19 06:40:06 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 18:53:39 (GMT) |
commit | 7af5729474b5b8ad385adadab78d6e723e7655a3 (patch) | |
tree | 197f8da3e7afd65554f0c0a070eb93036b720fa8 /drivers/hwmon/dme1737.c | |
parent | 8ef047aaaeb811247a5639c92e2f2ae1221a28dd (diff) | |
download | linux-fsl-qoriq-7af5729474b5b8ad385adadab78d6e723e7655a3.tar.xz |
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 <xemul@openvz.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Paul Menage <menage@google.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/dme1737.c')
0 files changed, 0 insertions, 0 deletions