These three patches were posted independently back in July. The second patch has been modified for feedback from Laurent.
C.f. http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg01999.html http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg02180.html http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg02652.html r~ Richard Henderson (3): tests/tcg/multiarch/linux-test: Fix error check for shmat linux-user: Fix shmat emulation by honoring host SHMLBA linux-user: Align mmap_find_vma to host page size linux-user/qemu.h | 2 +- linux-user/elfload.c | 17 ++++--- linux-user/mmap.c | 76 +++++++++++++++++--------------- linux-user/syscall.c | 3 +- tests/tcg/multiarch/linux-test.c | 3 +- 5 files changed, 56 insertions(+), 45 deletions(-) -- 2.17.2