summaryrefslogtreecommitdiff
path: root/sbin/nfsd
AgeCommit message (Collapse)Author
2020-01-22remove semicolons not needed after } statements. ok deraadtTed Unangst
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
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.
2018-01-05Remove useless <sys/socketvar.h> includes.Martin Pieuchot
ok kettenis@, visa@, claudio@, deraadt@
2017-08-31Unbreak DEBUG on nfsd(8) by changing the syslog macro. With this change a fewRicardo Mestre
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@
2016-06-07per trending style, add continue to emtpy loop bodies.Ted Unangst
ok mglocker
2015-10-02oh no, a KERBEROS lefover; from Ilya KalimanTheo de Raadt
2015-09-10reduce .Nd to one line and kill .Tn while hereIngo Schwarze
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
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)
2014-07-12provide a missing rfc number;Jason McIntyre
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.
2014-05-11remove unused variableCharles Longeau
ok tedu@
2014-05-05convert select to poll. from peter maloneTed Unangst
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories...
2010-09-03add an EXIT STATUS section for /sbin;Jason McIntyre
2010-04-17Print startup errors to both the console and the log, rather thanKenneth R Westerback
just the console. ok deraadt@ beck@
2010-04-14Specifying an invalid number of nfsd's is an error. So error outKenneth R Westerback
rather than try to guess what was intended. ok halex@ tedu@ deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
2009-01-04replace hardcoded exit values with .Ex macros;Igor Sobrado
ok jmc@
2008-03-13make sure we start 4 servers on udp if called withThordur I. Bjornsson
no arguments, like the man page promises. ok deraadt@, blambert@ From tcuji@pwns.ms
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-27cleanup the nfssvc() system call.Thordur I. Bjornsson
* 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@
2005-12-02make lint a bit happierTheo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-05-10remove iso crud, and other misc cleanups; millert okTheo de Raadt
2004-03-02bad openlog call; andrushock@korovino.netTheo de Raadt
2003-10-18sync with usage();Jason McIntyre
2003-08-11Dynamic select(2) support; deraadt@ OKTodd C. Miller
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-09-10socklen_t; cloderTheo de Raadt
2002-07-03ansiTheo de Raadt
2002-06-11Remove some unused code for dealing with nfs over kerberos. No actual change,Hans Insulander
just some #ifdef'ed out code removed. ok deraadt@, art@ and csapuntz@
2002-05-22strcpy, sprintf death; mpech okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-06-04return from main() don't exitMichael Shalayeff
2001-01-19mark signal races i cannot fix at the momentTheo de Raadt
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-03-05Finish standardizing options list introduction.Aaron Campbell
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be ↵Theo de Raadt
done later.. contact me if you want to help)
1999-07-21use .Ar on later .It Fl linesTheo de Raadt
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell
1999-02-26document that the max value for the -n option is 20Todd C. Miller
1999-02-24let it die nice from SIGTERM; fvdlTheo de Raadt
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28kill redundant .Nm macro arguments; other misc fixesAaron Campbell
1998-09-17sbin/ man page fixesAaron Campbell
1998-06-15use Bx macro for BSD versionsMichael Shalayeff
1997-09-21$OpenBSD$Theo de Raadt
1997-09-05busted warnx; msaitoh@spa.is.uec.ac.jpTheo de Raadt