Re: [PATCH v2 02/11] linux-user: Fix the execfd case of /proc/self/exe open

2021-06-20 Thread Takashi Yamamoto
On Sun, Jun 20, 2021 at 11:16 PM Laurent Vivier wrote: > > Le 31/05/2021 à 07:50, YAMAMOTO Takashi a écrit : > > It's problematic to return AT_EXECFD as it is because the user app > > would close it. > > This patch opens it via /proc/self/fd instead. > > > > Signed-off-by: YAMAMOTO Takashi > > --

Re: [PATCH v2 02/11] linux-user: Fix the execfd case of /proc/self/exe open

2021-06-20 Thread Laurent Vivier
Le 31/05/2021 à 07:50, YAMAMOTO Takashi a écrit : > It's problematic to return AT_EXECFD as it is because the user app > would close it. > This patch opens it via /proc/self/fd instead. > > Signed-off-by: YAMAMOTO Takashi > --- > linux-user/syscall.c | 12 +++- > 1 file changed, 11 inser

[PATCH v2 02/11] linux-user: Fix the execfd case of /proc/self/exe open

2021-05-30 Thread YAMAMOTO Takashi
It's problematic to return AT_EXECFD as it is because the user app would close it. This patch opens it via /proc/self/fd instead. Signed-off-by: YAMAMOTO Takashi --- linux-user/syscall.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux