Re: [PATCH 1/5] linux-user: Unset MAP_FIXED_NOREPLACE for host

2023-07-31 Thread Richard Henderson
On 7/31/23 01:03, Akihiko Odaki wrote: Passing MAP_FIXED_NOREPLACE to host will fail if the virtual address space is reserved with mmap. Replace it with MAP_FIXED. Signed-off-by: Akihiko Odaki --- linux-user/mmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/mmap.c b/lin

[PATCH 1/5] linux-user: Unset MAP_FIXED_NOREPLACE for host

2023-07-31 Thread Akihiko Odaki
Passing MAP_FIXED_NOREPLACE to host will fail if the virtual address space is reserved with mmap. Replace it with MAP_FIXED. Signed-off-by: Akihiko Odaki --- linux-user/mmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/mmap.c b/linux-user/mmap.c index a5dfb56545..2f26cbaf5d