History log of /netbsd-src/lib/libc/net/rcmd.c (Results 26 – 50 of 73)
Revision Date Author Comments
# f2679ef4 22-May-2002 tron <tron@NetBSD.org>

Revert last change after protoype of getnameinfo(3) has been changed back.


# 2afd8269 14-May-2002 thorpej <thorpej@NetBSD.org>

Delint after getaddrinfo(), etc. changes.


# 1e880d77 16-Apr-2002 groo <groo@NetBSD.org>

botched strn* -> strl*
from xs@kittenz.org


# 50f5afd5 04-Nov-2001 lukem <lukem@NetBSD.org>

fix WARNS=2 (-Wshadow) warnings


# 7daefc5a 07-Jul-2000 itohy <itohy@NetBSD.org>

Passing "char" values to ctype(3) functions is problematic.
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.

The isascii(3) is the sole

Passing "char" values to ctype(3) functions is problematic.
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.

The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems. On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems. However, we leave the isascii()
untouched for now, so as not to change the current behavior.

show more ...


# 43264d6a 06-Jul-2000 christos <christos@NetBSD.org>

add argsused lint directives
add explicit casts
elide non-portable casts


# ed26506c 30-May-2000 itojun <itojun@NetBSD.org>

usr.sbin/lpr/lpd now compiles lib/libc/net/rcmd.c on its own, to avoid
use of non-exported function __ivaliduser{,_sa}().

we cannot make __ivaliduser{,_sa}() static yet, since doing that would choke

usr.sbin/lpr/lpd now compiles lib/libc/net/rcmd.c on its own, to avoid
use of non-exported function __ivaliduser{,_sa}().

we cannot make __ivaliduser{,_sa}() static yet, since doing that would choke
compiled lpd binaries. we should do it on next libc major version bump.
added a memo on lib/libc/shlib_version.

show more ...


# 8e1ca1a3 05-Mar-2000 itojun <itojun@NetBSD.org>

fix fatal typo, which misused luser/ruser (PR 9543).


# 7b48263c 24-Feb-2000 itojun <itojun@NetBSD.org>

(rcmd.c) to make Zoularis happier, pass sa_len separately from sockaddrs.
this changes function prototype for __ivalid*.
This commit breaks binary compatibility for __ivalid*. I believe this can be

(rcmd.c) to make Zoularis happier, pass sa_len separately from sockaddrs.
this changes function prototype for __ivalid*.
This commit breaks binary compatibility for __ivalid*. I believe this can be
forgiven due to the following:
- this is not really exported function. no function prototype is in headers.
function name starts with underbars. No third-party applications are
expected to use it.
- the function was introduced very recently, when rcmd.c was made IPv6-ready.
- the only customer in NetBSD tree is lpd.

(lpd.c) sync with rcmd.c change.

show more ...


# 5b36a910 18-Feb-2000 itojun <itojun@NetBSD.org>

do not perform sleep() every time we get ECONNREFUSED.
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
in conne

do not perform sleep() every time we get ECONNREFUSED.
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
in connecting?

From: SHIMIZU Ryo <ryo@misakimix.org>

show more ...


# 0affd7a9 31-Jan-2000 itojun <itojun@NetBSD.org>

visit next addrinfo struct on socket failure.

this should fix the behavior of rcmd() on ipv4-only node, trying to
connect to dual stack node (AAAA and A record on DNS/hostname databaes)


# 5b1aaa93 27-Jan-2000 itojun <itojun@NetBSD.org>

add IPv6 support to rcmd() and friends.
rcmd() and iruserok(): unchanged
ruserok(): became address family independent
rcmd_af(), iruesrok_sa(): address family independent


# 967cbc51 22-Jan-2000 mycroft <mycroft@NetBSD.org>

Use a better type in previous.


# c6a0f46b 22-Jan-2000 mycroft <mycroft@NetBSD.org>

Delint.


# d8962612 20-Sep-1999 lukem <lukem@NetBSD.org>

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.


# b48252f3 16-Sep-1999 lukem <lukem@NetBSD.org>

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attemp

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif

show more ...


# 4620b004 04-Jul-1999 itojun <itojun@NetBSD.org>

add NetBSD RCSID on top.


# 180ff547 03-May-1999 christos <christos@NetBSD.org>

int -> socklen_t


# 3bb23659 16-Mar-1999 christos <christos@NetBSD.org>

- fix gcc-2.8.1 warnings
- portability fix: Don't use bindresvport() if !BSD4_4 because we could
be on an operating system where it takes different arguments (hint, hint).


# 38676913 15-Nov-1998 christos <christos@NetBSD.org>

delint


# 2c89343c 13-Nov-1998 christos <christos@NetBSD.org>

delint


# dfa4e2c8 18-Oct-1998 christos <christos@NetBSD.org>

Portability. Use #ifdef BSD4_4 for sin_len


# c4a835f8 26-Sep-1998 christos <christos@NetBSD.org>

Use posix signal system calls.


# e5d98237 26-Jul-1998 mycroft <mycroft@NetBSD.org>

const poisoning.


# 786b86d7 18-Jul-1998 lukem <lukem@NetBSD.org>

use AF_LOCAL instead of AF_UNIX


123