projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8289d11
)
linux-user: support SO_ACCEPTCONN getsockopt option
author
Paul Burton
<paul@archlinuxmips.org>
Sun, 22 Jun 2014 10:25:34 +0000
(11:25 +0100)
committer
Riku Voipio
<riku.voipio@linaro.org>
Sun, 29 Jun 2014 11:19:58 +0000
(14:19 +0300)
Translate the SO_ACCEPTCONN option to the host value & execute the
syscall as expected.
Signed-off-by: Paul Burton <paul@archlinuxmips.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index 8d13781bf81cd2ea08db40de5228451a6ee5b96b..b1e57df4a3b6d13c6539dd0d6e30e51fed8e5b71 100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-1652,6
+1652,9
@@
static abi_long do_getsockopt(int sockfd, int level, int optname,
case TARGET_SO_RCVLOWAT:
optname = SO_RCVLOWAT;
goto int_case;
+ case TARGET_SO_ACCEPTCONN:
+ optname = SO_ACCEPTCONN;
+ goto int_case;
default:
goto int_case;
}