[PATCH v2] linux-user: Fix executable page of /proc/self/maps

2021-03-08 Thread Nicolas Surbayrole
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 --- linux-user/syscall.c

[PATCH] linux-user: Fix executable page of /proc/self/maps

2021-03-05 Thread Nicolas Surbayrole
The guest binary and libraries are not always mapped with the executable bit in the host process. The guest may read a /proc/self/maps with no executable address range. The patch bases the perm fields against the guest permission inside Qemu. Signed-off-by: Nicolas Surbayrole --- linux-user