mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-10-01 01:36:01 -04:00
fix missing include for Intel MPK support
This commit is contained in:
parent
e0ecacff45
commit
be6dde66f9
@ -21,6 +21,10 @@
|
||||
#include "random.h"
|
||||
#include "util.h"
|
||||
|
||||
#ifdef USE_PKEY
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
#define SLAB_QUARANTINE (SLAB_QUARANTINE_RANDOM_LENGTH > 0 || SLAB_QUARANTINE_QUEUE_LENGTH > 0)
|
||||
#define REGION_QUARANTINE (REGION_QUARANTINE_RANDOM_LENGTH > 0 || REGION_QUARANTINE_QUEUE_LENGTH > 0)
|
||||
#define MREMAP_MOVE_THRESHOLD (32 * 1024 * 1024)
|
||||
|
Loading…
Reference in New Issue
Block a user