[LTP] [PATCH 1/3] lapi/mmap: add MAP_32BIT fallback
Andrea Cervesato
andrea.cervesato@suse.de
Fri Aug 28 17:36:03 CEST 2026
From: Andrea Cervesato <andrea.cervesato@suse.com>
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
include/lapi/mmap.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/lapi/mmap.h b/include/lapi/mmap.h
index 3908310f4..f20eb3bd5 100644
--- a/include/lapi/mmap.h
+++ b/include/lapi/mmap.h
@@ -91,6 +91,10 @@
# define MAP_DROPPABLE 0x08
#endif
+#ifndef MAP_32BIT
+# define MAP_32BIT 0x40
+#endif
+
#ifndef MREMAP_DONTUNMAP
# define MREMAP_DONTUNMAP 4
#endif
--
2.51.0
More information about the ltp
mailing list