Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do check for current pointer vs. buffer end before touching any | millert | 2003-09-25 | 1 | -5/+5 |
| | | | | | elements in the buffer. Fixes an out of bounds access. From aaron@; OK deraadt@ | ||||
* | license oops; from tedu | deraadt | 2003-07-11 | 1 | -1/+4 |
| | |||||
* | fix various 3/4 licenses according to "terms" file | deraadt | 2003-06-03 | 1 | -9/+1 |
| | |||||
* | more writeable -> writable by torh | henning | 2002-12-15 | 1 | -2/+2 |
| | |||||
* | use socklen_t where needed; henning pvalchev ok | deraadt | 2002-09-06 | 1 | -2/+2 |
| | |||||
* | try to use strlcpy and snprintf more; ok various | deraadt | 2002-05-24 | 1 | -3/+2 |
| | |||||
* | more strlcpy and snprintf | deraadt | 2002-05-22 | 1 | -3/+3 |
| | |||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | millert | 2002-02-17 | 1 | -3/+3 |
| | | | | outside the tree) | ||||
* | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | millert | 2002-02-16 | 1 | -4/+4 |
| | | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | ||||
* | Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵ | millert | 2001-09-04 | 1 | -7/+9 |
| | | | | POSIX counterparts. | ||||
* | use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok. | lebel | 2001-06-27 | 1 | -3/+2 |
| | |||||
* | Make sure $RSH is not the empty string. | millert | 2001-02-10 | 1 | -2/+2 |
| | |||||
* | always pass salen as separate argument, so that it can be friendly with | itojun | 2000-02-25 | 1 | -20/+22 |
| | | | | systems with pre-4.2 sockaddrs. | ||||
* | do not perform sleep() every time we get ECONNREFUSED. | itojun | 2000-02-18 | 1 | -6/+12 |
| | | | | | | try all the set of addresses before go to sleep() and retry. not sure if we still need sleep() - retry logic. why is it so persistent? | ||||
* | visit next addrinfo structure when rresvport_af() fails. | itojun | 2000-01-30 | 1 | -4/+9 |
| | | | | | this should fix situation like: - try to rcmd() to dual stack node from IPv4-only node/kernel | ||||
* | add IPv6-ready rcmd() friends. | itojun | 2000-01-27 | 1 | -76/+221 |
| | | | | | | | | rcmd(): IPv4 only rcmd_af(): af independent ruserok(): af independent iruserok(): IPv4 only iruserok_sa(): af independent | ||||
* | rresvport_af() and bindresvport_af() | deraadt | 1999-12-16 | 1 | -33/+1 |
| | |||||
* | some -Wall | millert | 1998-03-19 | 1 | -3/+2 |
| | |||||
* | correct bounds check | deraadt | 1998-02-12 | 1 | -2/+2 |
| | |||||
* | copyright | deraadt | 1998-02-12 | 1 | -2/+2 |
| | |||||
* | use fgetln() instead of fgets() so that we can catch \0 in the .rhosts | deraadt | 1998-02-11 | 1 | -13/+14 |
| | | | | | file. Thanks to fc@parkone.ci.oakland.ca.us for lots of testing and diagnosis help. | ||||
* | increased paranoia about .rhosts validity | deraadt | 1998-02-11 | 1 | -3/+7 |
| | |||||
* | Clean up some -Wall flowers. | millert | 1997-07-09 | 1 | -1/+2 |
| | |||||
* | if we find an unprintable char, bail totally | deraadt | 1997-07-06 | 1 | -1/+4 |
| | |||||
* | indent | deraadt | 1997-06-29 | 1 | -2/+2 |
| | |||||
* | use bzero instead of FD_ZERO | dm | 1997-06-04 | 1 | -4/+4 |
| | |||||
* | howmany(x+1, NFDBITS) | deraadt | 1997-06-03 | 1 | -2/+2 |
| | |||||
* | malloc fd_set dynamically, for very large fd uses | deraadt | 1997-05-28 | 1 | -7/+14 |
| | |||||
* | Use in_addr_t not u_long and use in_port_t in some cases instead | millert | 1997-04-05 | 1 | -6/+6 |
| | | | | of u_short or u_int16_t. | ||||
* | never hand over a nonresv port, even if asked. problem reported by ↵ | deraadt | 1997-01-25 | 1 | -2/+2 |
| | | | | gmeinerj@ZUMtOBEL.co.at | ||||
* | ignore $RSH if we are setuid | millert | 1996-09-05 | 1 | -2/+2 |
| | |||||
* | proper types | deraadt | 1996-09-03 | 1 | -1/+2 |
| | |||||
* | Looks at RSH envariable and calls rcmdsh() with that value if set. | millert | 1996-09-02 | 1 | -2/+11 |
| | |||||
* | i have changed this enough to put copyright on it | deraadt | 1996-09-01 | 1 | -1/+3 |
| | |||||
* | check right variable | deraadt | 1996-08-31 | 1 | -2/+2 |
| | |||||
* | avoid port 1023 more | deraadt | 1996-08-30 | 1 | -7/+11 |
| | |||||
* | call rcmdsh() if euid != 0 and port is shell/tcp. This lets us | millert | 1996-08-30 | 1 | -1/+9 |
| | | | | get away with fewer setuid binaries. | ||||
* | Fix RCS ids | tholo | 1996-08-19 | 1 | -7/+1 |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | seed rresvport() for aux channel with a known taken port; do not ask for | deraadt | 1996-08-07 | 1 | -0/+6 |
| | | | | next lower port because we might get it (and be predictable!) | ||||
* | if port 20 incoming, kill it and try again | deraadt | 1996-08-05 | 1 | -0/+9 |
| | |||||
* | ensure bindresvport() is told to find a port | deraadt | 1996-07-29 | 1 | -0/+1 |
| | |||||
* | rresvport() in terms of bind() & bindresvport() | deraadt | 1996-07-29 | 1 | -14/+12 |
| | |||||
* | bzero sockaddr_in | deraadt | 1996-07-22 | 1 | -0/+1 |
| | |||||
* | bzero sockaddr before use | deraadt | 1996-07-22 | 1 | -0/+1 |
| | |||||
* | support # comments | deraadt | 1996-07-20 | 1 | -0/+2 |
| | |||||
* | iruserok() can finally safely use a u_int32_t for the ip addr | deraadt | 1996-06-10 | 1 | -2/+2 |
| | |||||
* | fix long/u_int32_t botch; do gethostbyname() only if netgroups are going to | deraadt | 1995-11-22 | 1 | -55/+94 |
| | | | | | | be used and do not abort; check for A->PTR->A loop otherwise only match on #.#.#.# addresses; do not assume !0 is 1 as in ANSI C. netbsd pr#1683 led to finding these problems. | ||||
* | initial import of NetBSD tree | deraadt | 1995-10-18 | 1 | -0/+517 |