summaryrefslogtreecommitdiff
path: root/usr.sbin/ldapd/control.c
AgeCommit message (Collapse)Author
2017-01-20work on making log.c similar in all daemons:Sebastian Benoit
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok krw@ jmatthew@
2017-01-09Replace hand-rolled for(;;) traversal of ctl_conns TAILQ withKenneth R Westerback
TAILQ_FOREACH(). No intentional functional change. ok reyk@
2016-01-17Properly remove unix sockets (control & listening) upon exit of theLandry Breuil
parent process. Child process was killed by pledge because it tried to remove the control socket and didnt have cpath - anyway it couldnt remove it since it had chrooted.. ok jmatthew@ deraadt@
2015-12-24bzero -> memset. No binary change.mmcc
2015-11-02use SOCK_NONBLOCK instead of fcntlJonathan Matthew
ok dlg@
2015-01-16change to <limits.h> universe. The only changes in the binary are dueTheo de Raadt
to the heavy use of assert. ok millert
2013-11-02bunch of format string cleanups, removing %i, signed vs unsigned, and evenTheo de Raadt
a few long long's ok jmatthew
2012-06-16Protect against fd exhaustion when reopening database files. Only acceptJonathan Matthew
client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process. ok gilles@
2012-04-11rate limiting of accept() in various cases. Testing by jmatthew. thereTheo de Raadt
maybe still be a corner case where it needs one more file descriptor beyond the limit..
2010-09-01Move generic imsg/libevent glue to a separate file.Martin Hedenfal
with eric@ at c2k10
2010-07-06Send empty statistics rather than segfault if "ldapctl stats" is run when aMartin Hedenfal
database is being reopened due to compaction.
2010-06-30Don't send statistics for referral namespaces. This unbreaks ldapctl stats.Martin Hedenfal
Avoid null pointer dereference when reopening a namespace.
2010-06-27Remove unused code.Martin Hedenfal
2010-06-23Remove compaction and indexing from ldapd. It is better done by a separateMartin Hedenfal
process now that the btree can pick up the changes automatically.
2010-05-31Initial import of ldapd, a small LDAP daemon. Work in progress.Martin Hedenfal
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@