Re: [PATCH 1/2] linux-user: Split out do_mmap

2023-08-09 Thread Alex Bennée
Richard Henderson writes: > New function that rejects unsupported map types and flags. > In 4b840f96 we should not have accepted MAP_SHARED_VALIDATE > without actually validating the rest of the flags. > > Fixes: 4b840f96 ("linux-user: Populate more bits in mmap_flags_tbl") > Signed-off-by: Ric

[PATCH 1/2] linux-user: Split out do_mmap

2023-08-07 Thread Richard Henderson
New function that rejects unsupported map types and flags. In 4b840f96 we should not have accepted MAP_SHARED_VALIDATE without actually validating the rest of the flags. Fixes: 4b840f96 ("linux-user: Populate more bits in mmap_flags_tbl") Signed-off-by: Richard Henderson --- linux-user/syscall.c