Skip to content

coredump: Allow io_uring using apps to dump to pipes.

Eric W. Biederman io-uring linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2signal: Move stopping for the coredump from do_exit into get_signalfs/coredump.c include/linux/coredump.h kernel/exit.c +2 more+37 -260 replies
2/2coredump: Allow coredumps to pipes to work with io_uringfs/coredump.c+4 -16 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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