xemu/io
Dr. David Alan Gilbert d80f54ce53 channel-socket: Only set CLOEXEC if we have space for fds
MSG_CMSG_CLOEXEC cleans up received fd's; it's really only for Unix
sockets, but currently we enable it for everything; some socket types
(IP_MPTCP) don't like this.

Only enable it when we're giving the recvmsg room to receive fd's
anyway.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210421112834.107651-2-dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2021-06-08 19:36:16 +01:00
..
channel-buffer.c io: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
channel-command.c io: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
channel-file.c io: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
channel-socket.c channel-socket: Only set CLOEXEC if we have space for fds 2021-06-08 19:36:16 +01:00
channel-tls.c io/channel-tls.c: make qio_channel_tls_shutdown thread-safe 2021-01-13 10:21:17 +01:00
channel-util.c io: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
channel-watch.c io: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
channel-websock.c io: Don't use '#' flag of printf format 2020-10-29 09:57:37 +00:00
channel.c io: error_prepend() in qio_channel_readv_full_all() causes segfault 2021-02-12 07:50:59 -06:00
dns-resolver.c io: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
meson.build meson: Propagate gnutls dependency 2021-01-12 12:38:03 +01:00
net-listener.c qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE 2020-09-18 14:12:32 -04:00
task.c io: Fix Lesser GPL version number 2020-10-29 09:57:37 +00:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00