mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-07-27 17:15:26 -04:00
label allocate_aligned_pages mappings
This commit is contained in:
parent
c8b948e202
commit
1d62075291
3 changed files with 8 additions and 7 deletions
|
@ -1304,7 +1304,7 @@ static int alloc_aligned(void **memptr, size_t alignment, size_t size, size_t mi
|
|||
size_t guard_size = get_guard_size(&ra->rng, size);
|
||||
mutex_unlock(&ra->lock);
|
||||
|
||||
void *p = allocate_pages_aligned(size, alignment, guard_size);
|
||||
void *p = allocate_pages_aligned(size, alignment, guard_size, "malloc large");
|
||||
if (p == NULL) {
|
||||
return ENOMEM;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue