summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.statd
AgeCommit message (Collapse)Author
2003-04-07More e.g. cleanup. Igor Sobrado, PR 19692.wiz
2003-01-05Use <bsd.rpc.mk>sommerfeld
2002-12-21hardware with a d, from Adrian Mrva.wiz
2002-11-08Use a non-blocking SVC for TCP connections.fvdl
2002-02-02Sort sections.wiz
2002-01-31Make sure DESTDIR is defined before attempting to use it in a dependency.tv
2002-01-19Whitespace nits.wiz
2001-11-23Use SA_NOCLDWAIT to avoid zombies.christos
2001-11-22Add a handler for SIGCHLD which collects dead childs via wait3(2) so thattron
"rpc.statd" won't leave zombies arround.
2001-02-19convert to use getprogname()cgd
2000-07-25${RPCGEN}, not hard-coded rpcgencgd
2000-06-12Make the rpcsvc dependencies work a bit better.mycroft
2000-06-09Convert to tirpc interface, and to be af-independent.fvdl
2000-06-09Always copy pointer returned by db->get or db->seq before using, to avoidbouyer
alignements issues. While doing this I found a bug in reset_host(), notifyReqd was set to the wrong pointer.
2000-06-06Solaris hosts with multiple names (e.g. short & fqdn) sends notificationbouyer
with both names. So log the "Unsolicited notification" with LOG_DEBUG instead of LOG_ERR. Don't return failure if we received a notification for which the host is unknown, or we don't have outstanding requests. The remote host will retry forever otherwise.
2000-06-06db->seq() returns 0 for success and 1 for failure, not the opposite.bouyer
walk_db() was silently failing because of this.
1999-06-10Tweak the usage output a bit, and exit after printing it.scottr
1999-06-06Use pidfile(3).thorpej
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
- ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
1998-06-22Fix broken call to dbopen(), fixes PR bin/5637 by Azuma Okamoto.tron
1997-10-25use CPPFLAGS instead of CFLAGSlukem
1997-10-25To print a size_t, cast to u_long and use %lu printf format so thatthorpej
this works on the Alpha.
1997-10-21Use a db(3) hash database instead of shared memory. Don't fork() to servicechristos
requests in the database when restarting.
1997-10-21Only map 16MBytes of file, enough for some 16000 hosts on the LAN.is
Stopgap fix for PR 4225 by Matthias Scheler (rpc.statd doesn't run on m68k). XXX This should be done in a different way. XXX Matthias proposes to use a PMAP capable of mapping more than 256 MB per user process (You can do this by changing your vm_param constants even now). However, statd could use saner data structure to save on address space easily. E.g., most host names will be much smaller than the allocated 1024(+1 for trailing zero) bytes. Using variable length names would allow, depending on environment, a factor of 30 more hosts per address space. Btw, if anybody really needs more than 16k hosts handled by statd, the data structure is unsuable anyway; currently, the array of entries is linearly searched. Something like a DB_BTREE should be used.
1997-10-18The third argument to msync() got lost - bring it back.drochner
1997-10-17WARNSify; generate ansi c code with rpcgen, cleanup manpage, add rcsidslukem
1997-10-17WARNSify; generate ansi c code with rpcgen, cleanup manpage, add rcsidslukem
1997-10-17call msync() correctlylukem
1997-10-16msync needs a third argument.christos
1997-05-31Back out BUILDDIR and NOINSTALL changes.cjs
1997-05-26These updates to the build allow building against include filescjs
and libs in the object tree, if you use a separate object tree, while maintaining backward compatability with other build methods. See the notes in src/share/mk/bsd.README for full details. Note that the `make includes' target now only installs the include files in the build directory (if you use one--otherwise they go in DESTDIR just like before); `make install' will install include files in DESTDIR.
1997-05-17eliminate struct sigcontextchristos
1997-03-14transations -> transactions per pr 3333 from SAITOH Masanobuperry
1997-03-11RCS Id policescottr
1997-03-10Status monitor daemon by A.R. Gordon, ported from FreeBSD. While thescottr
functionality was not significantly altered, the code was KNFed and the build process cleaned up considerably.