mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
Kernel: Cloned shared regions should also be marked as shared
This commit is contained in:
parent
8731682d0e
commit
f91b3aab47
Notes:
sideshowbarker
2024-07-19 09:32:08 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/f91b3aab47e
@ -96,6 +96,7 @@ NonnullOwnPtr<Region> Region::clone()
|
||||
// Create a new region backed by the same VMObject.
|
||||
auto region = Region::create_user_accessible(m_range, m_vmobject, m_offset_in_vmobject, m_name, m_access);
|
||||
region->set_mmap(m_mmap);
|
||||
region->set_shared(m_shared);
|
||||
return region;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user