diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-10-02 11:17:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 16:57:13 +0200 |
commit | 558cb325485aaf655130f140e8ddd25392f6c972 (patch) | |
tree | adfea6c0b901cf6591209d29091ff5ac298843c3 /kernel | |
parent | [PATCH] pid: implement access helpers for a tacks various process groups (diff) | |
download | linux-558cb325485aaf655130f140e8ddd25392f6c972.tar.xz linux-558cb325485aaf655130f140e8ddd25392f6c972.zip |
[PATCH] pid: add do_each_pid_task
To avoid pid rollover confusion the kernel needs to work with struct pid *
instead of pid_t. Currently there is not an iterator that walks through all
of the tasks of a given pid type starting with a struct pid. This prevents us
replacing some pid_t instances with struct pid. So this patch adds
do_each_pid_task which walks through the set of task for a given pid type
starting with a struct pid.
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions