Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When system calls indicate an error they return -1, not some arbitrary | deraadt | 2019-06-28 | 1 | -5/+5 |
| | | | | | | 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. | ||||
* | Use getaddrinfo() instead of the non-standard gethostbyname2(). | millert | 2016-05-28 | 1 | -5/+14 |
| | | | | OK deraadt@ jca@ jung@ florian@ | ||||
* | Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within | millert | 2015-11-24 | 1 | -4/+5 |
| | | | | | | | libc to avoid reusing the static buffers returned by the non-reentrant versions. Since this is inside libc we can use constants for the buffer sizes instead of having to call sysconf(). OK guenther@ deraadt@ | ||||
* | delete old lint ARGSUSED comments | guenther | 2015-11-01 | 1 | -2/+1 |
| | |||||
* | Use waitpid() instead of wait() to avoid returning early from another child | guenther | 2015-10-23 | 1 | -2/+3 |
| | | | | | | exiting, and loop the waitpid() on EINTR ok deraadt@ millert@ | ||||
* | Wrap <unistd.h> so that internal calls go direct and they're all weak symbols | guenther | 2015-09-12 | 1 | -1/+2 |
| | | | | Delete unused 'fd' argument from internal function oldttyname() | ||||
* | Make rcmdsh(3) not fail if it is passed a non resolvable hostname. | halex | 2015-03-23 | 1 | -7/+4 |
| | | | | | | | Instead, silently ignore the fact and instead let the underlying ssh (or $RSH) command handle it. ok millert@ | ||||
* | uses ssh these days, not rsh; ok tedu | jmc | 2014-04-24 | 1 | -2/+2 |
| | |||||
* | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | deraadt | 2007-09-02 | 1 | -2/+2 |
| | |||||
* | zap rcsid. | espie | 2005-08-06 | 1 | -5/+1 |
| | | | | | | | 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@ | otto | 2005-03-25 | 1 | -7/+4 |
| | |||||
* | let rcmdsh work on hosts that don't have an ipv4 address. | marc | 2004-04-01 | 1 | -3/+4 |
| | | | | If it works it is fine with me -- millert@ | ||||
* | Add support for command line args in rshprog, e.g. "ssh -C". | millert | 2003-05-05 | 1 | -8/+47 |
| | |||||
* | Tack on MagniComp (BSD) license since this originally came from rdist. | millert | 2002-03-12 | 1 | -2/+30 |
| | |||||
* | more pid_t use | deraadt | 2002-01-02 | 1 | -3/+4 |
| | |||||
* | Use PF_UNSPEC as proto in socketpair() instead of just 0 for clarity. | millert | 1998-04-25 | 1 | -3/+3 |
| | |||||
* | Don't do a gethostbyname() on "localhost" since we need it to | millert | 1997-07-23 | 1 | -6/+8 |
| | | | | | be unmolested when we test whether or not to use a local shell instead of rsh. | ||||
* | Remove dead code | tholo | 1996-09-15 | 1 | -6/+8 |
| | | | | | | Remove unused variables Silence some warnings lint(1) is your friend | ||||
* | Don't dup stderr, you lose error messages and rsh does it for us anyway. | millert | 1996-09-01 | 1 | -3/+3 |
| | |||||
* | Adds rcmdsh() -- rcmd-alike using rsh (or specified shell). | millert | 1996-08-22 | 1 | -0/+120 |