History log of /netbsd/lib/libc/rpc/bindresvport.c (Results 1 – 25 of 25)
Revision Date Author Comments
# 15c1b43e 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 ...


# 6c0ae2b0 05-Mar-2013 christos <christos@NetBSD.org>

make this usable from RUMP


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

Use C89 definitions
Remove use of __P


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


# 3fdac2b8 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


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

fix WARNS=2 (-Wshadow) warnings


# 3ee90709 06-Jul-2000 christos <christos@NetBSD.org>

elide non-portable casts


# 7df0ccba 02-Jun-2000 fvdl <fvdl@NetBSD.org>

Add new RPC code, based on Sun's TI-RPC code. Adapted to not use XTI,
but sockets instead, internally. Old, backward compatible interfaces
maintained.


# 5a38b81b 26-Jan-2000 itojun <itojun@NetBSD.org>

implement bindresvport_sa(), which is necessary for IPv6 support in certain
programs (like rshd or rlogind).

bindresvport() and bindresvport_sa() exhibits exactly the same functionality,
with differ

implement bindresvport_sa(), which is necessary for IPv6 support in certain
programs (like rshd or rlogind).

bindresvport() and bindresvport_sa() exhibits exactly the same functionality,
with different function prototype (sockaddr_in * and sockaddr *).

The behavior and prototype was discussed and agreed among shin@kame.net
(who is doing freebsd-current kame merge), deraadt@openbsd.org, and
Jean-Luc.Richier@imag.fr (INRIA IPv6/IPv6 RPC support). so it will be
portable across *bsd.

show more ...


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

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


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

int -> socklen_t


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


# bba06606 14-Jan-1998 lukem <lukem@NetBSD.org>

* use setsockopt(IP_PORTRANGE_LOW) instead of looping through the
address range (from freebsd).
* enhance the man page to be a bit more useful.


# 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


# 18ec2ba0 29-Mar-1996 jtc <jtc@NetBSD.org>

Add explict function return types


# 5860921e 03-Jun-1995 mycroft <mycroft@NetBSD.org>

Fill in sin_len.


# 3c565bbe 14-Apr-1995 jtc <jtc@NetBSD.org>

Changed bzero to memset.
Changed bcmp to memcmp.
Added #include <string.h> to bring prototypes into scope.


# 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