aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.statd
Commit message (Collapse)AuthorAgeFilesLines
* (sm_mon_1_svc): Fix debugging output: when establising a monitoringThomas Quinot2006-08-111-2/+3
| | | | | | | | | | | | request, correctly report the location (usually localhost) to which a callback will be made when a notification is received for the monitored host. Previsouly, the name of the monitored host was reported instead. MFC after: 2 weeks Notes: svn path=/head/; revision=161228
* Sort sections.Ruslan Ermilov2005-01-181-3/+3
| | | | Notes: svn path=/head/; revision=140442
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-8/+15
| | | | Notes: svn path=/head/; revision=131500
* Add FBSDID. Use getopt(3).Philippe Charnier2004-04-041-11/+15
| | | | Notes: svn path=/head/; revision=127861
* Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2Peter Wemm2003-10-263-3/+5
| | | | | | | (but I haven't turned it on) Notes: svn path=/head/; revision=121560
* style.Makefile(5)David E. O'Brien2003-04-041-3/+0
| | | | Notes: svn path=/head/; revision=113091
* Implement nonblocking tpc-connections. rpcgen -m does stillMartin Blapp2003-01-161-0/+4
| | | | | | | | | | | produce backcompatible code. Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day Notes: svn path=/head/; revision=109363
* use getaddrinfo() instead of gethostbyname().Alfred Perlstein2002-07-151-5/+11
| | | | | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Notes: svn path=/head/; revision=100126
* Nuke unused variable.Alfred Perlstein2002-07-151-1/+0
| | | | Notes: svn path=/head/; revision=100125
* Port to TI/RPC and/or IPV6.Alfred Perlstein2002-07-151-11/+3
| | | | | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Notes: svn path=/head/; revision=100120
* The .Nm utilityPhilippe Charnier2002-07-141-3/+7
| | | | Notes: svn path=/head/; revision=99968
* mark unused variable.Alfred Perlstein2002-07-111-1/+1
| | | | Notes: svn path=/head/; revision=99804
* conditionally set WARNS via ?=.Alfred Perlstein2002-07-111-2/+2
| | | | Notes: svn path=/head/; revision=99803
* make mostly WARNS=4 clean.Alfred Perlstein2002-07-115-9/+12
| | | | | | | constify, mark unsued args, fixup prototypes. Notes: svn path=/head/; revision=99798
* Log the IP of the machine if an invalid host is passed over the wire.Alfred Perlstein2002-07-111-1/+4
| | | | | | | PR: bin/29406 Notes: svn path=/head/; revision=99795
* Fix return values in the sm_notify_1 service routine to return an answerAlfred Perlstein2002-07-111-3/+3
| | | | | | | | | | | | most of the time (unless fork fails). This should fix the problem where FreeBSD won't respond to a remote host and therefor the remote hosts tries indefinitely to contact the FreeBSD hosts thereby irritating the system administrator. PR: misc/27810 Notes: svn path=/head/; revision=99791
* Fix syslog format errors introduced in 1.6.Alfred Perlstein2002-07-111-3/+3
| | | | Notes: svn path=/head/; revision=99790
* add includes for inet_ntoa prototype.Alfred Perlstein2002-07-111-0/+4
| | | | Notes: svn path=/head/; revision=99789
* include string.h for strcmp(3) prototype.Alfred Perlstein2002-07-111-0/+1
| | | | Notes: svn path=/head/; revision=99787
* include stdlib.h for exit(3) prototype.Alfred Perlstein2002-07-111-0/+1
| | | | Notes: svn path=/head/; revision=99786
* Do not allow unsafe characters in monitored hostnames.Alfred Perlstein2002-07-112-38/+95
| | | | | | | | | | This is modified version of the fix posted in the PR, I've taken Wollman's advice and used strvis(3) to properly show invalid hostnames. PR: bin/39815 Notes: svn path=/head/; revision=99783
* 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
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-5/+5
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74532
* Included in the updated version of tirpc's sm_inter.x Sun added theAlfred Perlstein2001-03-201-23/+2
| | | | | | | | | | | | | | | SM_NOTIFY procedure. Remove our hand-coded one as it was causing world breakage for worlds compiled with NOSHARED=yes because the static linker is a bit less forgiving (or not as broken as) our dynamic linker. Add $FreeBSD$ while I'm here. Pointed out by: bde Notes: svn path=/head/; revision=74499
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-03-191-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Ermilov2000-12-271-2/+2
| | | | Notes: svn path=/head/; revision=70403
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68965
* Undo previous change.Marcel Moolenaar1999-10-051-1/+1
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=51948
* sigset_t change (part 5 of 5)Marcel Moolenaar1999-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround. Notes: svn path=/head/; revision=51794
* $Id$ -> $FreeBSD$Peter Wemm1999-08-285-5/+5
| | | | Notes: svn path=/head/; revision=50479
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48791
* Removed bogus dependencies of generated .c files on generated headers.Bruce Evans1998-05-101-2/+2
| | | | Notes: svn path=/head/; revision=35910
* Don't use the FreeBSD misfeature DPSRCS or give explicit dependenciesBruce Evans1998-03-061-3/+2
| | | | | | | | on generated headers. Just put generated headers in SRCS so that bsd.*.mk can generate better dependencies. Notes: svn path=/head/; revision=34082
* Use err(3). Add usage() and #includes.Philippe Charnier1997-10-135-52/+49
| | | | Notes: svn path=/head/; revision=30376
* Typo fix: ${.DESTDIR} -> ${DESTDIR}.Satoshi Asami1997-05-231-2/+2
| | | | | | | Reviewed by: bde Notes: svn path=/head/; revision=26053
* Typo police.Mike Pritchard1997-03-161-4/+4
| | | | | | | Partially obtained from: NetBSD PR# 3333 Notes: svn path=/head/; revision=23929
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22997
* Sort cross references.Wolfram Schneider1997-01-201-2/+2
| | | | Notes: svn path=/head/; revision=21880
* Sweep through the tree fixing mmap() usage:Alexander Langer1997-01-161-1/+1
| | | | | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde Notes: svn path=/head/; revision=21786
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Add sm_inter.h to DPSRCS so that make depend is not required to buildNate Williams1996-07-091-1/+2
| | | | | | | this. Notes: svn path=/head/; revision=17050
* Correct the rpc.lockd and rpc.statd man pages to not referenceMike Pritchard1996-04-071-1/+1
| | | | | | | | | their path names in the synopsis line (especially since they referenced the wrong path!). Corrected some other minor problems with the rpc.lockd man page. Notes: svn path=/head/; revision=15096
* Some minor tweaks for statdPeter Wemm1996-04-014-101/+25
| | | | | | | | | - use rpcgen to generate unmodified code instead of havinf it in the repository - use "natural" function names to avoid conflicts with prototypes etc. Notes: svn path=/head/; revision=14982
* Import Jan 15 version of Andrew Gordon <andrew.gordon@net-tel.co.uk>'sPeter Wemm1996-02-177-0/+1321
rpc.statd. This is apparently fully functional and complete. Notes: svn path=/cvs2svn/branches/A_GORDON/; revision=14125