[PATCH] ctdb-common: Set close-on-exec when creating PID file (bug 12898)

Martin Schwenke martin at meltin.net
Thu Jul 13 06:21:19 UTC 2017


Otherwise, for example, the file descriptor for the main PID file will
leak all the way down to event scripts.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12898

Please review and maybe push...

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-common-Set-close-on-exec-when-creating-PID-file.patch
Type: text/x-patch
Size: 1043 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170713/8de61518/0001-ctdb-common-Set-close-on-exec-when-creating-PID-file.bin>


More information about the samba-technical mailing list