Re: [PATCH -mm 3/3] ELF, coredump: allow process with empty address space to coredump

Alexey Dobriyan
2019-12-22T14:52:08Z

On Sun, Dec 22, 2019 at 05:44:21PM +0300, Alexey Dobriyan wrote:
> Unmapping whole address space at once with
>
> munmap(0, (1ULL<<47) - 4096)
>
> or equivalent will create empty coredump.

> tools/testing/selftests/exec/Makefile | 1
> tools/testing/selftests/exec/coredump-zero-vma.c | 38 +++++++++++++++++++++++

Oh, disreard this.
Test should fork and wait properly.