diff options
author | 2017-03-05 00:55:01 +0000 | |
---|---|---|
committer | 2017-03-05 00:55:01 +0000 | |
commit | 3831a1c1ab55a99e35c5593e50f9ac7600f4b158 (patch) | |
tree | f78bd77fcb53864692ae9983ea67ea8a9a82d026 /lib/libssl/ssl_packet.c | |
parent | Generating a coredump requires walking the map twice; change (diff) | |
download | wireguard-openbsd-3831a1c1ab55a99e35c5593e50f9ac7600f4b158.tar.xz wireguard-openbsd-3831a1c1ab55a99e35c5593e50f9ac7600f4b158.zip |
Handle unshared amaps in uvm_coredump_walkmap() such that untouched pages
don't get written out to the core file but rather are represented via
segments which have memory size greater than their file size. This shrinks
core files and eliminates a case where core dumping fails with EFAULT.
This can still happen in the shared amap case.
Based on a problem report from (and testing by) semarie@
ok stefan@
Diffstat (limited to 'lib/libssl/ssl_packet.c')
0 files changed, 0 insertions, 0 deletions