diff options
| author | Edgar E. Iglesias | 2013-09-23 14:11:53 +0200 |
|---|---|---|
| committer | Riku Voipio | 2013-09-24 09:47:07 +0200 |
| commit | 53d09b761f032f50c4424e8649396a9041070bae (patch) | |
| tree | e670304a2aabd0a3217b674b7f33142f8647ccf2 /include/exec | |
| parent | [v2] linux-user: implement m68k atomic syscalls (diff) | |
| download | qemu-53d09b761f032f50c4424e8649396a9041070bae.tar.gz qemu-53d09b761f032f50c4424e8649396a9041070bae.tar.xz qemu-53d09b761f032f50c4424e8649396a9041070bae.zip | |
linux-user: Handle SOCK_CLOEXEC/NONBLOCK if unavailable on host
If the host lacks SOCK_CLOEXEC, bail out with -EINVAL.
If the host lacks SOCK_ONONBLOCK, try to emulate it with fcntl()
and O_NONBLOCK.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
