Re: [PATCH] coredump: Limit what can interrupt coredumps

From: Eric W. Biederman
Date: Wed Jun 16 2021 - 16:00:27 EST


Olivier Langlois <olivier@xxxxxxxxxxxxxx> writes:

> I redid my test but this time instead of dumping directly into a file,
> I did let the coredump be piped to the systemd coredump module and the
> coredump generation isn't working as expected when piping.
>
> So your code review conclusions are correct.

Thank you for confirming that.

Do you know how your test program is using io_uring?

I have been trying to put the pieces together on what io_uring is doing
that stops the coredump. The fact that it takes a little while before
it kills the coredump is a little puzzling. The code looks like all of
the io_uring operations should have been canceled before the coredump
starts.

Thanks,
Eric