]> git.baikalelectronics.ru Git - kernel.git/commit
Removing has_group_leader_pid
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 30 Apr 2020 11:18:01 +0000 (06:18 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 30 Apr 2020 11:18:01 +0000 (06:18 -0500)
commitcda66365c67bb8ef8f2f0f23f7ef72a53a335152
tree4f9bc099d5b952496b53420da532be15efb63acc
parent39c7e093ba5fa7660f49d9d0fbea8da359bd873e
parent8c47367b8996a364e9cb6cab6a38e2ebd4162dc1
Removing has_group_leader_pid

With de_thread now calling exchange_tids has_group_leader_pid no longer
makes any sense and is equivalent to calling thread_group_leader.

As there are only 2 remaining users of has_group_leader_pid let's
update the code and get rid of has_group_leader_pid.

There is one extra patch to lookup_task that performs that unifies
to code paths that become identical when has_group_leader_pid went
away.

Eric W. Biederman (4):
      posix-cpu-timer: Tidy up group_leader logic in lookup_task
      posix-cpu-timer:  Unify the now redundant code in lookup_task
      exec: Remove BUG_ON(has_group_leader_pid)
      signal: Remove has_group_leader_pid

 fs/exec.c                      |  1 -
 include/linux/sched/signal.h   | 11 -----------
 kernel/time/posix-cpu-timers.c | 21 ++++++++-------------
 3 files changed, 8 insertions(+), 25 deletions(-)

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>