From 279eeb199a20812068d4091be0652c8ba85fcba5 Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 5 May 2021 21:54:27 +0200 Subject: 04: dynld, map initial SO region with MAP_NONE --- lib/include/syscalls.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/include/syscalls.h') diff --git a/lib/include/syscalls.h b/lib/include/syscalls.h index 7808e98..20362d6 100644 --- a/lib/include/syscalls.h +++ b/lib/include/syscalls.h @@ -25,6 +25,7 @@ ssize_t read(int fd, void* buf, size_t count); ssize_t pread(int fd, void* buf, size_t count, off_t offset); // mmap - prot: +#define PROT_NONE 0x0 #define PROT_READ 0x1 #define PROT_WRITE 0x2 #define PROT_EXEC 0x4 -- cgit v1.2.3