aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-05-05 21:54:27 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-05-05 21:54:27 +0200
commit279eeb199a20812068d4091be0652c8ba85fcba5 (patch)
tree9a95fb4e3c589e0e9bb829dffaea6e142659c872 /lib
parentad221d0a353cf3c9e7d660dd1a64aea7dd906cd0 (diff)
downloaddynld-279eeb199a20812068d4091be0652c8ba85fcba5.tar.gz
dynld-279eeb199a20812068d4091be0652c8ba85fcba5.zip
04: dynld, map initial SO region with MAP_NONE
Diffstat (limited to 'lib')
-rw-r--r--lib/include/syscalls.h1
1 files changed, 1 insertions, 0 deletions
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