Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-40> Revision: syslog-ng--mainline--2.0--patch-40 Archive: devel@balabit.hu--other-1 Creator: Balazs Scheidler <bazsi@balabit.hu> Date: Thu Apr 20 13:57:20 CEST 2006 Standard-date: 2006-04-20 11:57:20 GMT Modified-files: ChangeLog src/affile.c src/afprog.c src/afsocket.c src/afstreams.c src/misc.c src/misc.h New-patches: devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-40 Summary: added close-on-exec flag to all opened fds to avoid their inheritance to child processes Keywords: * src/af*.c: call g_fd_set_cloexec for all new fds * src/misc.c (g_fd_set_cloexec): new function, sets FD_CLOEXEC flag for an fd Diff stats: ChangeLog | 17 +++++++++++++++++ src/affile.c | 1 + src/afprog.c | 2 ++ src/afsocket.c | 2 ++ src/afstreams.c | 2 ++ src/misc.c | 19 +++++++++++++++++++ src/misc.h | 1 + 7 files changed, 44 insertions(+)