diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2005-07-26 07:11:56 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2005-07-26 07:11:56 +0000 |
commit | 6618ef73c7e86b52a44ea09e7ad59588c97c1ea5 (patch) | |
tree | 4f61530064c2aef24dfcde424b68e121b997c3cb /sys/uvm/uvm_anon.c | |
parent | 6a102c43acb2901c959adb21d0af6e5afc07a8a0 (diff) |
- 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 'sys/uvm/uvm_anon.c')
0 files changed, 0 insertions, 0 deletions