mirror of
https://github.com/troglobit/finit.git
synced 2026-10-18 10:59:34 +00:00
Set CLOEXEC flag to prevent leaking descriptors
Both the new initctl API and the new pidfile watcher plugin failed to set CLOEXEC on their sockets. This caused forked-off and exec()'d children to inherit all these descriptors. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
da76cf4f75
commit
439d9df122
2 files changed
+2
-2
Reference in new issue
Block a user