Kernel: Give a name to the Master TLS region allocation

This commit is contained in:
Itamar 2021-04-23 18:59:30 +03:00 committed by Andreas Kling
commit 373e8bcbc7
Notes: sideshowbarker 2024-07-18 18:52:11 +09:00

View file

@ -619,7 +619,7 @@ KResultOr<FlatPtr> Process::sys$allocate_tls(size_t size)
if (!range.has_value())
return ENOMEM;
auto region_or_error = space().allocate_region(range.value(), String(), PROT_READ | PROT_WRITE);
auto region_or_error = space().allocate_region(range.value(), String("Master TLS"), PROT_READ | PROT_WRITE);
if (region_or_error.is_error())
return region_or_error.error().error();