Re: [PATCH v11 09/12] linux-user/elfload: Use Error for load_elf_interp

2020-10-17 Thread Philippe Mathieu-Daudé
On 10/16/20 8:42 PM, Richard Henderson wrote: This is slightly clearer than just using strerror, though the different forms produced by error_setg_file_open and error_setg_errno isn't entirely convenient. Signed-off-by: Richard Henderson --- linux-user/elfload.c | 15 --- 1 file

[PATCH v11 09/12] linux-user/elfload: Use Error for load_elf_interp

2020-10-16 Thread Richard Henderson
This is slightly clearer than just using strerror, though the different forms produced by error_setg_file_open and error_setg_errno isn't entirely convenient. Signed-off-by: Richard Henderson --- linux-user/elfload.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --g