summaryrefslogtreecommitdiffstats
path: root/sbin/nfsd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove semicolons not needed after } statements. ok deraadttedu2020-01-221-2/+2
|
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-12/+12
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Remove useless <sys/socketvar.h> includes.mpi2018-01-051-2/+1
| | | | ok kettenis@, visa@, claudio@, deraadt@
* Unbreak DEBUG on nfsd(8) by changing the syslog macro. With this change a fewmestre2017-08-311-10/+16
| | | | | | | | | of the syslog calls also needed to change since fprintf(3) doesn't know about %m and in these cases strerror(3) was added. Caught with cppcheck "looks good" to otto@
* per trending style, add continue to emtpy loop bodies.tedu2016-06-071-2/+2
| | | | ok mglocker
* oh no, a KERBEROS lefover; from Ilya Kalimanderaadt2015-10-021-3/+1
|
* reduce .Nd to one line and kill .Tn while hereschwarze2015-09-101-25/+10
|
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+1
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* provide a missing rfc number;jmc2014-07-121-6/+3
| | | | | | | From: Josh Grosse i've actually just whacked the titles to keep it brief and avoid the mess of the punctuation added by these macros.
* remove unused variablechl2014-05-111-2/+2
| | | | ok tedu@
* convert select to poll. from peter malonetedu2014-05-051-25/+16
|
* handle ECONNABORTED errors from accept(). In many code blocks they can bederaadt2013-03-111-1/+4
| | | | | ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories...
* add an EXIT STATUS section for /sbin;jmc2010-09-031-3/+3
|
* Print startup errors to both the console and the log, rather thankrw2010-04-171-9/+23
| | | | | | just the console. ok deraadt@ beck@
* Specifying an invalid number of nfsd's is an error. So error outkrw2010-04-141-11/+5
| | | | | | rather than try to guess what was intended. ok halex@ tedu@ deraadt@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-15/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* replace hardcoded exit values with .Ex macros;sobrado2009-01-041-5/+3
| | | | ok jmc@
* make sure we start 4 servers on udp if called withthib2008-03-131-2/+4
| | | | | | | | no arguments, like the man page promises. ok deraadt@, blambert@ From tcuji@pwns.ms
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* cleanup the nfssvc() system call.thib2007-05-271-11/+10
| | | | | | | | | | | | | | | | | | | | | * Remove alot of dead kerberos code like the options for NFSSVC_AUTHIN and NFSSVC_AUTHFAIL wich where originally to get the kerberos auth info into the kernel. (that hasnt worked for long, if ever.) Also remove some helper functions and associated goo, however theres still alot of it left. * Remove NFSSVC_BIOD, biod's where replaced with kernel threads a long time ago. * NFSSVC_MNTD wich was is NQNFS leftover. Update the man page and nfsd(8). nfssvc(2) besides being special has only one user in the tree nfsd(8), therefore no library bumps are needed. (discussed with deraadt@). ok beck@, "go a head" deraadt@ Tested by ckuethe@
* make lint a bit happierderaadt2005-12-021-4/+4
|
* ARGSUSED before signal handler with unused signoderaadt2004-09-141-2/+4
|
* remove iso crud, and other misc cleanups; millert okderaadt2004-05-101-210/+23
|
* bad openlog call; andrushock@korovino.netderaadt2004-03-021-3/+3
|
* sync with usage();jmc2003-10-181-4/+4
|
* Dynamic select(2) support; deraadt@ OKmillert2003-08-111-14/+31
|
* refer to RFCs consistently (RFC XXXX);jmc2003-08-081-2/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-022-12/+4
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* socklen_t; cloderderaadt2002-09-101-2/+3
|
* ansideraadt2002-07-031-11/+10
|
* Remove some unused code for dealing with nfs over kerberos. No actual change,hin2002-06-112-112/+2
| | | | | | just some #ifdef'ed out code removed. ok deraadt@, art@ and csapuntz@
* strcpy, sprintf death; mpech okderaadt2002-05-221-2/+2
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-4/+4
|
* #(endif|else) foo is incorrect, make it #endif /* foo */heko2001-08-121-2/+2
| | | | deraadt@ ok
* major -Wall cleanup, almost completederaadt2001-07-071-9/+12
|
* return from main() don't exitmickey2001-06-041-30/+30
|
* mark signal races i cannot fix at the momentderaadt2001-01-191-2/+2
|
* Boring... Add :L modifier to all tweakable variables tests.espie2000-09-031-2/+2
| | | | Closes PR 1246
* Finish standardizing options list introduction.aaron2000-03-051-2/+2
|
* remove extra externs not needed because of unistd.h (rest of tree will be done later.. contact me if you want to help)deraadt2000-01-221-2/+1
|
* use .Ar on later .It Fl linesderaadt1999-07-211-2/+2
|
* start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@aaron1999-06-041-2/+2
|
* document that the max value for the -n option is 20millert1999-02-261-2/+2
|
* let it die nice from SIGTERM; fvdlderaadt1999-02-241-2/+1
|
* always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netaaron1998-12-151-2/+2
|
* kill redundant .Nm macro arguments; other misc fixesaaron1998-11-281-7/+7
|
* sbin/ man page fixesaaron1998-09-171-4/+4
|
* use Bx macro for BSD versionsmickey1998-06-151-2/+3
|
* $OpenBSD$deraadt1997-09-211-2/+1
|
* busted warnx; msaitoh@spa.is.uec.ac.jpderaadt1997-09-051-3/+5
|