From: Alexey Dobriyan <adobriyan@gmail.com>
To: akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH -mm 3/3] ELF, coredump: allow process with empty address space to coredump
Date: Sun, 22 Dec 2019 17:51:10 +0300 [thread overview]
Message-ID: <20191222145110.GA895@avx2> (raw)
In-Reply-To: <20191222144421.GC24341@avx2>
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.
prev parent reply other threads:[~2019-12-22 14:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-22 14:44 [PATCH -mm 3/3] ELF, coredump: allow process with empty address space to coredump Alexey Dobriyan
2019-12-22 14:51 ` Alexey Dobriyan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191222145110.GA895@avx2 \
--to=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox