]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] pid: implement pid_nr
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 2 Oct 2006 09:17:12 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:13 +0000 (07:57 -0700)
commit1ef3d774e589a926330c6fb44bbc7e7b50d19f35
tree8dc23051350f9a4bd22c3172dc570e96e73f3e50
parent3b16092b55a2ab9104a6497ea93e1031f53321f9
[PATCH] pid: implement pid_nr

As we stop storing pid_t's and move to storing struct pid *.  We need a way to
get the pid_t from the struct pid to report to user space what we have stored.

Having a clean well defined way to do this is especially important as we move
to multiple pid spaces as may need to report a different value to the caller
depending on which pid space the caller is in.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/pid.h