Drop MAP_UNINITIALIZED

This is not available on modern MMU devices
This commit is contained in:
Dude so hot authored and renovate[bot] committed 2024-07-11 21:31:34 +08:00
1 parent 22e58a034f
commit b4422fe910
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ static int page_size = 0;
#define MEMPOOL_SIZE (mempoolofs[entryCount - 1])
#define PROT_RW (PROT_WRITE | PROT_READ)
#define MAP_ANON_POOL (MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE | MAP_UNINITIALIZED)
#define MAP_ANON_POOL (MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE)
static bool need_encrypt = false;
static char *passwd = NULL;