[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170213141452.GA30203@redhat.com>
Date: Mon, 13 Feb 2017 15:14:52 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Aleksa Sarai <asarai@...e.com>,
Andy Lutomirski <luto@...capital.net>,
Attila Fazekas <afazekas@...hat.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Jann Horn <jann@...jh.net>, Kees Cook <keescook@...omium.org>,
Michal Hocko <mhocko@...nel.org>,
Ulrich Obergfell <uobergfe@...hat.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] fix the traced mt-exec deadlock
Hello,
Lets finally fix this problem, it was reported several times. I still think that
in the longer term we should (try to) rework the security hooks and (partially)
revert this change, but this is not trivial and we need something backportable
anyway.
Eric, Jann, we already discussed this change. 1/2 is the same patch I suggested 3
months ago except now it compiles and moves flush_signal_handlers() to de_thread().
Both patches ask for subsequent cleanups, see the changelogs.
Oleg.
arch/x86/ia32/ia32_aout.c | 3 ++
fs/binfmt_aout.c | 3 ++
fs/binfmt_elf.c | 6 ++-
fs/binfmt_elf_fdpic.c | 4 ++
fs/binfmt_flat.c | 3 ++
fs/exec.c | 128 +++++++++++++++++++++++-----------------------
include/linux/binfmts.h | 1 +
kernel/exit.c | 5 +-
kernel/signal.c | 21 +++++---
9 files changed, 101 insertions(+), 73 deletions(-)
Powered by blists - more mailing lists