Re: [PATCH] linux-user: Correctly start brk after executable

2020-09-05 Thread Laurent Vivier
Le 29/07/2020 à 00:46, Timothy E Baldwin a écrit : > info->brk was erroneously set to the end of highest addressed > writable segment which could result it in overlapping the executable. > > As per load_elf_binary in fs/binfmt_elf.c in Linux, it should be > set to end of highest addressed segment.

Re: [PATCH] linux-user: Correctly start brk after executable

2020-07-29 Thread Richard Henderson
On 7/28/20 3:46 PM, Timothy E Baldwin wrote: > info->brk was erroneously set to the end of highest addressed > writable segment which could result it in overlapping the executable. > > As per load_elf_binary in fs/binfmt_elf.c in Linux, it should be > set to end of highest addressed segment. > >

[PATCH] linux-user: Correctly start brk after executable

2020-07-28 Thread Timothy E Baldwin
info->brk was erroneously set to the end of highest addressed writable segment which could result it in overlapping the executable. As per load_elf_binary in fs/binfmt_elf.c in Linux, it should be set to end of highest addressed segment. Signed-off-by: Timothy E Baldwin --- linux-user/elfload.c