Re: [PATCH] coredump: Also dump first pages of non-executable ELF libraries

From: Andrew Morton
Date: Fri Feb 04 2022 - 17:44:37 EST


On Fri, 4 Feb 2022 00:59:59 +0100 Jann Horn <jannh@xxxxxxxxxx> wrote:

> > > I looked in the history and the code was filtering for ELF headers
> > > there already. I am just thinking this feels like a good idea
> > > regardless of the file format to help verify the file on-disk
> > > is the file we think was mapped.
> >
> > Yeah, I guess that's reasonable. The main difference will probably be
> > that the starting pages of some font files, locale files and python
> > libraries will also be logged.
>
> Are you planning to turn that into a proper patch and take it through
> your tree, or something like that? If so, we should tell akpm to take
> this one back out...

I have
coredump-also-dump-first-pages-of-non-executable-elf-libraries.patch on
hold, pending outcome of this discussion.