summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/auth_none.c
AgeCommit message (Collapse)Author
2013-03-11Replace previous Sun Microsystems, Inc. license with a standardtron
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.
2012-03-20Use C89 definitionsmatt
Remove use of __P
2001-01-16rename MAX_MARSHEL_SIZE to MAX_MARSHAL_SIZElukem
2000-01-22Delint.mycroft
Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
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
1999-01-20* ensure memory is released if operations fail (in authunix_create(),lukem
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
1998-07-26constify some tables.mycroft
1998-02-13* in get_myaddress(); always return sockaddr_in containing localhost:PMAP_PORT.lukem
(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
1998-02-12revert; we can't break the existing ABI and APIlukem
1998-02-11use u_int32_t instead of size_t...lukem
1998-02-10major cleanup (to sync with changes made in include/rpc/*.h):lukem
* 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()
1997-07-21If port provides __weak_alias(), provide an Standard C and POSIX purejtc
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>.
1997-07-13Fix RCSID'schristos
Fix gcc warnings. Add missing prototypes
1995-02-25save my sanity; stop using Id.cgd
1994-12-04be much more careful with types, and add prototype everything.cgd
1993-10-07move the rpc code into libccgd