swrap: let swrap_sendmsg_before_unix() create a copy of msg_tmp.msg_control
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Jun 2020 07:39:22 +0000 (09:39 +0200)
committerAndreas Schneider <asn@samba.org>
Tue, 2 Feb 2021 09:23:33 +0000 (10:23 +0100)
commitc740bbe30affb7b94c6cca5f65a4e9047a1119ec
treea842d85f45ab3fdcf3006ebb0b08b94986bb897b
parentde819958b00b48f285a1f31bfee1f8bee8e16827
swrap: let swrap_sendmsg_before_unix() create a copy of msg_tmp.msg_control

With fd-passing we'll have to modify the content of it.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/socket_wrapper.c