Re: [PATCH] linux-user: Unconditionally use pipe2() syscall

2022-07-18 Thread Laurent Vivier
Le 18/07/2022 à 18:34, Helge Deller a écrit : The pipe2() syscall is available on all Linux platforms since kernel 2.6.27, so use it unconditionally to emulate pipe() and pipe2(). Signed-off-by: Helge Deller diff --git a/linux-user/syscall.c b/linux-user/syscall.c index dbebfa4a8b..b27a6552aa

Re: [PATCH] linux-user: Unconditionally use pipe2() syscall

2022-07-18 Thread Peter Maydell
On Mon, 18 Jul 2022 at 17:34, Helge Deller wrote: > > The pipe2() syscall is available on all Linux platforms since kernel > 2.6.27, so use it unconditionally to emulate pipe() and pipe2(). > > Signed-off-by: Helge Deller > Reviewed-by: Peter Maydell thanks -- PMM

[PATCH] linux-user: Unconditionally use pipe2() syscall

2022-07-18 Thread Helge Deller
The pipe2() syscall is available on all Linux platforms since kernel 2.6.27, so use it unconditionally to emulate pipe() and pipe2(). Signed-off-by: Helge Deller diff --git a/linux-user/syscall.c b/linux-user/syscall.c index dbebfa4a8b..b27a6552aa 100644 --- a/linux-user/syscall.c +++ b/linux-us