summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcinfo/rpcinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a misspelling of '\0' as NULL.bde2004-03-111-1/+1
|
* Add FBSDID. Use errx() instead of fprintf()/exit(). Call exit() at the endcharnier2003-09-071-92/+44
| | | | of usage() and make the code aware of that.
* Change the name for the local unix-socket based protocolmbr2002-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
* Remove local prototypes for main().jmallett2002-08-191-2/+0
|
* Usage style sweep: spell "usage" with a small 'u'.des2002-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}/.
* The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacksalfred2002-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
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-391/+1445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* getopt and friends are declared in <unistd.h>imp2000-09-041-2/+1
| | | | getopt returns -1 not EOF.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* #include <arpa/inet.h>peter1998-06-121-3/+2
|
* Don't assume that hp->h_lenght == 4. Be conservative in its use.imp1998-06-091-4/+7
| | | | Submitted by: J. Assange a long time ago.
* Use err(3), cosmetic in usage().charnier1997-08-061-24/+18
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-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.
* Remove trailing whitespace.rgrimes1995-05-301-11/+11
|
* Move rpcinfo program over from 1.1.5. Based on original work by J.T. Conklinwollman1994-08-071-0/+666
in 1.x.
OpenPOWER on IntegriCloud