#
df69c215 |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary 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.
show more ...
|
#
eeba2ff2 |
| 28-May-2016 |
millert <millert@openbsd.org> |
Use getaddrinfo() instead of the non-standard gethostbyname2(). OK deraadt@ jca@ jung@ florian@
|
#
cd245bca |
| 24-Nov-2015 |
millert <millert@openbsd.org> |
Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within libc to avoid reusing the static buffers returned by the non-reentrant versions. Since this is inside libc we can use constants for
Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within 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@
show more ...
|
#
10632a79 |
| 01-Nov-2015 |
guenther <guenther@openbsd.org> |
delete old lint ARGSUSED comments
|
#
5b6c92c3 |
| 23-Oct-2015 |
guenther <guenther@openbsd.org> |
Use waitpid() instead of wait() to avoid returning early from another child exiting, and loop the waitpid() on EINTR
ok deraadt@ millert@
|
#
0e3c6306 |
| 12-Sep-2015 |
guenther <guenther@openbsd.org> |
Wrap <unistd.h> so that internal calls go direct and they're all weak symbols Delete unused 'fd' argument from internal function oldttyname()
|
#
934fc14b |
| 23-Mar-2015 |
halex <halex@openbsd.org> |
Make rcmdsh(3) not fail if it is passed a non resolvable hostname. Instead, silently ignore the fact and instead let the underlying ssh (or $RSH) command handle it.
ok millert@
|
#
dc85dc40 |
| 24-Apr-2014 |
jmc <jmc@openbsd.org> |
uses ssh these days, not rsh; ok tedu
|
#
1ed98fdf |
| 02-Sep-2007 |
deraadt <deraadt@openbsd.org> |
use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
|
#
0038de2c |
| 06-Aug-2005 |
espie <espie@openbsd.org> |
zap rcsid. split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used.
okay deraadt@, krw@
|
#
db5b349c |
| 25-Mar-2005 |
otto <otto@openbsd.org> |
ansify. ok deraadt@ moritz@
|
#
4deac02a |
| 01-Apr-2004 |
marc <marc@openbsd.org> |
let rcmdsh work on hosts that don't have an ipv4 address. If it works it is fine with me -- millert@
|
#
8dd0ec21 |
| 05-May-2003 |
millert <millert@openbsd.org> |
Add support for command line args in rshprog, e.g. "ssh -C".
|
#
062b2a16 |
| 12-Mar-2002 |
millert <millert@openbsd.org> |
Tack on MagniComp (BSD) license since this originally came from rdist.
|
#
e4490880 |
| 02-Jan-2002 |
deraadt <deraadt@openbsd.org> |
more pid_t use
|
#
2e7a57ef |
| 25-Apr-1998 |
millert <millert@openbsd.org> |
Use PF_UNSPEC as proto in socketpair() instead of just 0 for clarity.
|
#
3b65d27b |
| 23-Jul-1997 |
millert <millert@openbsd.org> |
Don't do a gethostbyname() on "localhost" since we need it to be unmolested when we test whether or not to use a local shell instead of rsh.
|
#
c8f91e0d |
| 15-Sep-1996 |
tholo <tholo@openbsd.org> |
Remove dead code Remove unused variables Silence some warnings lint(1) is your friend
|
#
a02b9385 |
| 01-Sep-1996 |
millert <millert@openbsd.org> |
Don't dup stderr, you lose error messages and rsh does it for us anyway.
|
#
dcbdbe15 |
| 22-Aug-1996 |
millert <millert@openbsd.org> |
Adds rcmdsh() -- rcmd-alike using rsh (or specified shell).
|