[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 04/36] linux-user: Tidy loader_exec
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 04/36] linux-user: Tidy loader_exec |
Date: |
Wed, 7 Jul 2021 10:21:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/7/21 1:49 AM, Richard Henderson wrote:
> Reorg the if cases to reduce indentation.
> Test for 4 bytes in the file before checking the signatures.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> linux-user/linuxload.c | 42 +++++++++++++++++++++---------------------
> 1 file changed, 21 insertions(+), 21 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH v2 00/36] linux-user: Signal trampolines and vdsos, Richard Henderson, 2021/07/06
- [PATCH v2 01/36] linux-user: Add infrastructure for a signal trampoline page, Richard Henderson, 2021/07/06
- [PATCH v2 04/36] linux-user: Tidy loader_exec, Richard Henderson, 2021/07/06
- Re: [PATCH v2 04/36] linux-user: Tidy loader_exec,
Philippe Mathieu-Daudé <=
- [PATCH v2 02/36] linux-user: Fix style problems in linuxload.c, Richard Henderson, 2021/07/06
- [PATCH v2 07/36] linux-user: Use ImageSource in load_symbols, Richard Henderson, 2021/07/06
- [PATCH v2 06/36] linux-user: Use ImageSource in load_elf_image, Richard Henderson, 2021/07/06
- [PATCH v2 05/36] linux-user: Do not clobber bprm_buf swapping ehdr, Richard Henderson, 2021/07/06
- [PATCH v2 03/36] linux-user: Introduce imgsrc_read, imgsrc_read_alloc, Richard Henderson, 2021/07/06
- [PATCH v2 08/36] linux-user: Replace bprm->fd with bprm->src.fd, Richard Henderson, 2021/07/06
- [PATCH v2 09/36] linux-user: Introduce imgsrc_mmap, Richard Henderson, 2021/07/06
- [PATCH v2 10/36] linux-user: Load vdso image if available, Richard Henderson, 2021/07/06
- [PATCH v2 11/36] linux-user: Add gen-vdso tool, Richard Henderson, 2021/07/06