coredump: Allow io_uring using apps to dump to pipes.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | signal: Move stopping for the coredump from do_exit into get_signalfs/ include/ kernel/ +2 more | +37 | 0 replies | |
| 2/2 | coredump: Allow coredumps to pipes to work with io_uringfs/ | +4 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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