[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87pn9u6h8c.fsf@x220.int.ebiederm.org>
Date: Fri, 19 Jun 2020 13:30:27 -0500
From: ebiederm@...ssion.com (Eric W. Biederman)
To: <linux-kernel@...r.kernel.org>
cc: <linux-fsdevel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Oleg Nesterov <oleg@...hat.com>, Jann Horn <jannh@...gle.com>,
Kees Cook <keescook@...omium.org>,
Bernd Edlinger <bernd.edlinger@...mail.de>
Subject: [PATCH 0/2] exec: s/group_exit_task/group_exec_task/ for clarity
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(-)
Powered by blists - more mailing lists