summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.lockd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-5/+5
| | | | | | 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.
* Disable enum warnings after checking the code is ok. ok millert@otto2017-08-241-2/+2
|
* remove misc. depend and yacc nits that no longer matter.espie2017-07-101-2/+2
| | | | okay millert@
* mark files as BUILDFIRST, or write explicit dependencies, so that mostespie2017-06-161-1/+3
| | | | | programs will build even without a make depend first. okay tb@ millert@
* Avoid unintended problems with operator precedence when doing anjsg2015-09-051-3/+3
| | | | | | assignment and comparison. ok deraadt@ looks correct millert@ jung@
* Convert many atoi() calls to strtonum(), adding range checks and failurederaadt2015-04-181-5/+7
| | | | | handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-163-11/+9
| | | | | | | | | 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)
* handle large ino_tderaadt2013-04-231-3/+3
|
* print tv_sec properlyderaadt2013-04-191-4/+5
|
* use timerclear macrookan2011-03-221-9/+9
| | | | ok miod@
* Manuel Bouyer rescinded clauses 3 and 4 of his license text.jsg2010-07-231-6/+1
|
* add missing headers needed by err/errx(), alarm(), sigemptyset(), sigaction().chl2009-11-151-1/+4
| | | | "go ahead" sturm@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-6/+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
* typo; from Anathae Townsendjmc2008-12-031-2/+2
|
* grammar fix (in comment): from Anathae Townsendjmc2008-11-251-2/+2
|
* add glue for rpc.lockd to talk to rpc.statdsturm2008-06-153-3/+87
| | | | "just get it in" deraadt
* fix filehandle comparison between NFSv2 and NFSv3 filehandlessturm2008-06-151-6/+2
| | | | | | permits locking in heterogenous environments ok thib
* tweak previous;jmc2008-06-132-9/+7
|
* $OpenBSD$sturm2008-06-132-2/+2
|
* from NetBSD:sturm2008-06-137-125/+1756
| | | | | | | | | | | | Implement file locking in lockd. All the stuff is done in userland, using fhopen() and flock(). This means that if you kill lockd, all locks will be relased. Shared locks are not handled efficiently, they're serialised in lockd when they could be granted. tested against debian etch (linux 2.6.18) not fully functional yet in mixed NFSv2/v3 environments further development in-tree as discussed w/ deraadt
* documentation tweaks.sobrado2008-05-171-2/+3
| | | | ok (some time ago) jmc@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* protos and ansideraadt2003-07-063-153/+87
|
* - section reorderjmc2003-06-121-4/+4
| | | | | | - macro fixes - kill whitespace at EOL - new sentence, new line
* some ansification, some de-registerderaadt2003-06-111-3/+3
|
* remove references to unexistent manpages; miod ok.fgsch2002-11-091-3/+2
|
* more strlcat and strlcpyderaadt2002-05-291-6/+6
|
* 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-3/+3
|
* use %s with syslog, probably just paranoia but it is good formmillert2000-06-291-2/+2
|
* Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otheraaron2000-03-191-5/+7
| | | | cleanup along the way.
* Try to standardize the options list introduction; it should read "The optionsaaron2000-03-041-9/+14
| | | | are as follows:", except in special cases.
* ie. -> i.e.,aaron2000-01-221-3/+7
|
* do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingderaadt1998-07-101-3/+3
|
* make this readable, so that i can think about actually coding it..deraadt1997-09-175-666/+498
|
* make -Wall happyniklas1997-08-191-2/+2
|
* Pass -Wall and add OpenBSD tags.millert1997-08-106-8/+23
|
* spelling errorderaadt1997-03-251-1/+1
|
* We run OpenBSDmillert1997-02-231-2/+2
|
* #include <string.h>niklas1997-02-141-0/+1
|
* where did .DESTDIR come from... found by gwen@rtmx.comderaadt1997-01-301-2/+2
|
* typoderaadt1996-09-131-1/+1
|
* hostname can be longer; noticed by bitbltderaadt1996-09-131-1/+1
|
* strncpy correctlyderaadt1996-08-271-1/+1
|
* s/rstatd/lockd/tholo1996-08-171-1/+1
|
* compiles...deraadt1996-07-202-2/+5
|
* rpc.lockd from freebsd; has a problem yetderaadt1996-07-207-0/+1285