[LTP] [PATCH v6 0/3] syscalls: munmap: Convert to new API

Ricardo B. Marlière rbm@suse.com
Tue Jul 8 11:47:20 CEST 2025


Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
---
Changes in v6:
- munmap01: Simplified cleanup unmap logic (suggested by Andrea)
- Link to v5: https://lore.kernel.org/r/20250707-conversions-munmap-v5-0-f273ec86e50f@suse.com

Changes in v5:
- munmap01: Fixed cleanup unmap logic
- Link to v4: https://lore.kernel.org/r/20250707-conversions-munmap-v4-0-0977b2338550@suse.com

Changes in v4:
- munmap01: Set map_addr to NULL after unmapping
- Link to v3: https://lore.kernel.org/r/20250707-conversions-munmap-v3-0-0632537a6c8d@suse.com

Changes in v3:
- Stopped using "mapped" variable
- Simplified cleanup() in munmap01
- Removed unnecessary comments
- Link to v2: https://lore.kernel.org/r/20250704-conversions-munmap-v2-0-bac3a0aa117b@suse.com

Changes in v2:
- munmap03: Use static variables for specific test cases
- munmap01: Use fork() instead of signals
- Overall comment cleanup
- Link to v1: https://lore.kernel.org/r/20250703-conversions-munmap-v1-0-30de82d59004@suse.com

---
Ricardo B. Marlière (3):
      syscalls: munmap01: Convert to new API
      syscalls: munmap02: Make it a variant of munmap01
      syscalls: munmap03: Convert to new API

 runtest/syscalls                            |   1 -
 testcases/kernel/syscalls/munmap/.gitignore |   1 -
 testcases/kernel/syscalls/munmap/munmap01.c | 279 ++++++++--------------------
 testcases/kernel/syscalls/munmap/munmap02.c | 252 -------------------------
 testcases/kernel/syscalls/munmap/munmap03.c | 169 +++++------------
 5 files changed, 117 insertions(+), 585 deletions(-)
---
base-commit: 16cd67ef1f85e6b14c182fa49632a5014560edfa
change-id: 20250703-conversions-munmap-3b6a29faa268

Best regards,
-- 
Ricardo B. Marlière <rbm@suse.com>



More information about the ltp mailing list