diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2021-04-21 12:28:30 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2021-06-08 19:36:16 +0100 |
commit | d80f54ce53167e38623b8aafe8317458a6d7a6cd (patch) | |
tree | b3471e71991723958a1c84db304c5aba18628a24 /chardev/trace-events | |
parent | 6b8c2eb5c63db2b6b418256bcfecb51e17d72b0f (diff) |
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>
Diffstat (limited to 'chardev/trace-events')
0 files changed, 0 insertions, 0 deletions