mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-23 14:39:33 -05:00
relabel region table mapping
This commit is contained in:
parent
e4120913d6
commit
65311a5df2
@ -825,6 +825,7 @@ static int regions_grow(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
memory_map_fixed(ra->regions, ra->total * sizeof(struct region_metadata));
|
memory_map_fixed(ra->regions, ra->total * sizeof(struct region_metadata));
|
||||||
|
memory_set_name(ra->regions, ra->total * sizeof(struct region_metadata), "malloc allocator_state");
|
||||||
ra->free = ra->free + ra->total;
|
ra->free = ra->free + ra->total;
|
||||||
ra->total = newtotal;
|
ra->total = newtotal;
|
||||||
ra->regions = p;
|
ra->regions = p;
|
||||||
|
Loading…
Reference in New Issue
Block a user