mbox series

[0/2] exec: s/group_exit_task/group_exec_task/ for clarity

Message ID 87pn9u6h8c.fsf@x220.int.ebiederm.org (mailing list archive)
Headers show
Series exec: s/group_exit_task/group_exec_task/ for clarity | expand

Message

Eric W. Biederman June 19, 2020, 6:30 p.m. UTC
I am hoping to be able to stop all of the threads at the beginning of
exec so we can write the exec code as if it is single threaded.   That
is hard but cleanups to enable that change are easy.

There is a variable tsk->signal->group_exit_task that is only truly
used in de_thread.  The changes clean up the coredump code and
rename the variable to make it clear that exec is it's only user.

Eric W. Biederman (2):
      exec: Don't set group_exit_task during a coredump
      exec: Rename group_exit_task group_exec_task and correct the Documentation

 fs/coredump.c                |  2 --
 fs/exec.c                    |  8 ++++----
 include/linux/sched/signal.h | 15 ++++++---------
 kernel/exit.c                |  4 ++--
 4 files changed, 12 insertions(+), 17 deletions(-)