summaryrefslogtreecommitdiffstats
path: root/include/rpc/svc.h
Commit message (Collapse)AuthorAgeFilesLines
* Add sunrpc compat define for xp_sock.pfg2016-03-031-0/+1
| | | | | | | | | SunRPC is using xp_sock in SVCXPRT, while TI-RPC is using xp_fd. Add a compatibility define. Illumos has something similar for the non-kernel case. Obtained from: linux-nfs project (git 0d94036c3a0d4c24d22bf6a8c40ac6625d972c29)
* Replace Sun RPC license in TI-RPC library with a 3-clause BSD license,hrs2013-11-251-25/+24
| | | | with the explicit permission of Sun Microsystems in 2009.
* Revert r240060: (Partial)pfg2012-09-021-7/+0
| | | | | | | | | | | __BEGIN_DECLS and __END_DECLS in cdefs.h take care of the __cplusplus mangling issues so most of the definitions were redundant. In the few places where they were not redundant we should use BSD style instead of the guards used upstream. Reported by: Yuri Pankov
* Fix RPC headers for C++pfg2012-09-021-0/+7
| | | | | | | | | C++ mangling will cause trouble with variables like __rpc_xdr in xdr.h so rename this to XDR. While here add proper C++ guards to RPC headers. PR: 137443 MFC after: 2 weeks
* Change some headers such that lang/gcc* ports no longer patch them.tijl2012-02-141-3/+3
| | | | | | | The lang/gcc* ports patch headers where they think something is non-standard. These patched headers override the system headers which means you have to rebuild these ports whenever you do installworld to make sure they contain the latest changes.
* Spelling fixes for include/uqs2012-01-071-1/+1
|
* Add an implementation of the RPCSEC_GSS authentication protocol for RPC. Thisdfr2008-08-061-0/+43
| | | | | | | | is based on an old implementation from the University of Michigan with lots of changes and fixes by me and the addition of a Solaris-compatible API. Sponsored by: Isilon Systems Reviewed by: alfred
* Replace the old SCM_CREDS cred procedures. They can now bembr2003-06-151-5/+0
| | | | | | | | | replaced just fine with getpeereid() and the whole code gets a lot simpler. We don't break the ABI, since all server programms use __rpc_get_local_uid(), and we just change library internals. Reviewed by: des
* Implement non-blocking tcp-connections.mbr2003-01-161-0/+7
| | | | | | Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-281-4/+4
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Breath deep and take __P out of the system include files.imp2002-03-231-50/+48
| | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
* Move arguments in prototype out of application namespace.des2002-02-051-1/+1
| | | | Sponsored by: DARPA, NAI Labs
* Add compatibility functions for the AF_LOCAL RPC transport stuffwpaul2001-10-041-0/+10
| | | | | that used to live in RPC 4.0. This is needed for yppasswd and rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
* forgot prototyle for __rpc_get_local_uid()alfred2001-03-221-0/+2
|
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-61/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-1/+1
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Don't declare functions without a prototype if KERNEL is defined. Thisbde1998-09-211-1/+3
| | | | fixes lots of warnings about missing prototypes in sys/netatm/spans/*.
* Added a forward struct declaration so that this file is lessbde1998-01-161-1/+3
| | | | self-insufficent.
* Resolve conflicts.wpaul1997-05-281-3/+5
|
* Back out all of yesterdays include file changes.eivind1997-05-071-6/+1
|
* Make a lot of include-files self-contained. I excluded the patches changingeivind1997-05-071-1/+6
| | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org>
* Revert $FreeBSD$ to $Id$peter1997-02-231-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Missed prototype for svc_getreqset2()peter1996-12-311-1/+2
|
* First commit of a series of cleanups for the libc rpc code which has beenpeter1996-12-301-17/+32
| | | | | | | | | | | suffering a bad case neglect for the last few years. - Add full prototypes, including to function pointers. - Make the wire protocols 64-bit type safe, eg: 32 bit quantities are int32_t, not long. The orginal rpc code was implemented when an int could be 16 bits. Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
* Fix a bunch of spelling errors in the comment fieldsmpp1996-01-301-3/+3
| | | | of a bunch of system include files.
* Remove trailing whitespace.rgrimes1995-05-301-12/+12
|
* Remove a couple of nested comments.phk1995-02-241-2/+2
|
* Use the header files that are compatible with the code just moved overwollman1994-08-071-26/+48
| | | | from 1.1.5.
* Install RPC headers from include, like they always should have been.wollman1994-08-041-0/+280
OpenPOWER on IntegriCloud