Re: [PATCH 04/12] linux-user: Do not clobber bprm_buf swapping ehdr

2021-06-19 Thread Philippe Mathieu-Daudé
On 6/19/21 5:43 AM, Richard Henderson wrote: > Rearrange the allocation of storage for ehdr between load_elf_image > and load_elf_binary. The same set of copies are done, but we don't > modify bprm_buf, which will be important later. > > Signed-off-by: Richard Henderson > --- > linux-user/elflo

[PATCH 04/12] linux-user: Do not clobber bprm_buf swapping ehdr

2021-06-18 Thread Richard Henderson
Rearrange the allocation of storage for ehdr between load_elf_image and load_elf_binary. The same set of copies are done, but we don't modify bprm_buf, which will be important later. Signed-off-by: Richard Henderson --- linux-user/elfload.c | 25 ++--- 1 file changed, 14 ins