commit | d25295d4efc53bf8521adf967445b8d087fe8d39 | [log] [tgz] |
---|---|---|
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | Mon Mar 31 17:41:23 2014 +0200 |
committer | Riku Voipio <riku.voipio@linaro.org> | Tue Apr 01 09:17:19 2014 +0300 |
tree | bcf27aa257988fd4d70280f989b8e9028796b8e8 | |
parent | 63678e17cf399ff81b93417fe7bee8d6ef6b6b1b [diff] |
linux-user: pass correct host flags to accept4() 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 <petar.jovanovic@imgtec.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>