mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-11-23 05:00:28 -05:00
Merge 96836f463b into a000fd4b5e
This commit is contained in:
commit
622b2fbb4a
3 changed files with 24 additions and 0 deletions
1
memory.h
1
memory.h
|
|
@ -22,6 +22,7 @@ bool memory_unmap(void *ptr, size_t size);
|
|||
bool memory_protect_ro(void *ptr, size_t size);
|
||||
bool memory_protect_rw(void *ptr, size_t size);
|
||||
bool memory_protect_rw_metadata(void *ptr, size_t size);
|
||||
bool memory_protect_seal(void *ptr, size_t size);
|
||||
#ifdef HAVE_COMPATIBLE_MREMAP
|
||||
bool memory_remap(void *old, size_t old_size, size_t new_size);
|
||||
bool memory_remap_fixed(void *old, size_t old_size, void *new, size_t new_size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue