From a4b2c07ff946363bc6465b301e94c0f3bd2f8de7 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 31 May 2024 15:20:09 -0400 Subject: add __memperm() for checking current memory permissions --- src/_forced/mmap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/_forced') diff --git a/src/_forced/mmap.h b/src/_forced/mmap.h index 65c1ef01..24256479 100644 --- a/src/_forced/mmap.h +++ b/src/_forced/mmap.h @@ -5,6 +5,7 @@ #define PROT_NONE 0x0 #define PROT_READ 0x1 #define PROT_WRITE 0x2 +#define PROT_EXEC 0x4 #define MAP_PRIVATE 0x02 #define MAP_FAILED (void*)(-1) #define MAP_ANONYMOUS (0x20) -- cgit v1.2.1