linux-user: support SO_ACCEPTCONN getsockopt option
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>
This commit is contained in:
parent
8289d11281
commit
aec1ca411e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user