mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-28 10:42:10 -04:00
implement in-place growth of large allocations
This commit is contained in:
parent
3a936295f8
commit
eb7ced7781
3 changed files with 36 additions and 3 deletions
1
memory.h
1
memory.h
|
@ -8,6 +8,7 @@ int memory_map_fixed(void *ptr, size_t size);
|
|||
int memory_unmap(void *ptr, size_t size);
|
||||
int memory_protect_rw(void *ptr, size_t size);
|
||||
int memory_protect_ro(void *ptr, size_t size);
|
||||
int memory_remap(void *old, size_t old_size, size_t new_size);
|
||||
int memory_remap_fixed(void *old, size_t old_size, void *new, size_t new_size);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue