History log of /netbsd-src/lib/libc/rpc/rpc_callmsg.c (Results 1 – 20 of 20)
Revision Date Author Comments
# 47c0e0c3 11-Mar-2013 tron <tron@NetBSD.org>

Replace previous Sun Microsystems, Inc. license with a standard
BSD 3-clause license granted by Oracle America, Inc..
This license change was approved by Wim Coekaerts, Senior Vice President,
Linux a

Replace previous Sun Microsystems, Inc. license with a standard
BSD 3-clause license granted by Oracle America, Inc..
This license change was approved by Wim Coekaerts, Senior Vice President,
Linux and Virtualization at Oracle Corporation.

This fixes PR lib/45293 by Pedro Giffuni.

show more ...


# adb74221 20-Mar-2012 matt <matt@NetBSD.org>

Use C89 definitions
Remove use of __P


# c9cdc302 25-Apr-2008 christos <christos@NetBSD.org>

- always check malloc results
- don't leak fds on error
- don't cast malloc
- don't cast NULL


# 25cb0b1e 29-May-2003 christos <christos@NetBSD.org>

de-lint pointer casts.


# 7c5c8962 14-Jul-2000 fvdl <fvdl@NetBSD.org>

Use explicit int32 get/put macros. Needed for 64bit big-endian systems.


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

Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.


# 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 ...


# 6c13a3b8 20-Jan-1999 lukem <lukem@NetBSD.org>

* ensure memory is released if operations fail (in authunix_create(),
xdr_callmsg(), xprt_register(), svc_tcp(), svc_udp(), etc)
* don't attempt to close a socket filedescriptor if it's -1 (some fr

* ensure memory is released if operations fail (in authunix_create(),
xdr_callmsg(), xprt_register(), svc_tcp(), svc_udp(), etc)
* don't attempt to close a socket filedescriptor if it's -1 (some from
freebsd, some i found)
* make the initial xid a little more random (from freebsd)
* fix some spelos and tyops in comments (some from freebsd)
* use warn() instead of warnx() for many errors; the user probably
wants to know what the error code was.
* knf & whitespace nitpicks

show more ...


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

delint


# 46e6c5e8 13-Feb-1998 lukem <lukem@NetBSD.org>

* in get_myaddress(); always return sockaddr_in containing localhost:PMAP_PORT.
(as recommended in Weiste Venema's portmap5_beta distribution)
* deprecate register
* use memmove instead of bcopy
*

* in get_myaddress(); always return sockaddr_in containing localhost:PMAP_PORT.
(as recommended in Weiste Venema's portmap5_beta distribution)
* deprecate register
* use memmove instead of bcopy
* KNF includes
* use err/warn() instead of perror/fprintf(stderr,)
* fix some typos

show more ...


# ce147c1c 12-Feb-1998 lukem <lukem@NetBSD.org>

revert; we can't break the existing ABI and API


# a31739bc 10-Feb-1998 lukem <lukem@NetBSD.org>

major cleanup (to sync with changes made in include/rpc/*.h):
* use int32_t, size_t, in_port_t instead of long, u_int, u_short as appropriate
* use uid_t and gid_t instead of int
* KNF, fix typos and

major cleanup (to sync with changes made in include/rpc/*.h):
* use int32_t, size_t, in_port_t instead of long, u_int, u_short as appropriate
* use uid_t and gid_t instead of int
* KNF, fix typos and spellos
* use const as appropriate
* deprecate register
* use memmove instead of bcopy
* use err/warn()

show more ...


# 43fa6fe3 21-Jul-1997 jtc <jtc@NetBSD.org>

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.

This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.

show more ...


# c63c52b2 13-Jul-1997 christos <christos@NetBSD.org>

Fix RCSID's
Fix gcc warnings.
Add missing prototypes


# ebd5bdf6 20-Dec-1996 cgd <cgd@NetBSD.org>

string.h for prototypes


# 2583d406 29-Apr-1995 cgd <cgd@NetBSD.org>

change some of the rpc "on-the-wire" structures' fields to be explicitly-sized
types. add xdr_{,u_}int{16,32}_t() functions to convert them.
This is necessary, because things like BPF use the RPC he

change some of the rpc "on-the-wire" structures' fields to be explicitly-sized
types. add xdr_{,u_}int{16,32}_t() functions to convert them.
This is necessary, because things like BPF use the RPC headers to look
at the on-the-wire data, so the headers must accurately represent
what's on the wire, too.

show more ...


# 9e15c989 25-Feb-1995 cgd <cgd@NetBSD.org>

save my sanity; stop using Id.


# 2e2a3a25 04-Dec-1994 cgd <cgd@NetBSD.org>

be much more careful with types, and add prototype everything.


# 63d7b677 07-Oct-1993 cgd <cgd@NetBSD.org>

move the rpc code into libc