diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2017-09-26 19:45:33 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-07-21 17:43:12 +0200 |
commit | 7a36094d61bfe9843de5484ff0140227983ac5d5 (patch) | |
tree | 7ebb9918a753ad3b0c8cd4ed128e7a99c3dd2f99 /include/net/scm.h | |
parent | pids: Move task_pid_type into sched/signal.h (diff) | |
download | linux-7a36094d61bfe9843de5484ff0140227983ac5d5.tar.xz linux-7a36094d61bfe9843de5484ff0140227983ac5d5.zip |
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>
Diffstat (limited to 'include/net/scm.h')
-rw-r--r-- | include/net/scm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/scm.h b/include/net/scm.h index 903771c8d4e3..1ce365f4c256 100644 --- a/include/net/scm.h +++ b/include/net/scm.h @@ -8,6 +8,7 @@ #include <linux/security.h> #include <linux/pid.h> #include <linux/nsproxy.h> +#include <linux/sched/signal.h> /* Well, we should have at least one descriptor open * to accept passed FDs 8) |