openldap/servers/slapd/back-shell
Kurt Zeilenga 4e51bba217 Patch: Implement surrogate parent for back-shell (ITS#1815)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
			================

A surrogate parent is supposed to keep back-shell children from
deadlocking due to resources locked by a threading parent.

Implementation note: The surrogate parent closes all unused file
descriptors, so it logs errors to stderr instead of via Debug() and
uses relloc() instead of ch_realloc().

Also close a file descriptor leak if fork() fails in fork.c.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.
2002-05-15 06:18:14 +00:00
..
abandon.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
add.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
bind.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
compare.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
config.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
delete.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
external.h
fork.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
init.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
Makefile.in
modify.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
modrdn.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
result.c Changed be_[n]suffix, be_[n]suffixAlias to BerVarray. No more bvec's anywhere. 2002-05-01 18:50:14 +00:00
search.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
searchexample.conf Patch: back-shell/searchexample.* nitpicks (ITS#1816) 2002-05-15 05:17:08 +00:00
searchexample.sh Patch: back-shell/searchexample.* nitpicks (ITS#1816) 2002-05-15 05:17:08 +00:00
shell.h Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00
unbind.c Patch: Implement surrogate parent for back-shell (ITS#1815) 2002-05-15 06:18:14 +00:00