Skip to content

signal: Removing has_group_leader_pid

Eric W. Biederman kernel-hardening linux-api linux-fsdevel linux-security-module lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 4 patches 0 repliesNew

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4posix-cpu-timer: Tidy up group_leader logic in lookup_taskkernel/time/posix-cpu-timers.c+2 -60 replies
2/4posix-cpu-timer: Unify the now redundant code in lookup_taskkernel/time/posix-cpu-timers.c+7 -80 replies
3/4exec: Remove BUG_ON(has_group_leader_pid)fs/exec.c+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] signal: 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(-)