commit | 53d09b761f032f50c4424e8649396a9041070bae | [log] [tgz] |
---|---|---|
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | Mon Sep 23 14:11:53 2013 +0200 |
committer | Riku Voipio <riku.voipio@linaro.org> | Tue Sep 24 10:47:07 2013 +0300 |
tree | e670304a2aabd0a3217b674b7f33142f8647ccf2 | |
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>