fd_device: allow fd to be passed through a unix socket
authorpacien <pacien.trangirard@pacien.net>
Mon, 20 Jan 2020 12:58:13 +0000 (13:58 +0100)
committerpacien <pacien.trangirard@pacien.net>
Mon, 20 Jan 2020 18:28:33 +0000 (19:28 +0100)
commitf5223937e62e1cc5e9b3d322490dd3af8d666750
treedb386b124c0b8ddf1f0ddfc1598d1cf7c55cf47d
parentde7d5a03c2b956ab5753faf63b8148a279a71f29
fd_device: allow fd to be passed through a unix socket

New restrictions on the Android OS forbid direct leaking of file descriptors.
This patch allows the tinc daemon to have an fd and the associated
permissions transferred to it through a Unix domain socket.
doc/tinc.conf.5.in
doc/tinc.texi
src/fd_device.c