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

2023-09-04 Thread Alex Bennée
Richard Henderson writes: > 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. > > Reviewed-by: Philippe Mathieu-Daudé > Signed-off-by: Richard Henderson R

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

2023-08-29 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. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- linux-user/elfload.c | 25