summaryrefslogtreecommitdiffstats
path: root/include/rpcsvc
Commit message (Collapse)AuthorAgeFilesLines
* MFC r258580:hrs2014-10-0916-423/+454
| | | | | | | | | | | | | | | | | | | | | Replace Sun RPC license in TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009. MFC r258581, 258582: Replace Sun Industry Standards Source License for Sun RPC code with a 3-clause BSD license as specified by Oracle America, Inc. in 2010. This license change was approved by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation. MFC r259117, 259118: Replace Sun RPC license with a 3-clause BSD license. This license change was approved in 2010 by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation. MFC r259417: Replace Sun RPC license for TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009. The code in question in this file was copied from lib/libc/rpc/pmap_getport.c.
* - Correct mispellings of the word necessarygabor2013-04-171-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
* Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessordim2012-02-071-1/+1
| | | | | | set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week
* Spelling fixes for include/uqs2012-01-073-6/+6
|
* Fix ypwhich -m. This should be MFC'ed back at least as far as RELENG_5.peter2005-12-061-1/+1
| | | | | Submitted by: Gil Kloepfer <gil@arlut.utexas.edu> PR: 64445
* Correct some types in the yp structures; this fixes a number of problemstmm2004-05-271-14/+14
| | | | | on sparc64. Obtained from and cross-checked with the NetBSD version of this file and the rpcgen-generated code.
* Argh. Forward declare some structs rather than increase include filepeter2003-10-261-0/+2
| | | | dependencies.
* Prototype yp_maplist()peter2003-10-261-0/+1
|
* Use __FBSDID vs. rcsid[].obrien2003-05-0421-57/+41
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Add prototypes for rstat(3) and havedisk(3).alfred2002-10-011-0/+7
| | | | | Requested by: kris, Emil Mikulic <emikulic@optushome.com.au> MFC After: 1 day
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-281-8/+2
| | | | | | Add $FreeBSD$. Submitted by: keramida
* Added new bsd.incs.mk which handles installing of header filesru2002-05-121-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-281-2/+2
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Missed a __P in a .x file, remove it anywayimp2002-03-241-1/+1
|
* Breath deep and take __P out of the system include files.imp2002-03-233-170/+10
| | | | | | # 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.
* rename 'enum res' and 'struct status' to 'enum sm_res' and 'struct sm_status'alfred2002-03-221-3/+3
| | | | to avoid -Wshadow warnings in consumers of its generated header files.
* Apply the following mechanical transformations in preparation fordes2002-02-062-24/+24
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-4/+0
|
* Implement client side NFS locks.alfred2001-04-171-3/+10
| | | | | Obtained from: BSD/os Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-193-8/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
* remove unneeded sys/ucred.h includealfred2000-11-301-1/+0
|
* $Id$ -> $FreeBSD$peter1999-08-2723-25/+41
|
* Make rcsid a const char[] instead of char[] to avoid compiler warningsarchie1998-12-0610-10/+10
|
* Build headers with -DWANT_NFS3.obrien1998-09-171-2/+2
| | | | (finishing up on Amd upgrade)
* Fix tons of cut-n-paste errors in the WANT_NFS3 code.obrien1998-09-061-14/+16
|
* Uncommit the generated file key_prot.h. Install it from where itbde1998-02-131-1/+3
| | | | | | | | | is generated. It must be installed in both /usr/include/rpc/ and /usr/include/rpcsvc/ for historical reasons. The generated version was once missing ANSI prototypes because the wrong flags were passed to rpcgen, but that is fixed now. The committed version had `#pragma indent' which gratuitously broke K&R support. Apart from this, all versions before and after this commit are identical.
* Invoke rpcgen with -C so that headers are created with ANSI prototypes.wpaul1998-01-191-2/+2
| | | | | | | | | | | | | | | Note: this may cause some problems in a few cases. With very old versions of rpcgen, if you defined a procedure called foo, then rpcen would create client stubs for function foo_1() and server stubs _also_ with function foo_1(). This only worked because of the lack of ANSI prototypes: the client side stub takes different arguments than the server side stub. (The client side takes a CLIENT * handle, while the server side wants an svc_req *.) To fix this conflict, rpcgen in ANSI mode generates foo_1() for the client and foo_1_svc() for the server. RPC server code that depends on the old behavior might break because of this. (Fixing it is just a matter of adding the _svc suffix onto the server procedure names.)
* Fixed pedantic syntax error (trailing comma in enum).bde1998-01-161-1/+3
|
* Removed `#pragma ident' (for a FreeBSD Id) so that the K&R supportbde1998-01-164-4/+0
| | | | | | | | isn't gratuitously broken. This also prevents ANSI compilers from recognizing the pragma as a request to run /usr/games/hack... FreeBSD Ids should be in comments or rcsids, not in `#pragma ident's (which are equivalent to comments when compiled by gcc), and the only FreeBSD change in this file seems to be adding the Id.
* Commented out `#pragma ident' (for a Sun id) so that the K&R supportbde1998-01-161-1/+1
| | | | | isn't gratuitously broken. This also prevents ANSI compilers from recognizing the pragma as a request to run /usr/games/hack...
* Removed redundant declarations. rpcgen generates `typedef enum foo;'bde1998-01-161-5/+2
| | | | from `enum foo;'.
* Made this header self-sufficent. It had unnecessary dependencies onbde1998-01-161-2/+6
| | | | | <sys/cdefs.h>, <sys/types.h>, <rpcsvc/yp_prot.h>, and on the latter's prerequisites (5 more).
* Fixed a missing dependency.bde1998-01-161-1/+3
|
* Add Ids, from lite2.charnier1997-11-243-3/+11
|
* Remove sccsid, not present in Lite2.charnier1997-11-203-14/+3
|
* Add const to rcsid[] definition so that -Wall will not complain.charnier1997-10-313-8/+17
|
* Removed installhdrs target. It was an unnecessary complication.bde1997-09-161-4/+2
|
* Fix and simplify installhdrs target. It didn't install the headers inbde1997-08-211-7/+4
| | | | ${HFILES} and it's simpler to install the non-headers in ${XFILES}.
* fix a problem with headers not being installed properly... basicly thejmg1997-08-211-3/+8
| | | | | | | installhdrs target was not being propagated to the subdirs... also fix rpcsvc's Makefile to have a installhdrs target to install the headers..
* Undo small change I accidentally left in while testing (files werewpaul1997-05-281-3/+2
| | | | | | installed with wrong ownerships). Pointed out by: bde
* Resolve conflicts.wpaul1997-05-2815-60/+110
|
* This commit was generated by cvs2svn to compensate for changes in r26206,wpaul1997-05-2811-0/+2307
| | | | which included commits to RCS files with non-trunk default branches.
* Back out all of yesterdays include file changes.eivind1997-05-071-3/+1
|
* Back out part of yesterdays changes. They were obviously not tested welleivind1997-05-071-4/+1
| | | | | | | enough :-( (With backout on this file, libc compiles. 'make world' isn't finished yet.) Pointed out by: Oliver Roberts
* Make a lot of include-files self-contained. I excluded the patches changingeivind1997-05-072-2/+7
| | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org>
* Add protocol definitions for NFSv3. Use -DWANT_NFS3 with rpcgen to getdfr1997-04-182-4/+1001
| | | | | | the new protocol. Obtained from: rfc1813
* Revert $FreeBSD$ to $Id$peter1997-02-2317-18/+18
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1417-18/+18
| | | | | | | | 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.
OpenPOWER on IntegriCloud