[PATCH 0/2] coredump: Allow io_uring using apps to dump to pipes.

From: Eric W. Biederman
Date: Wed Jul 20 2022 - 12:50:04 EST




Folks who have been suffering from io_uring coredumping issues please
give this a spin. I have lightly tested this version and more heavily
tested an earlier version which had more dependencies.

Unless I have missed something in cleaning up the code this should
be a comprehensive fix to the coredumping issues when using io_uring.

But folks please test and verify this. It has taken me long enough to
get back to this point I don't properly remember how the reproducer I
have was supposed to fail. All I can say with certainty is set of
changes has what looks like a positive effect.

Eric W. Biederman (2):
signal: Move stopping for the coredump from do_exit into get_signal
coredump: Allow coredumps to pipes to work with io_uring


fs/coredump.c | 30 ++++++++++++++++++++++++++++--
include/linux/coredump.h | 2 ++
kernel/exit.c | 29 +++++------------------------
kernel/signal.c | 5 +++++
mm/oom_kill.c | 2 +-
5 files changed, 41 insertions(+), 27 deletions(-)

Eric