aboutsummaryrefslogtreecommitdiffstats
path: root/libtest/mmap.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-10 22:05:40 +0200
committerMattias Andrée <m@maandree.se>2026-05-10 22:05:40 +0200
commit266ffbc3e61570d08ec0ec84394ab49eb9b44e7d (patch)
treeb6d891b955240beb90409d86a67ac209cdb49e8d /libtest/mmap.c
parentImprovements to libtest (diff)
downloadlibrecrypt-266ffbc3e61570d08ec0ec84394ab49eb9b44e7d.tar.gz
librecrypt-266ffbc3e61570d08ec0ec84394ab49eb9b44e7d.tar.bz2
librecrypt-266ffbc3e61570d08ec0ec84394ab49eb9b44e7d.tar.xz
Misc
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--libtest/mmap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libtest/mmap.c b/libtest/mmap.c
index c12594f..d8a2a60 100644
--- a/libtest/mmap.c
+++ b/libtest/mmap.c
@@ -5,6 +5,11 @@
#include <sys/syscall.h>
+#if !defined(__linux__)
+# errno "Don't know how to implement mmap(3), mumap(3), and mremap(3)"
+#endif
+
+
void *
libtest_real_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t off)
{