summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nfsd
Commit message (Collapse)AuthorAgeFilesLines
* Make this compile and not segfault on ia64. ptr = strdup("foo"); ispeter2002-05-011-3/+4
| | | | | | fatal if the declaration of strdup() isn't in scope. The upper 32 bits of the pointer are lost since it defaults to returning "int". Fix some warnings while here, including trying to make gcc-3.1 happy.
* Fix problem in macro definition breaking compiles with -DDEBUG.pb2002-03-261-1/+1
| | | | | PR: bin/35773 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* When nfsd was started with only UDP servers, the master nfsd wouldiedowse2001-10-161-76/+106
| | | | | | | | | | | | | | | | | spin in a loop eating CPU time. This bug has existed since the TI-RPC import. The problem is that we should only enter the select loop if at least one TCP server was started. Fix this by having the master nfsd become a UDP server itself if there are no TCP servers. Also improve/correct the code for cleaning up slave nfsd processes and unregistering with rpcbind when the master nfsd exits. One issue that remains open is that if a slave nfsd dies, then all nfsds will shut down. This is because nfssvc() in the master nfsd returns 0 when the master nfsd receives a SIGCHLD. Submitted by: tmm
* Deal with nfs server module changes for autoloading.peter2001-09-201-9/+4
|
* Userland part of nfs client/server split and cleanup.peter2001-09-182-157/+5
|
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-4/+2
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-2/+2
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Don't call daemon() and setup our signal handlers until after we checkalfred2001-03-251-41/+34
| | | | | | | | | | | | | and do the unregister/reregister work. Don't call syslog in the unregister/reregister code as we haven't called openlog() yet. Be a more conservative about accepting errno values from socket(2), only EPROTONOSUPPORT means that the kernel isn't supporting it something like INET6. The other possible errnos would be returned if there was a mistake in the socket(2) call so remove them from the list of "acceptable" return values.
* Disable ipv6 when getnetconfigent("udp6"/"tcp6") fails.alfred2001-03-251-1/+2
| | | | Submitted by: Martin Blapp <mb@imp.ch>
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: fixes to the previous revision:ru2001-03-201-2/+8
| | | | | | - fixed bad formatting - avoid using German - removed hard sentence break
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-192-287/+560
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-7/+7
|
* Don't use libutil now that setproctitle() is in libcbrian2000-09-022-3/+0
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Use libcrypto instead of libdes.markm2000-02-241-5/+5
|
* Thresh-out the nfs manual page references a bitdillon2000-01-131-0/+1
| | | | Reviewed by: Julian Elischer <julian@elischer.org>
* Give nfsd the ability to bind to specific IP addresses through the -hdillon1999-11-112-25/+93
| | | | | | | | | | option and add explicit option to bind to the wildcard address. The default is to bind to the wildcard address when no -h option has been specified and thus backwards compatibility is maintained. PR: kern/13049 Reviewed by: David Malone <dwmalone@maths.tcd.ie> Submitted by: Matt Dillon <dillon@freebsd.org>, David Malone <dwmalone@maths.tcd.ie>
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$ to these manpages.nik1999-07-121-0/+1
| | | | Approved by: bde
* Update refs for KLD's and kldload.ghelmer1999-04-011-3/+3
| | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall.charnier1998-07-151-24/+22
|
* Don't give examples or use the depreciated usage to nfsdpeter1998-05-011-1/+1
| | | | PR: 5635
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-1/+0
| | | | the default.
* Fix two missing arguments detected by "-Wformat".jdp1997-11-181-2/+4
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2 (use new getvfsbyname() interface)peter1997-03-113-11/+12
|
* Use the .Bx macro where appropriate.mpp1996-08-231-1/+2
|
* Default to udp if neither udp nor tcp is specified. The previous revisionbde1996-05-011-1/+2
| | | | | was broken. It forced udp in all cases except the extremely unusual case argc == 0.
* default to udp if no flags specified...closes PR#bin/759scrappy1996-04-131-0/+1
| | | | - should this be documented in the man page?
* #include <kerberosIV/des.h> -> #include <des.h>markm1996-02-111-1/+1
|
* oops, do it right this timeadam1996-01-031-1/+1
|
* Link with libutil for kerberos tooadam1996-01-031-1/+1
|
* Make nfsd use setproctitle from libutil...peter1996-01-012-0/+11
| | | | | Old code is still #ifdef OLD_SETPROCTITLE for comparison with the old code.
* The version of setproctitle() inside nfsd was busted. It was not terminatingpeter1995-12-151-0/+1
| | | | | | | | | the argv array, causing parts of the argv[0] to be picked up several times by libkvm, causing strange ps results for the nfs-server and nfs-master processes.. :-] (How many copies of setproctitle() do we need anyway? NetBSD has it in libc and BSDI have it in libutil.)
* Changes to support version 3 of the NFS protocol.dfr1995-06-272-26/+87
| | | | | | | | | | | | | | | | | | The version 2 support has been tested (client+server) against FreeBSD-2.0, IRIX 5.3 and FreeBSD-current (using a loopback mount). The version 2 support is stable AFAIK. The version 3 support has been tested with a loopback mount and minimally against an IRIX 5.3 server. It needs more testing and may have problems. I have patched amd to support the new variable length filehandles although it will still only use version 2 of the protocol. Before booting a kernel with these changes, nfs clients will need to at least build and install /usr/sbin/mount_nfs. Servers will need to build and install /usr/sbin/mountd. NFS diskless support is untested. Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
* Add support for kerberised NQNFS.dfr1995-01-301-0/+8
|
* Automatically load NFS and a bevy of other filesystems.wollman1994-09-222-0/+30
|
* Use nulls to pad proctitle rather than spaces...makes ps(1) output moredg1994-08-111-1/+1
| | | | readable.
* Delete obsolete references to librpc.a.wollman1994-08-081-2/+0
|
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-263-0/+712
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud