Skip to content
Snippets Groups Projects
Commit 7a36094d authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

pids: Compute task_tgid using signal->leader_pid


The cost is the the same and this removes the need
to worry about complications that come from de_thread
and group_leader changing.

__task_pid_nr_ns has been updated to take advantage of this change.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 1fb53567
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment