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

Eric W. Biederman posted 2 patches 3 years, 9 months ago
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(-)
[PATCH 0/2] coredump: Allow io_uring using apps to dump to pipes.
Posted by Eric W. Biederman 3 years, 9 months ago

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