summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypldap/ypldap_dns.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* don't manipulate hdr.len, it's used internally by libutil now; ok florian@otto2017-04-171-4/+5
|
* Use memset(3) instead of bzero(3)mestre2016-11-291-2/+2
| | | | OK deraadt@
* convert ypldap_addr list to a tailqjmatthew2016-04-101-13/+10
| | | | ok dlg@
* EAGAIN handling for imsg_read. OK henning@ benno@claudio2015-12-051-2/+2
|
* pledge for ypldap is easy because it's purely a network program.jmatthew2015-11-151-1/+4
| | | | | | One process talks to yp clients, one talks to ldap servers, one does dns. ok deraadt@
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+2
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* Since the event(s) passed to a callback can be a mask of all eventskrw2014-07-131-8/+8
| | | | | | | | of interest and EV_WRITE is or'ed into the interesting events, it is more correct to check both events each time. Pointed out by Claudio. ok henning@ claudio@
* Close connection/remove event handler when msgbuf_write() hits ankrw2014-07-131-4/+7
| | | | | | EOF. ok jmatthew@ claudio@
* don't leak ypldap_addr structures when doing dns lookupsjmatthew2012-03-161-3/+9
| | | | ok dlg@
* Rename some imsg bits to make namespace collisions less likely buf tonicm2010-05-261-2/+2
| | | | | | ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt
* fix fatal calls, that they will report function names from which they arezinovik2010-04-011-2/+2
| | | | | | called, in case of failure developer will be digging for a bug in wrong place ok krw@, pyr@
* Sync with relayd:eric2009-06-061-13/+15
| | | | | | | | Stop pushing event handling in the imsg framework. Instead, provide a small glue layer on top of both imsg and libevent. This finally clearly separates event handling and imsg construction. ok pyr@
* Do the DNS resolution in a seperate process. A lot of code is copied from ntpd.aschrijver2008-10-281-0/+241
This is necessary because DNS resolution is not possible from a chroot. Cleanup the aldap interface a bit.