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

2019-08-23 Thread Laurent Vivier
Le 14/07/2019 à 15:40, 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: d088d664f20

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

2019-07-14 Thread Philippe Mathieu-Daudé
On 7/14/19 3:40 PM, 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. > > Fixes: d088d664f201 ("li

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

2019-07-14 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")