Add support for MAP_NORESERVE mmap flag.
PATCH 1/1 Add support for MAP_NORESERVE mmap flag.
From: Christophe Lyon <[email protected]>
mmap_flags_tbl contains a list of mmap flags, and how to map them to the target. This patch adds MAP_NORESERVE, which was missing to the list.
--- linux-user/syscall.c | 2 ++ 1 file changed, 2 insertions(+)
linux-user/syscall.c +2 -0
@@ -4029,6 +4029,8 @@ static bitmask_transtbl mmap_flags_tbl[] = { { TARGET_MAP_DENYWRITE, TARGET_MAP_DENYWRITE, MAP_DENYWRITE, MAP_DENYWRITE }, { TARGET_MAP_EXECUTABLE, TARGET_MAP_EXECUTABLE, MAP_EXECUTABLE, MAP_EXECUTABLE }, { TARGET_MAP_LOCKED, TARGET_MAP_LOCKED, MAP_LOCKED, MAP_LOCKED }, + { TARGET_MAP_NORESERVE, TARGET_MAP_NORESERVE, MAP_NORESERVE, + MAP_NORESERVE }, { 0, 0, 0, 0 } };
Signature · 1 line
1.8.4.1
Quoted 7 lines · Christophe Lyon
From: Christophe Lyon <[email protected]>
mmap_flags_tblcontains a list of mmap flags, and how to map them to the target. This patch addsMAP_NORESERVE, which was missing to the list.Signed-off-by Christophe Lyon <[email protected]>
thanks
-- PMM
Quoted 7 lines · Peter Maydell
Quoted 6 lines · Christophe Lyon
From: Christophe Lyon <[email protected]>
mmap_flags_tblcontains a list of mmap flags, and how to map them to the target. This patch addsMAP_NORESERVE, which was missing to the list.
Quoted 5 lines
Quoted 1 line
Signed-off-by Christophe Lyon <[email protected]>Reviewed-by Peter Maydell <[email protected]>thanks
-- PMM
Hi,
It seems this patch has no been committed to mainline yet. Is there anything blocking it?
Thanks
Christophe.
Quoted 10 lines · Christophe Lyon
Quoted 9 lines · Peter Maydell
Quoted 7 lines · Christophe Lyon
From: Christophe Lyon <[email protected]>
mmap_flags_tblcontains a list of mmap flags, and how to map them to the target. This patch addsMAP_NORESERVE, which was missing to the list.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Christophe Lyon <[email protected]>Reviewed-by Peter Maydell <[email protected]>It seems this patch has no been committed to mainline yet. Is there anything blocking it?
You didn't cc the linux-user maintainer so it probably got lost. Riku: ping?
(patchwork url: http://patchwork.ozlabs.org/patch/316224/)
thanks
-- PMM