summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rbootd/utils.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Pull in <sys/time.h> for struct timespec, timeval, or clockrateguenther2016-08-271-1/+2
| | | | ok deraadt@
* Delete blocking/unblocking of signals, as the handlers now just set flagsguenther2016-05-291-17/+2
| | | | | | that are tested by the main loop. ok jca@ deraadt@
* stdlib.h is in scope; do not cast malloc/calloc/realloc*deraadt2015-08-201-3/+3
| | | | ok millert krw
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+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)
* Correct format string mismatches turned up by -Wformat=2guenther2013-08-221-3/+5
| | | | suggestions and ok millert@
* do not assume time_t and timeval.tv_sec are the same typederaadt2013-04-031-2/+5
| | | | ok guenther
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-6/+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
* priv revoking; tested by millertderaadt2004-05-011-3/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* ansi & knfderaadt2002-12-131-84/+73
|
* more strlcat and strlcpyderaadt2002-05-291-5/+4
|
* kill more registers.mpech2002-03-141-16/+16
| | | | millert@ ok
* OpenBSD-ify.pjanzen2001-01-171-1/+2
|
* 64 bit botch; thorpejderaadt1997-08-011-2/+2
|
* repair byte order botches; from scottr@plexus.com via netbsdderaadt1995-11-161-3/+3
|
* initial import of NetBSD treederaadt1995-10-181-0/+557