https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249067

--- Comment #2 from Mark Johnston <[email protected]> ---
It looks like Linux handles core dump data phdrs the same way we do.  The trick
they use is to create a hole in the core file whenever a never-faulted virtual
page is written.  So a program that maps 512MB, faults a single page, and dumps
core gives:

# ./a.out 
addr is 0x7fc076b57000
Aborted (core dumped)
# du -h core
116K    core
# du -h --apparent-size core
513M    core

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to