qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v8 13/17] linux-user: Adjust initial brk when interpreter is


From: Akihiko Odaki
Subject: Re: [PATCH v8 13/17] linux-user: Adjust initial brk when interpreter is close to executable
Date: Fri, 4 Aug 2023 14:26:01 +0900
User-agent: Mozilla Thunderbird

On 2023/08/04 10:45, Richard Henderson wrote:
From: Helge Deller <deller@gmx.de>

While we attempt to load a ET_DYN executable far away from
TASK_UNMAPPED_BASE, we are not completely in control of the
address space layout.  If the interpreter lands close to
the executable, leaving insufficient heap space, move brk.

Signed-off-by: Helge Deller <deller@gmx.de>
[rth: Re-order after ELF_ET_DYN_BASE patch so that we do not
  "temporarily break" tsan, and also to minimize the changes required.
  Remove image_info.reserve_brk as unused.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]