]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Fix executable page of /proc/self/maps
authorNicolas Surbayrole <nsurbayrole@quarkslab.com>
Mon, 8 Mar 2021 09:19:59 +0000 (10:19 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Sat, 13 Mar 2021 09:45:11 +0000 (10:45 +0100)
commit08f3a96b33e7eef39b651af9edb5e6de8ff13371
tree3741935752a9da2acd90a5d0a85af8e54f8a930c
parent3f8d1885e48e4d72eab0688f604de62e0aea7a38
linux-user: Fix executable page of /proc/self/maps

The guest binary and libraries are not always map with the
executable bit in the host process. The guest may read a
/proc/self/maps with no executable address range. The
perm fields should be based on the guest permission inside
Qemu.

Signed-off-by: Nicolas Surbayrole <nsurbayrole@quarkslab.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210308091959.986540-1-nsurbayrole@quarkslab.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c