summaryrefslogtreecommitdiff
path: root/source4/smbd/pidfile.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28source4/smbd/pidfile: don't panic if pid file is corrupt.Rusty Russell1-0/+3
In particular, on a virtual machine after a forced reboot, it contained "Ille" instead of a valid PID. Given it was the right length, I'm assuming it was filesystem corruption. process_exists_by_pid() then panics, when given a pid < 1. Reported-by: lostogre on #samba-technical Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Thu Jun 28 05:19:24 CEST 2012 on sn-devel-104
2011-12-17s3: Fix the clustering buildVolker Lendecke1-1/+1
ctdb_private.h already defines set_close_on_exec. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Dec 17 18:41:39 CET 2011 on sn-devel-104
2011-12-15pidfile: use set_close_on_exec()Andrew Tridgell1-0/+2
this prevents a fd leak to child processes
2011-03-19source4/smbd: Fix prototypes for all functions.Jelmer Vernooij1-0/+1
2010-05-28s4:smbd/pidfile.c - fix "asprintf" callsMatthias Dieter Wallnöfer1-2/+7
2009-09-19s4-smbd: minimise includes in smbd/ and smb_serverAndrew Tridgell1-1/+0
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-1/+1
2007-12-21r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij1-5/+5
explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
2007-10-10r25454: Use standard bool types in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit 9243b551f30c7aa2763115516a6adcfe5bbddc58)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-2/+2
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25028: Fix more warnings.Jelmer Vernooij1-0/+1
(This used to be commit 3aa7ee4a0d8837471deeaa1c5a1f4a0d2a14aa6e)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r19539: Move pidfile to smbd/Jelmer Vernooij1-0/+121
(This used to be commit eefa64cbe392c4c4dcbf71b8bcf5128cce0339ba)