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

2023-08-03 Thread Akihiko Odaki
On 2023/08/04 10:45, Richard Henderson wrote: From: Helge Deller 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

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

2023-08-03 Thread Richard Henderson
From: Helge Deller 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 [rth: