diff options
author | Helge Deller <deller@gmx.de> | 2023-08-02 16:14:01 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-08-08 13:27:17 -0700 |
commit | 1f356e8c013f254b6471985bc929c8db1d08c44c (patch) | |
tree | 8e7242c7963ba432bffb328d91979489290a0b74 /audio/dsound_template.h | |
parent | 1ea06ded0de5adcd40a0122ea73c9761f488bfba (diff) |
linux-user: Adjust initial brk when interpreter is close to executable
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.
Tested-by: Helge Deller <deller@gmx.de>
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.]
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'audio/dsound_template.h')
0 files changed, 0 insertions, 0 deletions