Re: [Qemu-devel] [PATCH 1/1] linux-user: Handle /proc/self/exe in syscall execve

2019-09-02 Thread Laurent Vivier
Le 02/09/2019 à 19:36, Olivier Dion a écrit : > > On 2019-08-23T12:58:43-0400, Laurent Vivier wrote: > >> Le 07/08/2019 à 15:54, d...@linutronix.de a écrit : >>> From: Olivier Dion >>> >>> If not handled, QEMU will execve itself instead of the emulated >>> process. This could result in potenti

Re: [Qemu-devel] [PATCH 1/1] linux-user: Handle /proc/self/exe in syscall execve

2019-09-02 Thread Olivier Dion
On 2019-08-23T12:58:43-0400, Laurent Vivier wrote: > Le 07/08/2019 à 15:54, d...@linutronix.de a écrit : > > From: Olivier Dion > > > > If not handled, QEMU will execve itself instead of the emulated > > process. This could result in potential security risk. > > > Could you explain what you

Re: [Qemu-devel] [PATCH 1/1] linux-user: Handle /proc/self/exe in syscall execve

2019-08-23 Thread Laurent Vivier
Le 07/08/2019 à 15:54, d...@linutronix.de a écrit : > From: Olivier Dion > > If not handled, QEMU will execve itself instead of the emulated > process. This could result in potential security risk. > Could you explain what you mean by potential security risk? Thanks, Laurent

[Qemu-devel] [PATCH 1/1] linux-user: Handle /proc/self/exe in syscall execve

2019-08-07 Thread dion
From: Olivier Dion If not handled, QEMU will execve itself instead of the emulated process. This could result in potential security risk. Signed-off-by: Olivier Dion --- linux-user/syscall.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c