swrap: filter out SCM_{RIGHTS,CREDENTIALS} on inet socket
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Jun 2020 11:07:26 +0000 (13:07 +0200)
committerAndreas Schneider <asn@samba.org>
Tue, 2 Feb 2021 09:23:33 +0000 (10:23 +0100)
commite030a1897873f3cb24e7d5a35adab421a9d11b9f
tree89c9df91d4b551128ea4f720c7916eb84238370d
parent00f61edc7363cd17435b559beb04b567200fb38f
swrap: filter out SCM_{RIGHTS,CREDENTIALS} on inet socket

These are only valid on unix domain sockets and ignored otherwise (at
least on Linux).

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