Re: [Qemu-devel] [PATCH v2 1/2] linux-user: remove useless variable

2019-09-10 Thread Laurent Vivier
Le 08/09/2019 à 12:48, Laurent Vivier a écrit : > filename is only used to open the file if AT_EXECFD is not provided. > But exec_path already contains the path of the file to open. > Remove filename as it is only used in main.c whereas exec_path is > also used in syscall.c. > > Fixes:

Re: [Qemu-devel] [PATCH v2 1/2] linux-user: remove useless variable

2019-09-09 Thread Stefano Garzarella
On Sun, Sep 08, 2019 at 12:48:15PM +0200, Laurent Vivier wrote: > filename is only used to open the file if AT_EXECFD is not provided. > But exec_path already contains the path of the file to open. > Remove filename as it is only used in main.c whereas exec_path is > also used in syscall.c. > >

[Qemu-devel] [PATCH v2 1/2] linux-user: remove useless variable

2019-09-08 Thread Laurent Vivier
filename is only used to open the file if AT_EXECFD is not provided. But exec_path already contains the path of the file to open. Remove filename as it is only used in main.c whereas exec_path is also used in syscall.c. Fixes: d088d664f201 ("linux-user: identify running binary in /proc/self/exe")