lkml.org 
[lkml]   [2019]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm 3/3] ELF, coredump: allow process with empty address space to coredump
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.

\
 
 \ /
  Last update: 2019-12-22 15:52    [W:0.027 / U:6.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site