diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2013-09-23 14:11:53 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2013-09-24 10:47:07 +0300 |
commit | 53d09b761f032f50c4424e8649396a9041070bae (patch) | |
tree | e670304a2aabd0a3217b674b7f33142f8647ccf2 /trace/default.c | |
parent | 89aaf1a6ad91c4cb3224fcca461d71dac9fa3fa6 (diff) |
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 'trace/default.c')
0 files changed, 0 insertions, 0 deletions