[Qemu-devel] [Bug 1808565] [NEW] Reading /proc/self/task//maps is not remapped to the target

2018-12-14 Thread Alan Jones
Public bug reported: Seeing this in qemu-user 3.1.0 The code in is_proc_myself which supports remapping of /proc/self/maps and /proc//maps does not support remapping of /proc/self/task//maps or /proc//task//maps. Extending is_proc_myself to cover these cases causes the maps to be rewritten correc

[Qemu-devel] [Bug 1808563] [NEW] Listing the contents of / lists QEMU_LD_PREFIX instead

2018-12-14 Thread Alan Jones
Public bug reported: Seeing this in qemu-user version 3.1.0 Demo: $ QEMU_LD_PREFIX=$(pwd)/usr/armv7a-cros-linux-gnueabi ../run/qemu-arm /tmp/coreutils --coreutils-prog=ls / etc lib usr $ ls / boot etc lib lib64 lost+found mntroot sbin sys usr bin dev export homelib32