aboutsummaryrefslogtreecommitdiffstats
path: root/libtest/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-14 10:47:23 +0200
committerMattias Andrée <m@maandree.se>2026-05-14 10:47:23 +0200
commitb1d4927aa3d1d1b31034ede3eeb374efcdcfed0d (patch)
tree088d55cefd7673ce2e9741aaa5b20cb0fc5603bd /libtest/config.mk
parentTests and fixes (diff)
downloadlibrecrypt-b1d4927aa3d1d1b31034ede3eeb374efcdcfed0d.tar.gz
librecrypt-b1d4927aa3d1d1b31034ede3eeb374efcdcfed0d.tar.bz2
librecrypt-b1d4927aa3d1d1b31034ede3eeb374efcdcfed0d.tar.xz
Tests and fixes
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--libtest/config.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/libtest/config.mk b/libtest/config.mk
index 6dff8a9..3b81c3f 100644
--- a/libtest/config.mk
+++ b/libtest/config.mk
@@ -3,3 +3,11 @@ IMPLEMENT_MMAP = true
TEST_CONFIGFILE = config_backtraces=$(WITH_BACKTRACE).mk
include $(TEST_INCLUDE_PREFIX)$(TEST_CONFIGFILE)
+
+# If IMPLEMENT_MMAP is false, it is assumed that libc provides __mmap,
+# __munmap, and __mremap as aliases for mmap, mumap, and mremap. If
+# this isn't the case for your libc, but it provides other aliases,
+# you can add e.g. "-D__mmap=_mmap -D__munmap=_munmap -D__mremap=_mremap"
+# to specify the alises libc provides (in this example _mmap, _munmap,
+# and _mremap). NB! "-D__mmap=mmap -D__munmap=munmap -D__mremap=mremap"
+# is not allowed as libtest overrides mmap(3), munmap(3), and mremap(3).