Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Wrap <unistd.h> so that internal calls go direct and they're all weak symbols | 2015-09-12 | 1 | -0/+1 | |
| | | | | Delete unused 'fd' argument from internal function oldttyname() | ||||
* | Use nanosleep instead of sleep to avoid the extra layer and simplify later | 2015-08-30 | 1 | -5/+8 | |
| | | | | | | symbol hiding ok w/tweak deraadt@ | ||||
* | differentiate between a failed read, returning -1, and encountering | 2015-03-22 | 1 | -2/+4 | |
| | | | | | | | end-of-file, returning 0, in order not to print an unrelated strerror(errno) in the latter case ok millert@ | ||||
* | unmute rcmd hostname lookup failure | 2015-03-22 | 1 | -3/+2 | |
| | | | | ok millert@ jung@ | ||||
* | zap #if 0'd code that's been dead since '96 | 2015-03-19 | 1 | -7/+0 | |
| | | | | ok todd@ | ||||
* | Move to the <limits.h> universe. | 2015-01-16 | 1 | -2/+2 | |
| | | | | review by millert, binary checking process with doug, concept with guenther | ||||
* | replace select with equiv poll usage. | 2014-10-10 | 1 | -17/+12 | |
| | | | | | looks good deraadt@ tweaks and ok millert@ | ||||
* | More shrinkage, a bit for ramdisks but mostly for static binaries: | 2009-11-18 | 1 | -388/+0 | |
| | | | | | | | | | | | | | | | | | - wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to libstub to avoid pulling in res_debug_syms.o - split rcmd() and ruserok() into separate files, as nothing uses both - split readdir_r() to its own file - split syslog_r() from syslog(), as the latter needs localtime(); many binaries no longer need to pull in all the time code after this; switch from usleep() to nanosleep() while we're at it (The profit of analysis of -Wl,-M,--cref output) Chops 888kB from /bin and /sbin on i386 ok deraadt@, miod@ | ||||
* | Check snprintf(3) return value for error or truncation. | 2007-09-17 | 1 | -1/+5 | |
| | | | | | | Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@ | ||||
* | oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask); | 2006-03-31 | 1 | -1/+1 | |
| | | | | is not valid code; found by lint | ||||
* | zap rcsid. | 2005-08-06 | 1 | -4/+0 | |
| | | | | | | | split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@ | ||||
* | ansify. ok deraadt@ moritz@ | 2005-03-25 | 1 | -42/+18 | |
| | |||||
* | do not trash errno before using it, do not pass garbage args to getnameinfo | 2005-03-08 | 1 | -7/+10 | |
| | | | | ok henning andrushock@korovino.net | ||||
* | fd leak; andrushock@korovino.net | 2005-03-07 | 1 | -2/+4 | |
| | |||||
* | remove NI_WITHSCOPEID (which is not standard) | 2004-11-17 | 1 | -19/+1 | |
| | |||||
* | Do check for current pointer vs. buffer end before touching any | 2003-09-25 | 1 | -5/+5 | |
| | | | | | elements in the buffer. Fixes an out of bounds access. From aaron@; OK deraadt@ | ||||
* | license oops; from tedu | 2003-07-11 | 1 | -1/+4 | |
| | |||||
* | fix various 3/4 licenses according to "terms" file | 2003-06-03 | 1 | -9/+1 | |
| | |||||
* | more writeable -> writable by torh | 2002-12-15 | 1 | -2/+2 | |
| | |||||
* | use socklen_t where needed; henning pvalchev ok | 2002-09-06 | 1 | -2/+2 | |
| | |||||
* | try to use strlcpy and snprintf more; ok various | 2002-05-24 | 1 | -3/+2 | |
| | |||||
* | more strlcpy and snprintf | 2002-05-22 | 1 | -3/+3 | |
| | |||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree) | 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. | 2002-02-16 | 1 | -4/+4 | |
| | |||||
* | Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their POSIX counterparts. | 2001-09-04 | 1 | -7/+9 | |
| | |||||
* | use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok. | 2001-06-27 | 1 | -3/+2 | |
| | |||||
* | Make sure $RSH is not the empty string. | 2001-02-10 | 1 | -2/+2 | |
| | |||||
* | always pass salen as separate argument, so that it can be friendly with | 2000-02-25 | 1 | -20/+22 | |
| | | | | systems with pre-4.2 sockaddrs. | ||||
* | do not perform sleep() every time we get ECONNREFUSED. | 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. | 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. | 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() | 1999-12-16 | 1 | -33/+1 | |
| | |||||
* | some -Wall | 1998-03-19 | 1 | -3/+2 | |
| | |||||
* | correct bounds check | 1998-02-12 | 1 | -2/+2 | |
| | |||||
* | copyright | 1998-02-12 | 1 | -2/+2 | |
| | |||||
* | use fgetln() instead of fgets() so that we can catch \0 in the .rhosts | 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 | 1998-02-11 | 1 | -3/+7 | |
| | |||||
* | Clean up some -Wall flowers. | 1997-07-09 | 1 | -1/+2 | |
| | |||||
* | if we find an unprintable char, bail totally | 1997-07-06 | 1 | -1/+4 | |
| | |||||
* | indent | 1997-06-29 | 1 | -2/+2 | |
| | |||||
* | use bzero instead of FD_ZERO | 1997-06-04 | 1 | -4/+4 | |
| | |||||
* | howmany(x+1, NFDBITS) | 1997-06-03 | 1 | -2/+2 | |
| | |||||
* | malloc fd_set dynamically, for very large fd uses | 1997-05-28 | 1 | -7/+14 | |
| | |||||
* | Use in_addr_t not u_long and use in_port_t in some cases instead | 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 gmeinerj@ZUMtOBEL.co.at | 1997-01-25 | 1 | -2/+2 | |
| | |||||
* | ignore $RSH if we are setuid | 1996-09-05 | 1 | -2/+2 | |
| | |||||
* | proper types | 1996-09-03 | 1 | -1/+2 | |
| | |||||
* | Looks at RSH envariable and calls rcmdsh() with that value if set. | 1996-09-02 | 1 | -2/+11 | |
| | |||||
* | i have changed this enough to put copyright on it | 1996-09-01 | 1 | -1/+3 | |
| | |||||
* | check right variable | 1996-08-31 | 1 | -2/+2 | |
| |