mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
Kernel: Fix incorrect EFAULTs when syscall would write into COW pages.
This commit is contained in:
parent
a4a106a430
commit
11b73c38d8
4 changed files with 38 additions and 32 deletions
|
@ -246,6 +246,7 @@ private:
|
|||
void remove_identity_mapping(PageDirectory&, LinearAddress, size_t);
|
||||
|
||||
static Region* region_from_laddr(Process&, LinearAddress);
|
||||
static const Region* region_from_laddr(const Process&, LinearAddress);
|
||||
|
||||
bool copy_on_write(Region&, unsigned page_index_in_region);
|
||||
bool page_in_from_inode(Region&, unsigned page_index_in_region);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue