[LTP] [PATCH 0/3] mmap testing suite to cover MAP_32BIT
Andrea Cervesato
andrea.cervesato@suse.de
Fri Aug 28 17:36:02 CEST 2026
Create two new tests to verify MAP_32BIT functionality:
- mmap23: verify if it fails with invalid parameters
- mmap24: verify bondaries of the allocation
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Andrea Cervesato (3):
lapi/mmap: add MAP_32BIT fallback
mmap23: add test for MAP_32BIT oversized mapping
mmap24: add test for MAP_32BIT address limit
include/lapi/mmap.h | 4 ++
runtest/syscalls | 2 +
testcases/kernel/syscalls/mmap/.gitignore | 2 +
testcases/kernel/syscalls/mmap/mmap23.c | 36 ++++++++++++
testcases/kernel/syscalls/mmap/mmap24.c | 96 +++++++++++++++++++++++++++++++
5 files changed, 140 insertions(+)
---
base-commit: 3c0271a307bd765c2fd652c325762a90ddf5d46f
change-id: 20260827-mmap_32bit_coverage-09a22407aa39
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list