source4 messaging: clean up terminated processes
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 13 Sep 2018 21:43:59 +0000 (09:43 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 23 Nov 2018 07:25:20 +0000 (08:25 +0100)
commit11d424e1999e50f036ce2b33411f6f607c60a487
tree93eaad493270e961e741a975f280b421e9c27abf
parent40941e98f8508daf59b83e05461ebeab4bebaacd
source4 messaging: clean up terminated processes

Now that the smbd pre-fork process model restarts failed processes rather than
terminating, we end up with names registered to defunct processes.
This patch adds a function to clean up all the names registered to a process.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/messaging/messaging.c
source4/lib/messaging/messaging.h