Re: [GIT PULL] execve updates for v6.12-rc1

From: Linus Torvalds
Date: Thu Sep 26 2024 - 15:18:28 EST


On Thu, 26 Sept 2024 at 12:10, Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
>
> One of the common causes for coredump truncation is weird interactions
> between io_uring and the coredump code. (AKA kernel bugs).
>
> That is something you can't ask your debugger to tell you.
>
> So from 10,000 feet I think the idea is sane.

What? No. Adding printk's to chase kernel bugs is certainly a
time-honored tradition. But we don't leave them in the kernel sources
for posterity.

And none of the coredumpo failure reports had anything to do with
io_uring bugs anyway. They were literally "print out when disk filled
up or core dumps weren't enabled".

If you didn't get a core dump because the kernel didn't have core
dumps configured, we shouldn't print out some babying kernel message
about that.

None of this has anything to do with io_uring or kernel bugs.

Linus