summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_packet.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2017-03-05 00:55:01 +0000
committerguenther <guenther@openbsd.org>2017-03-05 00:55:01 +0000
commit3831a1c1ab55a99e35c5593e50f9ac7600f4b158 (patch)
treef78bd77fcb53864692ae9983ea67ea8a9a82d026 /lib/libssl/ssl_packet.c
parentGenerating a coredump requires walking the map twice; change (diff)
downloadwireguard-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