History log of /netbsd-src/lib/libc/net/rcmd.c (Results 1 – 25 of 73)
Revision Date Author Comments
# ace5b9b5 20-Jan-2024 christos <christos@NetBSD.org>

Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.


# f42f89fd 22-May-2022 andvar <andvar@NetBSD.org>

fix various small typos, mainly in comments.


# 11fe7239 26-Nov-2014 enami <enami@NetBSD.org>

Changes done in rsh.c rev. 1.36 was incomplete. As chuq pointed
in private mail, it broke rcp(1).

To achieve the documented behavior and to fix long standing incorrect
rsh(1) behavior which I've tr

Changes done in rsh.c rev. 1.36 was incomplete. As chuq pointed
in private mail, it broke rcp(1).

To achieve the documented behavior and to fix long standing incorrect
rsh(1) behavior which I've tried to fix in rev. 1.36, rcmd(1) should have
two operation mode; whether it should relay signal information on
auxiliary channel or not, depending on the argument `fd2p' passed to rcmd(3).
So, make rcmd(1) behave differntly depending on the environment variable and
set it when necessary in rcmd(3) according to how auxiliary channel
is set up by rcmd(3).

show more ...


# 9a513d96 18-Sep-2014 christos <christos@NetBSD.org>

make more descriptors that we open as close-on-exec


# b33a0c98 28-May-2014 christos <christos@NetBSD.org>

CID 975111: Ignore return value from initgroups(). If we failed, then
the failure would be that we could not open the .rhosts file so we fail
closed.


# 3ec957d5 14-Jul-2012 darrenr <darrenr@NetBSD.org>

bin/46703: BSD r-commands use wrong source address for stderr
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=46703
Bump libc minor for the addition of rresvport_af_addr()


# c5e820ca 13-Mar-2012 christos <christos@NetBSD.org>

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values t

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@

show more ...


# 98715cd1 31-May-2011 christos <christos@NetBSD.org>

PR/45007: rcmd_af(3) and thusly rsh(1) ignore requested address family
Pass in the address family to rshrcmd and DTRT.
While here KNF.


# 0ff81292 03-Jan-2007 ws <ws@NetBSD.org>

Don't leak file descriptors.


# 1d83cc5b 03-Nov-2006 christos <christos@NetBSD.org>

nuke perror.


# 92ca7d2b 02-Dec-2005 yamt <yamt@NetBSD.org>

constify and remove an unnecessary __UNCONST.


# 03256c6e 29-Nov-2005 christos <christos@NetBSD.org>

WARNS=4


# 3897500b 28-Nov-2005 christos <christos@NetBSD.org>

forgot to commit this; cleanup to compile with WARNS=4, since lpd uses it.


# eea147d9 19-Apr-2005 christos <christos@NetBSD.org>

check for pwd != NULL


# 5d3d04b4 30-Mar-2005 christos <christos@NetBSD.org>

use re-entrant versions of getpw*(). In libc only pwcache remains and this
cannot be changed easily because it involves an API change.


# e9042901 29-Nov-2004 ginsbach <ginsbach@NetBSD.org>

rresvport_af() should return -1 when the address family is unsupported
and set errno accordingly.


# da883424 16-Nov-2004 itojun <itojun@NetBSD.org>

NI_WITHSCOPEID was not picked up by IETF standardization process


# 05cd1193 21-Mar-2004 mrg <mrg@NetBSD.org>

remove my copyright statement


# b776c8e6 27-Jan-2004 lukem <lukem@NetBSD.org>

Retain the euid of the target user whilst reading the
.rhosts file. This allows it to have a mode of 600
and still function correctly even when used on an NFS
client with uid 0 mapped to another (an

Retain the euid of the target user whilst reading the
.rhosts file. This allows it to have a mode of 600
and still function correctly even when used on an NFS
client with uid 0 mapped to another (anonymous) UID.
Patch from Brian Ginsbach <ginsbach@cray.com>,
and fixes [bin/14880] from Darren Reed <darrenr@>.

show more ...


# b2b49933 13-Oct-2003 agc <agc@NetBSD.org>

Move Matt Green's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 1035faff 06-Jan-2003 wiz <wiz@NetBSD.org>

writable, not writeable.


# 233424cd 17-Nov-2002 itojun <itojun@NetBSD.org>

make sure to bound string operation by strlcpy
(there are bunch of "strcpy is safe" comments, i think we should change them
to strlcpy as much as possible)


# 9134efab 17-Nov-2002 itojun <itojun@NetBSD.org>

use strlcpy where it is more appropriate.


# de792f24 11-Nov-2002 thorpej <thorpej@NetBSD.org>

Fix signed/unsigned comparison warnings.


123