summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/file.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2005-07-26 07:11:55 +0000
committerart <art@openbsd.org>2005-07-26 07:11:55 +0000
commit676bc291fdfe882f41e71be2e9cb16683d4614cf (patch)
treebfabe677f3e9a3d5306fcda91ab737b28b613706 /usr.bin/cvs/file.c
parent- setup -> set up (diff)
downloadwireguard-openbsd-676bc291fdfe882f41e71be2e9cb16683d4614cf.tar.xz
wireguard-openbsd-676bc291fdfe882f41e71be2e9cb16683d4614cf.zip
- Make a UVM_OBJ_IS_DEVICE macro.
- Use it to skip device mappings while dumping core. - Ignore EFAULT errors while dumping core since they can happen even for valid mappings. Just skip that part of the core file and let it get automagically zero-filled. This fixes the broken X core dumps that people have been seeing and also fixes some other potential problems that could prevent core dumps (mmaps beyond EOF, etc.). tedu@ ok
Diffstat (limited to 'usr.bin/cvs/file.c')
0 files changed, 0 insertions, 0 deletions