Re: [Qemu-devel] [PATCH] linux-user: pass correct host flags to accept4()

2014-03-31 Thread Petar Jovanovic
From: Peter Maydell [peter.mayd...@linaro.org] Sent: Monday, March 31, 2014 5:19 PM To: Petar Jovanovic Cc: QEMU Developers; Riku Voipio; Petar Jovanovic Subject: Re: [Qemu-devel] [PATCH] linux-user: pass correct host flags to accept4() On 31 March 2014

Re: [Qemu-devel] [PATCH] linux-user: pass correct host flags to accept4()

2014-03-31 Thread Peter Maydell
On 31 March 2014 16:09, Petar Jovanovic wrote: > From: Petar Jovanovic > > Flags NONBLOCK and CLOEXEC can have different values on the host and the > guest, so set correct host values before calling accept4(). > > This fixes several issues with accept4 system call and user-mode of QEMU. > > Signe

[Qemu-devel] [PATCH] linux-user: pass correct host flags to accept4()

2014-03-31 Thread Petar Jovanovic
From: Petar Jovanovic Flags NONBLOCK and CLOEXEC can have different values on the host and the guest, so set correct host values before calling accept4(). This fixes several issues with accept4 system call and user-mode of QEMU. Signed-off-by: Petar Jovanovic --- linux-user/syscall.c | 13 +