diff options
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/VM/Region.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/VM/Region.cpp b/Kernel/VM/Region.cpp index cd1de3c593..c97c809579 100644 --- a/Kernel/VM/Region.cpp +++ b/Kernel/VM/Region.cpp @@ -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; } |