[PATCH] ctdb-common: Set close-on-exec when creating PID file (bug 12898)
Volker.Lendecke at SerNet.DE
Mon Jul 31 09:37:55 UTC 2017
On Mon, Jul 31, 2017 at 03:44:46PM +1000, Martin Schwenke wrote:
> Patch attached.
> Obvious extensions to this include:
> * Move pidfile_context_create() to lib/util/pidfile.*
> This means that ctdb/common/pidfile.* would be
> completely removed. Also pidfile_path_create() and pidfile_close()
> would be static.
> * Add documentation to lib/util/pidfile.h
> I didn't want to do this until I knew whether pidfile_path_create()
> and pidfile_close() will disappear from there. ;-)
> Please review and maybe push...
Great, thanks! Pushed!
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical