Re: [PATCH v4 0/5] Fix ELF / FDPIC ELF core dumping, and use mmap_lock properly in there

From: Linus Torvalds
Date: Wed Aug 26 2020 - 13:16:11 EST


On Wed, Aug 26, 2020 at 8:15 AM Jann Horn <jannh@xxxxxxxxxx> wrote:
>
> After this series has landed, we should be able to rip out
> mmget_still_valid().

I think you should just add that to the series, since it's kind of the
point of it all.

But ack on this, it now looks saner than what we used to have regardless.

I do wonder if we should possibly just limit the number of vma's we
dump based on core size ulimit too, but that, I think, might be a
"further improvement" rather than base cleanup.

Linus