From dfcc827103efeacf2455e2074ca341d60f7ae067 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 2 Nov 2022 18:40:05 +0100 Subject: [PATCH] libc: Add PROT_EXEC --- libs/libc/include/sys/mman.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libc/include/sys/mman.h b/libs/libc/include/sys/mman.h index 054e9c48..e2b86308 100644 --- a/libs/libc/include/sys/mman.h +++ b/libs/libc/include/sys/mman.h @@ -10,6 +10,7 @@ #define PROT_NONE 0 #define PROT_READ 1 #define PROT_WRITE 2 +#define PROT_EXEC 4 #define PAGE_SIZE 4096