aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/rup
Commit message (Collapse)AuthorAgeFilesLines
* Style only; format function declarations, sort header includes, andMark Murray2002-04-281-20/+26
| | | | | | | use __FBSDID(). Notes: svn path=/head/; revision=95616
* Use `The .Nm utility'Philippe Charnier2002-04-201-4/+6
| | | | Notes: svn path=/head/; revision=95124
* If the remote uptime is less than one minute, print the uptime inBill Fenner2001-10-171-0/+2
| | | | | | | seconds instead of leaving the uptime field blank. Notes: svn path=/head/; revision=85039
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: sort xrefs.Ruslan Ermilov2001-07-051-2/+2
| | | | Notes: svn path=/head/; revision=79280
* Call clnt_destroy() to prevent exhausting resources.Mike Heffner2001-06-191-0/+2
| | | | | | | | | PR: bin/14255 Reviewed by: Kenji Tomita <tommy@ti.com> MFC after: 2 weeks Notes: svn path=/head/; revision=78456
* Correct cross-reference:Maxim Sobolev2001-06-071-2/+2
| | | | | | | | | portmap.8 --> rpcbind.8 Submitted by: .Xr testing script Notes: svn path=/head/; revision=77878
* mdoc(7) police: cosmetics.Ruslan Ermilov2001-04-161-1/+1
| | | | Notes: svn path=/head/; revision=75546
* mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section.Dima Dorfman2001-04-131-1/+1
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=75495
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+0
| | | | Notes: svn path=/head/; revision=74848
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/head/; revision=71102
* mdoc(7) police: use certified section headers wherever possible.Ruslan Ermilov2000-11-171-1/+1
| | | | Notes: svn path=/head/; revision=68854
* getopt and friends are declared in <unistd.h>Warner Losh2000-09-041-1/+0
| | | | | | | getopt returns -1 not EOF. Notes: svn path=/head/; revision=65428
* Use .PaPhilippe Charnier2000-03-261-2/+3
| | | | Notes: svn path=/head/; revision=58619
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* PR: bin/6193Daniel O'Callaghan1998-04-011-2/+2
| | | | | | | | Submitted by: Max Euston <meuston@jmrodgers.com> Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx Notes: svn path=/head/; revision=34993
* Silence a warning with a cast.Jordan K. Hubbard1997-09-151-2/+2
| | | | Notes: svn path=/head/; revision=29468
* Use err(3), so eliminate use of `argv0'.Philippe Charnier1997-08-072-27/+24
| | | | Notes: svn path=/head/; revision=27955
* 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
* Fix bug found by newly visible prototypes in rpc. The code was passingPeter Wemm1996-12-301-2/+5
| | | | | | | an in to a function instead of a "struct timeval". Notes: svn path=/head/; revision=21093
* Fix a bunch of spelling errors in a bunch of man pages.Mike Pritchard1996-01-301-2/+2
| | | | Notes: svn path=/head/; revision=13744
* Amend my fix a bit. My way failed to take leap years into account. TheBill Paul1995-11-211-11/+4
| | | | | | | | | | simplest thing is to just calculate the days using curtime - boottime / 86400. The modification for this is less obtrusive anyway. Suggested by: Bill Fenner <fenner@parc.xerox.com> Notes: svn path=/head/; revision=12445
* Rup uses tm_yday in its uptime printout, but ignores tm_year. This meansBill Paul1995-11-191-3/+11
| | | | | | | | | | | that if you do an rup on a machine that's been running longer than a year, you get the wrong day count. Now we factor in 365 * (curtime.tm_year - boottime.tm_year) to get the correct value. (I noticed this while running rup on a SunOS machine I have that's been up 525 days. My FreeBSD machines all said it had only been up for 160 (525-365) days. :) Notes: svn path=/head/; revision=12384
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-6/+6
| | | | Notes: svn path=/head/; revision=8874
* Fixed a typo. Seems this manual page has stemmed from the rwallAndreas Schulz1994-11-181-2/+2
| | | | | | | man page :-). Notes: svn path=/head/; revision=4654
* rup from FreeBSD 1.1.5.1Geoff Rehmet1994-08-283-0/+330
Reviewed by: Geoff Submitted by: John Brezak Notes: svn path=/cvs2svn/branches/FBSD_1/; revision=2343