linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] exec: s/group_exit_task/group_exec_task/ for clarity
@ 2020-06-19 18:30 Eric W. Biederman
  2020-06-19 18:32 ` [PATCH 1/2] exec: Don't set group_exit_task during a coredump Eric W. Biederman
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Eric W. Biederman @ 2020-06-19 18:30 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-fsdevel, Linus Torvalds, Oleg Nesterov, Jann Horn,
	Kees Cook, Bernd Edlinger


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(-)


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-06-23 22:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 18:30 [PATCH 0/2] exec: s/group_exit_task/group_exec_task/ for clarity Eric W. Biederman
2020-06-19 18:32 ` [PATCH 1/2] exec: Don't set group_exit_task during a coredump Eric W. Biederman
2020-06-20 18:58   ` Linus Torvalds
2020-06-22 16:20     ` Eric W. Biederman
2020-06-22 16:32       ` Linus Torvalds
2020-06-22 11:25   ` Oleg Nesterov
2020-06-19 18:33 ` [PATCH 2/2] exec: Rename group_exit_task group_exec_task and correct the Documentation Eric W. Biederman
2020-06-23 21:52 ` [PATCH v2 0/6] exec: s/group_exit_task/group_exec_task/ for clarity Eric W. Biederman
2020-06-23 21:53   ` [PATCH v2 1/6] signal: Pretty up the SIGNAL_GROUP_FLAGS Eric W. Biederman
2020-06-23 21:54   ` [PATCH v2 2/6] exec: Lock more defensively in exec Eric W. Biederman
2020-06-23 21:54   ` [PATCH v2 3/6] signal: Implement SIGNAL_GROUP_DETHREAD Eric W. Biederman
2020-06-23 21:55   ` [PATCH v2 4/6] signal: In signal_group_exit remove the group_exit_task test Eric W. Biederman
2020-06-23 21:55   ` [PATCH v2 5/6] coredump: Stop using group_exit_task Eric W. Biederman
2020-06-23 21:56   ` [PATCH v2 6/6] exec: Rename group_exit_task group_exec_task and correct the Documentation Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).