mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
Kernel: Make the "entire executable" region shared
This makes Region::clone() do the right thing with it on fork().
This commit is contained in:
@@ -858,6 +858,8 @@ int Process::do_exec(NonnullRefPtr<FileDescription> main_program_description, Ve
|
||||
|
||||
ASSERT(region);
|
||||
|
||||
region->set_shared(true);
|
||||
|
||||
Region* master_tls_region { nullptr };
|
||||
size_t master_tls_size = 0;
|
||||
size_t master_tls_alignment = 0;
|
||||
|
||||
Reference in New Issue
Block a user