Date: Tue, 08 Sep 2020 16:06:57 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249067] coredumps include whole maps Message-ID: <bug-249067-227-f4P7K6d55K@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-249067-227@https.bugs.freebsd.org/bugzilla/> References: <bug-249067-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249067 --- Comment #2 from Mark Johnston <markj@FreeBSD.org> --- It looks like Linux handles core dump data phdrs the same way we do. The t= rick they use is to create a hole in the core file whenever a never-faulted virt= ual page is written. So a program that maps 512MB, faults a single page, and d= umps core gives: # ./a.out=20 addr is 0x7fc076b57000 Aborted (core dumped) # du -h core 116K core # du -h --apparent-size core 513M core --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249067-227-f4P7K6d55K>