mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
linux-user: Add support for SO_REUSEPORT
Add support for SO_REUSEPORT, including strace support. SO_REUSEPORT was introduced relatively recently, since Linux 3.9, so use '#if defined SO_REUSEPORT'. Signed-off-by: Yunqiang Su <ysu@wavecomp.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <1540904108-30873-4-git-send-email-aleksandar.markovic@rt-rk.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
9f214bd390
commit
113a9dd73f
2 changed files with 13 additions and 0 deletions
|
@ -1742,6 +1742,9 @@ print_optint:
|
|||
case TARGET_SO_REUSEADDR:
|
||||
gemu_log("SO_REUSEADDR,");
|
||||
goto print_optint;
|
||||
case TARGET_SO_REUSEPORT:
|
||||
gemu_log("SO_REUSEPORT,");
|
||||
goto print_optint;
|
||||
case TARGET_SO_TYPE:
|
||||
gemu_log("SO_TYPE,");
|
||||
goto print_optint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue