Re: [PATCH] linux-user: fix O_NONBLOCK in signalfd4() and eventfd2() syscalls

2021-02-21 Thread Helge Deller
Dear qemu-stable, can you please consider adding this patch to the qemu-stable branch. Upstream commit 78721301138114cf37fb179a6cf73a27c1b3a927 Thanks, Helge On 2/13/21 8:16 PM, Laurent Vivier wrote: Le 10/02/2021 à 07:12, Helge Deller a écrit : On the hppa target userspace binaries may call

Re: [PATCH] linux-user: fix O_NONBLOCK in signalfd4() and eventfd2() syscalls

2021-02-13 Thread Laurent Vivier
Le 10/02/2021 à 07:12, Helge Deller a écrit : > On the hppa target userspace binaries may call signalfd4() and > eventfd2() with an old TARGET_O_NONBLOCK value of 00024 instead of > 00020 for the "mask" syscall parameter, in which case the current > emulation doesn't handle the translation

Re: [PATCH] linux-user: fix O_NONBLOCK in signalfd4() and eventfd2() syscalls

2021-02-13 Thread Laurent Vivier
Le 13/02/2021 à 20:05, Helge Deller a écrit : > On 2/13/21 5:38 PM, Laurent Vivier wrote: >> Le 10/02/2021 à 07:12, Helge Deller a écrit : >>> On the hppa target userspace binaries may call signalfd4() and >>> eventfd2() with an old TARGET_O_NONBLOCK value of 00024 instead of >>> 00020 for

Re: [PATCH] linux-user: fix O_NONBLOCK in signalfd4() and eventfd2() syscalls

2021-02-13 Thread Helge Deller
On 2/13/21 5:38 PM, Laurent Vivier wrote: Le 10/02/2021 à 07:12, Helge Deller a écrit : On the hppa target userspace binaries may call signalfd4() and eventfd2() with an old TARGET_O_NONBLOCK value of 00024 instead of 00020 for the "mask" syscall parameter, in which case the current emul

Re: [PATCH] linux-user: fix O_NONBLOCK in signalfd4() and eventfd2() syscalls

2021-02-13 Thread Laurent Vivier
Le 10/02/2021 à 07:12, Helge Deller a écrit : > On the hppa target userspace binaries may call signalfd4() and > eventfd2() with an old TARGET_O_NONBLOCK value of 00024 instead of > 00020 for the "mask" syscall parameter, in which case the current > emulation doesn't handle the translation

[PATCH] linux-user: fix O_NONBLOCK in signalfd4() and eventfd2() syscalls

2021-02-09 Thread Helge Deller
On the hppa target userspace binaries may call signalfd4() and eventfd2() with an old TARGET_O_NONBLOCK value of 00024 instead of 00020 for the "mask" syscall parameter, in which case the current emulation doesn't handle the translation to the native O_NONBLOCK value correctly. The 0x04 bi