From b4422fe910d50a519723e37e13788f8903f11905 Mon Sep 17 00:00:00 2001 From: Dude so hot Date: Thu, 11 Jul 2024 21:24:45 +0800 Subject: [PATCH] Drop MAP_UNINITIALIZED This is not available on modern MMU devices --- app/src/main/cpp/archive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/archive.c b/app/src/main/cpp/archive.c index 24808bc6c..47c1e3c8c 100644 --- a/app/src/main/cpp/archive.c +++ b/app/src/main/cpp/archive.c @@ -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;