From a71ab1a2eb3106b80673c046939eec746e97897d Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 12 May 2021 10:51:52 -0400 Subject: [PATCH] MREMAP_DONTUNMAP may be usable in realloc --- KERNEL_FEATURE_WISHLIST.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/KERNEL_FEATURE_WISHLIST.md b/KERNEL_FEATURE_WISHLIST.md index 8fb91c6..c3a474d 100644 --- a/KERNEL_FEATURE_WISHLIST.md +++ b/KERNEL_FEATURE_WISHLIST.md @@ -16,6 +16,8 @@ Somewhat important and an easy sell: * also needed by jemalloc for different reasons * not needed if the kernel gets first class support for arbitrarily sized guard pages and a virtual memory quarantine feature + * `MREMAP_DONTUNMAP` is now available but doesn't support expanding the + mapping which may be an issue due to VMA merging being unreliable Fairly infeasible to land but could reduce overhead and extend coverage of security features to other code directly using mmap: