mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-09-28 20:26:50 +00:00
11 lines
191 B
C
11 lines
191 B
C
#ifndef MEMORY_H
|
|
#define MEMORY_H
|
|
|
|
#include <stddef.h>
|
|
|
|
void *memory_map(size_t size);
|
|
int memory_unmap(void *ptr, size_t size);
|
|
int memory_protect(void *ptr, size_t size, int prot);
|
|
|
|
#endif
|