Set FD_CLOEXEC flag on all sockets.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 17 Feb 2012 15:13:38 +0000 (16:13 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 17 Feb 2012 15:13:38 +0000 (16:13 +0100)
Scripts called by tinc would inherit its open filedescriptors. This could
be a problem if other long-running daemons are started from those scripts,
if those daemons would not close all filedescriptors before going into the
background.

Problem found and solution suggested by Nick Hibma.


No differences found