mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Kernel: Don't expose a region's page directory to the outside world
Now that region manages its own mapping/unmapping, there's no need for the outside world to be able to grab at its page directory.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 11:26:21 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0e8f1d7cb64
@@ -365,7 +365,6 @@ bool MemoryManager::copy_on_write(Region& region, unsigned page_index_in_region)
|
||||
|
||||
bool MemoryManager::page_in_from_inode(Region& region, unsigned page_index_in_region)
|
||||
{
|
||||
ASSERT(region.page_directory());
|
||||
ASSERT(region.vmobject().is_inode());
|
||||
|
||||
auto& vmobject = region.vmobject();
|
||||
|
||||
Reference in New Issue
Block a user