mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00: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:
parent
6ed9cc4717
commit
0e8f1d7cb6
3 changed files with 8 additions and 11 deletions
|
@ -89,8 +89,6 @@ public:
|
|||
size_t amount_resident() const;
|
||||
size_t amount_shared() const;
|
||||
|
||||
PageDirectory* page_directory() { return m_page_directory.ptr(); }
|
||||
|
||||
bool should_cow(size_t page_index) const;
|
||||
void set_should_cow(size_t page_index, bool);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue