summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv/common/yplib_host.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther2018-04-261-6/+2
| | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@
* Put a private copy of the ypresp_allfn/ypresp_data interface into ypservderaadt2015-09-111-7/+63
| | | | | | (which uses it in a strange way..) thereby making it possible to static the interface in libc. ok guenther
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+1
| | | | | | | | | 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)
* Nuke more obvious #include duplications.krw2014-11-181-2/+1
| | | | ok deraadt@ millert@ tedu@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* spreading the lint love (very minimal things..)deraadt2006-04-031-12/+12
|
* protos and repairsderaadt2003-07-151-9/+4
|
* more term cleanup by mederaadt2003-06-021-7/+2
|
* -Wall cleanup: trim unused vars, better err() message in stdhosts,avsm2003-05-051-2/+2
| | | | | | and constify rcsid[] deraadt@ ok
* 4344 lines of KNF diffderaadt2002-07-191-65/+23
|
* use a private svc_run() function that checks for a signal handler flag;deraadt2001-11-191-96/+83
| | | | now signal safe. Also, massive KNF.
* Don't install a new map if yp_all failed. Noticed by Theo. -mojmaja1998-02-141-3/+2
|
* Fix bug in yp_maplist_host. -mojmaja1998-01-121-3/+3
|
* long != intderaadt1997-06-231-3/+3
|
* Umm, fix signedness error in my last commit, be explicitniklas1997-05-011-3/+3
| | | | about the fact that ordernumbers are 32 bit
* $OpenBSD$ tag and few spelling errorsderaadt1996-05-301-2/+4
|
* do not use yp_prot.hderaadt1996-05-301-24/+24
|
* Using TCP broke ypxfr -C which in turn caused yppush to fail on thedm1996-03-021-8/+11
| | | | | master NIS server. I gave yp_bind_host an extra argument to select TCP/UDP transport.
* Added in stuff from 960121. Fixed several bugs in ypxfr.dm1996-03-021-1/+6
|
* + full set of ypserv tools that compilederaadt1995-11-011-0/+394