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

2014-04-01 Thread Riku Voipio
Hi, Applied to my for-2.0 branch, Thanks On 31 March 2014 18:45, Peter Maydell wrote: > On 31 March 2014 16:41, 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 cal

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

2014-03-31 Thread Peter Maydell
On 31 March 2014 16:41, 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 v2] 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 --- v2: - use target_to_host_bi