Marc-André Lureau 7f5140929b slirp: move socket pair creation in helper function
Originally, the patch was fixing a bunch of issues, but Peter beat me
to it with earlier commit "slirp: fork_exec(): create and connect
child socket before fork()".

Factor out socket pair creation, to simplify the fork_exec() code.
Use the name socketpair_with_oob() since the code is actually similar
to what socketpair() would do, except that it uses TCP sockets, for
SLIRP to be able to call send with MSG_OOB (since SO_OOBINLINE is set,
this could probably be faked instead on regular unix sockets though).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2019-01-14 00:40:54 +01:00
..
2018-01-14 18:16:13 +01:00
2016-06-07 18:19:25 +03:00
2017-07-15 14:28:25 +02:00
2019-01-11 15:46:55 +01:00
2018-01-14 18:16:13 +01:00
2019-01-14 00:40:54 +01:00
2017-04-25 19:17:25 +08:00
2018-10-07 19:40:30 +02:00
2018-10-07 19:40:30 +02:00
2019-01-14 00:40:54 +01:00
2017-04-25 19:17:25 +08:00
2017-04-29 18:44:16 +02:00
2019-01-14 00:40:54 +01:00
2019-01-14 00:40:54 +01:00
2019-01-14 00:40:54 +01:00
2019-01-11 15:46:55 +01:00
2019-01-11 15:46:55 +01:00
2019-01-14 00:40:54 +01:00
2019-01-11 15:46:55 +01:00
2017-04-29 18:44:16 +02:00
2019-01-14 00:40:54 +01:00
2019-01-14 00:40:54 +01:00
2019-01-11 15:46:55 +01:00