summaryrefslogtreecommitdiffstats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorPeter Maydell2016-07-12 14:02:12 +0200
committerRiku Voipio2016-09-21 13:26:23 +0200
commit68754b442b756e8cb5f143b00937fb7330a51a81 (patch)
treeb654f601e7e8b80e17bd49181a8c236a709f25a3 /linux-user/syscall.c
parentlinux-user: report signals being taken in strace output (diff)
downloadqemu-68754b442b756e8cb5f143b00937fb7330a51a81.tar.gz
qemu-68754b442b756e8cb5f143b00937fb7330a51a81.tar.xz
qemu-68754b442b756e8cb5f143b00937fb7330a51a81.zip
linux-user: Pass missing MAP_ANONYMOUS to target_mmap() call
A target_mmap() call in load_elf_binary() was missing the MAP_ANONYMOUS flag. (Spotted by Coverity, because target_mmap() will try to use -1 as the filedescriptor in this case.) This has never been noticed because the code in question is for handling ancient SVr4 iBCS2 binaries. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions