[PATCH v2] linux-user: Adjust pgd_find_hole_fallback result with guest_loaddr

2021-03-06 Thread Ivan A. Melnikov
nough", but not bigger: in that case, important mappings (e.g. parts of qemu-user itself) may be replaced with the binary we are loading (e.g. guest elf interpreter). Downstream issue (in Russian): https://bugzilla.altlinux.org/39141 Signed-off-by: Ivan A. Melnikov --- linux-user/elfload.c | 3 +

Re: [PATCH] linux-user: Adjust pgd_find_hole_fallback result with guest_loaddr

2021-03-05 Thread Ivan A. Melnikov
Alex, thank you for the review. On Fri, Mar 05, 2021 at 02:03:43PM +, Alex Bennée wrote: > > Ivan A. Melnikov writes: > > > While pgd_find_hole_fallback returns the beginning of the > > hole found, pgb_find_hole returns guest_base, which > > is somewhat different

[PATCH] linux-user: Adjust pgd_find_hole_fallback result with guest_loaddr

2021-03-03 Thread Ivan A. Melnikov
ld be used. Downstream issue (in Russian): https://bugzilla.altlinux.org/39141 Signed-off-by: Ivan A. Melnikov --- linux-user/elfload.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/linux-user/elfload.c b/linux-user/elfload.c index bab4237e90..acd510532c 100644 -