diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-08-07 18:22:35 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-08-09 07:17:04 -0700 |
| commit | 9ab8d0714964abce6f5b8bcac49d6239c548ed12 (patch) | |
| tree | d94c0b7794259f759b5a1302e79a79b4d8bd5178 /linux-user/thunk.c | |
| parent | c42e77a90d9244c8caf76fe0e54f84200430a4e1 (diff) | |
| download | focaccia-qemu-9ab8d0714964abce6f5b8bcac49d6239c548ed12.tar.gz focaccia-qemu-9ab8d0714964abce6f5b8bcac49d6239c548ed12.zip | |
linux-user: Split out do_mmap
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")
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/thunk.c')
0 files changed, 0 insertions, 0 deletions