1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

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
parent 2c9541315d
commit 373e8bcbc7

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();