summaryrefslogtreecommitdiff
path: root/Kernel/Thread.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-08-24 12:53:47 -0700
committerAndreas Kling <kling@serenityos.org>2021-08-25 00:18:42 +0200
commit485f51690d528379ef30a6a2e5c3d853cbc0f6c0 (patch)
treebe1b1ece3d45b0c5cf12dceb1e8f142902ef2cf8 /Kernel/Thread.cpp
parent0ae5de8c3cf3db350ee271c1c58008375036e7e9 (diff)
downloadserenity-485f51690d528379ef30a6a2e5c3d853cbc0f6c0.zip
Kernel: Always observe the return value of Region::map and remap
We have seen cases where the map fails, but we return the region to the caller, causing them to page fault later on when they touch the region. The fix is to always observe the return code of map/remap.
Diffstat (limited to 'Kernel/Thread.cpp')
0 files changed, 0 insertions, 0 deletions