Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When system calls indicate an error they return -1, not some arbitrary | deraadt | 2019-06-28 | 1 | -4/+4 |
| | | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | ||||
* | since stdlib.h is in scope, don't cast.... you know the drill. | deraadt | 2015-08-21 | 1 | -1/+1 |
| | | | | no sneakiness detected by krw | ||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | deraadt | 2015-01-16 | 1 | -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) | ||||
* | Prefer setvbuf() to setlinebuf() for portability; ok deraadt@ | millert | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | use timerclear macro | okan | 2011-03-22 | 1 | -1/+1 |
| | | | | ok miod@ | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | deraadt | 2009-10-27 | 1 | -8/+0 |
| | | | | | | | 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 | ||||
* | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | deraadt | 2007-09-02 | 1 | -2/+2 |
| | |||||
* | convert to new .Dd format; | jmc | 2007-05-31 | 1 | -2/+2 |
| | |||||
* | new sentence, new line...and generally just start new lines in sane places; | jmc | 2005-09-06 | 1 | -17/+21 |
| | | | | while here, a little macro cleanup. | ||||
* | some grammar fixes from simon morgan; | jmc | 2005-09-06 | 1 | -4/+4 |
| | | | | fixes pr #4491 | ||||
* | use getopt(3) for argument list parsing and remove the get_number() | robert | 2005-06-20 | 1 | -36/+26 |
| | | | | | | function becasue we use strtonum(3) from now on. ok otto@ millert@ | ||||
* | setresuid; ok deraadt@ | djm | 2005-05-03 | 1 | -3/+6 |
| | |||||
* | fix datalen, from Esben Norby. ok deraadt itojun | tedu | 2004-02-26 | 1 | -2/+2 |
| | |||||
* | Replace log() with logit() since ISO C reserves log() for the math | millert | 2003-11-26 | 1 | -6/+6 |
| | | | | | library and gcc 3.x will complain. Replacement name taken from NetBSD. espie@ OK. | ||||
* | convert to poll; ok dhartmei | deraadt | 2003-08-19 | 1 | -7/+6 |
| | |||||
* | - section reorder | jmc | 2003-06-12 | 1 | -6/+6 |
| | | | | | | - macro fixes - kill whitespace at EOL - new sentence, new line | ||||
* | some ansification, some de-register | deraadt | 2003-06-11 | 1 | -2/+3 |
| | |||||
* | knf | deraadt | 2003-03-05 | 1 | -262/+244 |
| | |||||
* | skip this setuid stuff | deraadt | 2003-03-04 | 1 | -3/+1 |
| | |||||
* | copyrights added; | jmc | 2003-02-18 | 1 | -1/+68 |
| | | | | | | | | bootpef(8), pppd(8): Carnegie Mellon map-mbone(8), mrinfo(8): Xerox pdisk(8): Apple awk(1): Lucent sectok(3): University of Michigan | ||||
* | don't use dynamically-generated printf format string. more picky | itojun | 2002-08-08 | 1 | -6/+5 |
| | | | | about gethostby* result. check fd_set overrun. from xs@kittenz.org | ||||
* | missing sockaddr inits; ok itojun | deraadt | 2002-06-02 | 1 | -0/+1 |
| | |||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | millert | 2002-02-19 | 1 | -18/+1 |
| | |||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree) | millert | 2002-02-17 | 1 | -3/+3 |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | millert | 2002-02-16 | 1 | -6/+6 |
| | |||||
* | follow post-2.1 ip_off & ip_len byte orders | deraadt | 2001-12-10 | 1 | -1/+1 |
| | |||||
* | this has been setuid for quite some time | deraadt | 2001-12-05 | 1 | -4/+1 |
| | |||||
* | make sure that va_start() has matching va_end() | deraadt | 2001-09-05 | 1 | -0/+1 |
| | |||||
* | o) .Sh AUTHOR -> .Sh AUTHORS; | mpech | 2001-08-02 | 1 | -2/+2 |
| | | | | | | | o) .Sh EXAMPLE -> .Sh EXAMPLES; o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION; millert@ ok | ||||
* | New license from Xerox! This code is now FREE! Took a while and a lot of | deraadt | 2001-07-31 | 1 | -14/+27 |
| | | | | mails, but it is worth it. | ||||
* | we don't like: | mpech | 2001-07-20 | 1 | -2/+1 |
| | | | | | | o) .Pp before/after .Sh; o) .Pp before/after .Sh; o) .Nm without argument in SYNOPSIS; | ||||
* | Some fixes. From <mpech@prosoft.org.lv> | ho | 2001-05-22 | 1 | -3/+3 |
| | |||||
* | mdoc-ify. Fix section headers. Some typos. | ho | 2001-05-22 | 1 | -68/+64 |
| | |||||
* | exit(-#) is wrong | deraadt | 2001-03-09 | 1 | -2/+2 |
| | |||||
* | more careful euid killing | deraadt | 2000-12-21 | 1 | -0/+1 |
| | |||||
* | remove trailing whitespace, some Nm cleanup | aaron | 1999-06-05 | 1 | -5/+5 |
| | |||||
* | $OpenBSD$ | deraadt | 1997-09-21 | 1 | -2/+1 |
| | |||||
* | check malloc() ret val! | millert | 1996-10-16 | 1 | -3/+5 |
| | |||||
* | revoke privs at start; tested by fenner@parc.xerox.com | deraadt | 1996-09-11 | 1 | -4/+6 |
| | |||||
* | from netbsd; update to mrouted 3.8 | deraadt | 1995-12-14 | 1 | -73/+177 |
| | |||||
* | initial import of NetBSD tree | deraadt | 1995-10-18 | 3 | -0/+630 |