commit | 0f1b92cbdd0309afae0af1963e8cccddb3d2eaff | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Mon Jan 30 18:06:11 2017 +0300 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Fri Feb 03 16:34:41 2017 +1300 |
tree | f30ecfd58043e4a2b32de2b053efac37a4f03b21 | |
parent | 015bb305b8ebe8d601a238ab70ebdc394c7a19ba [diff] |
introduce the walk_process_tree() helper Add the new helper to walk the process tree, the next patch adds a user. Note that it visits the group leaders only, proc_visitor can do for_each_thread itself or we can trivially extend walk_process_tree() to do this. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>