From: Guus Sliepen Date: Fri, 17 Feb 2012 15:13:38 +0000 (+0100) Subject: Set FD_CLOEXEC flag on all sockets. X-Git-Tag: release-1.0.17~24 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=708314df2f61675d0f54e541c9fff62ac1f433b5;hp=708314df2f61675d0f54e541c9fff62ac1f433b5 Set FD_CLOEXEC flag on all sockets. 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. ---