mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-17 10:29:31 +00:00
Fix leaking descriptors, use CLOEXEC
The signal and timer fd's used in libuEv were not created properly with the CLOEXEC flag. Hence, all forked off children calling exec*() could access all file descriptor, sockets, etc., used by the parent process. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
9fc5227343
commit
98c8e9f8b1
2 files changed
+2
-2
No files matched your search
Reference in new issue
Block a user