diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2014-03-31 17:41:23 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-04-01 09:17:19 +0300 |
commit | d25295d4efc53bf8521adf967445b8d087fe8d39 (patch) | |
tree | bcf27aa257988fd4d70280f989b8e9028796b8e8 /block-migration.c | |
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>
Diffstat (limited to 'block-migration.c')
0 files changed, 0 insertions, 0 deletions