Control: fixed -1 1:8.1.0+ds-1

On Thu, 14 Aug 2025 12:01:59 +0300 Michael Tokarev <[email protected]> wrote:
Version: 1:10.0.0+ds-1

This issue seems to be fixed for good by 10.0 (trixie)
version.  I might try to bisect, to find out which commit
fixed it, if bored enough :)

It is fixed by this commit set in 8.1:

commit 1ea06ded0de5adcd40a0122ea73c9761f488bfba
Author: Richard Henderson <[email protected]>
Date:   Wed Aug 2 15:58:07 2023 -0700

    linux-user: Use elf_et_dyn_base for ET_DYN with interpreter

    Follow the lead of the linux kernel in fs/binfmt_elf.c,
    in which an ET_DYN executable which uses an interpreter
    (usually a PIE executable) is loaded away from where the
    interpreter itself will be loaded.

    Tested-by: Helge Deller <[email protected]>
    Reviewed-by: Helge Deller <[email protected]>
    Reviewed-by: Akihiko Odaki <[email protected]>
    Signed-off-by: Richard Henderson <[email protected]>

commit ad25051bae392ce35437cdf996aedecc0772af2f
Author: Richard Henderson <[email protected]>
Date:   Thu Aug 3 17:55:28 2023 +0000

    linux-user: Use MAP_FIXED_NOREPLACE for initial image mmap

    Use this as extra protection for the guest mapping over
    any qemu host mappings.

    Tested-by: Helge Deller <[email protected]>
    Reviewed-by: Helge Deller <[email protected]>
    Reviewed-by: Akihiko Odaki <[email protected]>
    Signed-off-by: Richard Henderson <[email protected]>

commit da2b71fab63f2396396021917eed9d52f33a45c0
Author: Richard Henderson <[email protected]>
Date:   Wed Aug 2 15:17:33 2023 -0700

    linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h

    Copy each guest kernel's default value, then bound it
    against reserved_va or the host address space.

    Tested-by: Helge Deller <[email protected]>
    Reviewed-by: Helge Deller <[email protected]>
    Signed-off-by: Richard Henderson <[email protected]>

Thanks,

/mjt

Reply via email to