pids: Compute task_tgid using signal->leader_pid
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Sep 2017 17:45:33 +0000 (12:45 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 21 Jul 2018 15:43:12 +0000 (10:43 -0500)
commit7a36094d61bfe9843de5484ff0140227983ac5d5
tree7ebb9918a753ad3b0c8cd4ed128e7a99c3dd2f99
parent1fb53567a3633740aac8761eb7023dc5671f0edb
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: "Eric W. Biederman" <ebiederm@xmission.com>
arch/ia64/kernel/asm-offsets.c
arch/ia64/kernel/fsys.S
drivers/platform/x86/thinkpad_acpi.c
fs/fuse/file.c
fs/notify/fanotify/fanotify.c
include/linux/sched.h
include/linux/sched/signal.h
include/net/scm.h
kernel/pid.c