[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 04/12] linux-user: Do not clobber bprm_buf swapping ehdr
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 04/12] linux-user: Do not clobber bprm_buf swapping ehdr |
Date: |
Sat, 19 Jun 2021 11:50:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
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 <richard.henderson@linaro.org>
> ---
> linux-user/elfload.c | 25 ++++++++++++++-----------
> 1 file changed, 14 insertions(+), 11 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH 00/12] linux-user: Load a vdso for x86_64 and hppa, Richard Henderson, 2021/06/18
- [PATCH 01/12] linux-user: Fix style problems in linuxload.c, Richard Henderson, 2021/06/18
- [PATCH 02/12] linux-user: Introduce imgsrc_read, imgsrc_read_alloc, Richard Henderson, 2021/06/18
- [PATCH 03/12] linux-user: Tidy loader_exec, Richard Henderson, 2021/06/18
- [PATCH 04/12] linux-user: Do not clobber bprm_buf swapping ehdr, Richard Henderson, 2021/06/18
- Re: [PATCH 04/12] linux-user: Do not clobber bprm_buf swapping ehdr,
Philippe Mathieu-Daudé <=
- [PATCH 06/12] linux-user: Use ImageSource in load_symbols, Richard Henderson, 2021/06/18
- [PATCH 05/12] linux-user: Use ImageSource in load_elf_image, Richard Henderson, 2021/06/18
- [PATCH 12/12] linux-user/hppa: Add vdso and use it for rt_sigreturn, Richard Henderson, 2021/06/18
- [PATCH 07/12] linux-user: Replace bprm->fd with bprm->src.fd, Richard Henderson, 2021/06/18
- [PATCH 09/12] linux-user: Load vdso image if available, Richard Henderson, 2021/06/18
- [PATCH 11/12] linux-user/x86_64: Add vdso, Richard Henderson, 2021/06/18
- [PATCH 08/12] linux-user: Introduce imgsrc_mmap, Richard Henderson, 2021/06/18
- [PATCH 10/12] linux-user: Add gen-vdso tool, Richard Henderson, 2021/06/18
- Re: [PATCH 00/12] linux-user: Load a vdso for x86_64 and hppa, no-reply, 2021/06/19