summaryrefslogtreecommitdiff
path: root/usr.bin/rpcinfo
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a misspelling of '\0' as NULL.Bruce Evans2004-03-111-1/+1
| | | | Notes: svn path=/head/; revision=126840
* Add FBSDID. Use errx() instead of fprintf()/exit(). Call exit() at the endPhilippe Charnier2003-09-071-92/+44
| | | | | | | of usage() and make the code aware of that. Notes: svn path=/head/; revision=119849
* Change the name for the local unix-socket based protocolMartin Blapp2002-12-161-1/+1
| | | | | | | | | | | | from "unix" back to "local". Add some compat stuff so both ways work for some time. Reviewed by: phk Approved by: imp (UPDATING) Requested by: iedowse, lukem@netbsd.org Notes: svn path=/head/; revision=107952
* The .Nm utilityPhilippe Charnier2002-10-161-1/+2
| | | | Notes: svn path=/head/; revision=105258
* Remove local prototypes for main().Juli Mallett2002-08-191-2/+0
| | | | Notes: svn path=/head/; revision=102084
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
| | | | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. Notes: svn path=/head/; revision=95258
* The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacksAlfred Perlstein2002-02-051-16/+18
| | | | | | | | | | | | | | | | were removed and replaced them with clnt_tp_create, now the af_local support is fixed. I also removed the hack how rpcinfo contacted rpcbind, now we can relay on clnt_tp_create create the client-handle for us. Only rpcbind itself needs a hardcoded socket-path. Submitted by: mbr Also add $FreeBSD Notes: svn path=/head/; revision=90256
* Remove whitespace at EOL.Dima Dorfman2001-07-151-17/+17
| | | | Notes: svn path=/head/; revision=79755
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74848
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-03-193-507/+1743
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-5/+5
| | | | Notes: svn path=/head/; revision=68963
* getopt and friends are declared in <unistd.h>Warner Losh2000-09-041-2/+1
| | | | | | | getopt returns -1 not EOF. Notes: svn path=/head/; revision=65428
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* #include <arpa/inet.h>Peter Wemm1998-06-121-3/+2
| | | | Notes: svn path=/head/; revision=36912
* Don't assume that hp->h_lenght == 4. Be conservative in its use.Warner Losh1998-06-091-4/+7
| | | | | | | Submitted by: J. Assange a long time ago. Notes: svn path=/head/; revision=36792
* Use err(3), cosmetic in usage().Philippe Charnier1997-08-062-30/+24
| | | | Notes: svn path=/head/; revision=27936
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-11/+11
| | | | Notes: svn path=/head/; revision=8874
* Move rpcinfo program over from 1.1.5. Based on original work by J.T. ConklinGarrett Wollman1994-08-073-0/+840
in 1.x. Notes: svn path=/head/; revision=1900