aboutsummaryrefslogtreecommitdiff
path: root/include/rpcsvc
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge from head@274682Simon J. Gerraty2014-11-191-8/+3
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=274683
| * Merge headSimon J. Gerraty2014-04-2816-423/+454
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * \ Merge from headSimon J. Gerraty2013-09-051-1/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | Fix build with rpcgen using a recent (tested with gcc 4.9.1) GNU cppBaptiste Daroussin2014-10-091-8/+3
| |_|/ |/| | | | | | | | Notes: svn path=/head/; revision=272808
* | | Replace Sun RPC license with a 3-clause BSD license. This license changeHiroki Sato2013-12-0916-423/+454
| |/ |/| | | | | | | | | | | | | was approved in 2010 by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation. Notes: svn path=/head/; revision=259117
* | - Correct mispellings of the word necessaryGabor Kovesdan2013-04-171-1/+1
|/ | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail) Notes: svn path=/head/; revision=249583
* Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessorDimitry Andric2012-02-071-1/+1
| | | | | | | | | set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week Notes: svn path=/head/; revision=231118
* Spelling fixes for include/Ulrich Spörlein2012-01-073-6/+6
| | | | Notes: svn path=/head/; revision=229781
* Fix ypwhich -m. This should be MFC'ed back at least as far as RELENG_5.Peter Wemm2005-12-061-1/+1
| | | | | | | | Submitted by: Gil Kloepfer <gil@arlut.utexas.edu> PR: 64445 Notes: svn path=/head/; revision=153149
* Correct some types in the yp structures; this fixes a number of problemsThomas Moestl2004-05-271-14/+14
| | | | | | | | on sparc64. Obtained from and cross-checked with the NetBSD version of this file and the rpcgen-generated code. Notes: svn path=/head/; revision=129777
* Argh. Forward declare some structs rather than increase include filePeter Wemm2003-10-261-0/+2
| | | | | | | dependencies. Notes: svn path=/head/; revision=121577
* Prototype yp_maplist()Peter Wemm2003-10-261-0/+1
| | | | Notes: svn path=/head/; revision=121549
* Use __FBSDID vs. rcsid[].David E. O'Brien2003-05-0421-57/+41
| | | | Notes: svn path=/head/; revision=114629
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-1/+1
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* Add prototypes for rstat(3) and havedisk(3).Alfred Perlstein2002-10-011-0/+7
| | | | | | | | Requested by: kris, Emil Mikulic <emikulic@optushome.com.au> MFC After: 1 day Notes: svn path=/head/; revision=104311
* Assume __STDC__, remove non-__STDC__ code.Alfred Perlstein2002-05-281-8/+2
| | | | | | | | | Add $FreeBSD$. Submitted by: keramida Notes: svn path=/head/; revision=97406
* Added new bsd.incs.mk which handles installing of header filesRuslan Ermilov2002-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". Notes: svn path=/head/; revision=96462
* Spell void * as void * rather than caddr_t. This is complicated by theDag-Erling Smørgrav2002-04-281-2/+2
| | | | | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95658
* Missed a __P in a .x file, remove it anywayWarner Losh2002-03-241-1/+1
| | | | Notes: svn path=/head/; revision=93064
* Breath deep and take __P out of the system include files.Warner Losh2002-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. Notes: svn path=/head/; revision=93032
* rename 'enum res' and 'struct status' to 'enum sm_res' and 'struct sm_status'Alfred Perlstein2002-03-221-3/+3
| | | | | | | to avoid -Wshadow warnings in consumers of its generated header files. Notes: svn path=/head/; revision=92970
* Apply the following mechanical transformations in preparation forDag-Erling Smørgrav2002-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 Notes: svn path=/head/; revision=90297
* Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov2001-08-132-4/+0
| | | | Notes: svn path=/head/; revision=81586
* Implement client side NFS locks.Alfred Perlstein2001-04-171-3/+10
| | | | | | | | Obtained from: BSD/os Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org Notes: svn path=/head/; revision=75631
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-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 Notes: svn path=/head/; revision=74462
* Fix typo: seperate -> separate.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | | | Seperate does not exist in the english language. Submitted to look at by: kris Notes: svn path=/head/; revision=72089
* remove unneeded sys/ucred.h includeAlfred Perlstein2000-11-301-1/+0
| | | | Notes: svn path=/head/; revision=69394
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2723-25/+41
| | | | Notes: svn path=/head/; revision=50473
* Make rcsid a const char[] instead of char[] to avoid compiler warningsArchie Cobbs1998-12-0610-10/+10
| | | | Notes: svn path=/head/; revision=41557
* Build headers with -DWANT_NFS3.David E. O'Brien1998-09-171-2/+2
| | | | | | | (finishing up on Amd upgrade) Notes: svn path=/head/; revision=39429
* Fix tons of cut-n-paste errors in the WANT_NFS3 code.David E. O'Brien1998-09-061-14/+16
| | | | Notes: svn path=/head/; revision=38879
* Uncommit the generated file key_prot.h. Install it from where itBruce Evans1998-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. Notes: svn path=/head/; revision=33298
* Invoke rpcgen with -C so that headers are created with ANSI prototypes.Bill Paul1998-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.) Notes: svn path=/head/; revision=32624
* Fixed pedantic syntax error (trailing comma in enum).Bruce Evans1998-01-161-1/+3
| | | | Notes: svn path=/head/; revision=32556
* Removed `#pragma ident' (for a FreeBSD Id) so that the K&R supportBruce Evans1998-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. Notes: svn path=/head/; revision=32555
* Commented out `#pragma ident' (for a Sun id) so that the K&R supportBruce Evans1998-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... Notes: svn path=/head/; revision=32554
* Removed redundant declarations. rpcgen generates `typedef enum foo;'Bruce Evans1998-01-161-5/+2
| | | | | | | from `enum foo;'. Notes: svn path=/head/; revision=32553
* Made this header self-sufficent. It had unnecessary dependencies onBruce Evans1998-01-161-2/+6
| | | | | | | | <sys/cdefs.h>, <sys/types.h>, <rpcsvc/yp_prot.h>, and on the latter's prerequisites (5 more). Notes: svn path=/head/; revision=32552
* Fixed a missing dependency.Bruce Evans1998-01-161-1/+3
| | | | Notes: svn path=/head/; revision=32551
* Add Ids, from lite2.Philippe Charnier1997-11-243-3/+11
| | | | Notes: svn path=/head/; revision=31387
* Remove sccsid, not present in Lite2.Philippe Charnier1997-11-203-14/+3
| | | | Notes: svn path=/head/; revision=31305
* Add const to rcsid[] definition so that -Wall will not complain.Philippe Charnier1997-10-313-8/+17
| | | | Notes: svn path=/head/; revision=30870
* Removed installhdrs target. It was an unnecessary complication.Bruce Evans1997-09-161-4/+2
| | | | Notes: svn path=/head/; revision=29504
* Fix and simplify installhdrs target. It didn't install the headers inBruce Evans1997-08-211-7/+4
| | | | | | | ${HFILES} and it's simpler to install the non-headers in ${XFILES}. Notes: svn path=/head/; revision=28542
* fix a problem with headers not being installed properly... basicly theJohn-Mark Gurney1997-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.. Notes: svn path=/head/; revision=28524
* Undo small change I accidentally left in while testing (files wereBill Paul1997-05-281-3/+2
| | | | | | | | | installed with wrong ownerships). Pointed out by: bde Notes: svn path=/head/; revision=26248