tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.sbin
/
rpc.lockd
/
at
trash-bin2
9 files
Makefile
Disable enum warnings after checking the code is ok. ok millert@
8 years ago
handles.c
make this readable, so that i can think about actually coding it..
28 years ago
lockd.c
Convert many atoi() calls to strtonum(), adding range checks and failure handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
11 years ago
lockd.h
from NetBSD: 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.
18 years ago
lockd_lock.c
When system calls indicate an error they return -1, not some arbitrary 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.
6 years ago
lockd_lock.h
$OpenBSD$
18 years ago
procs.c
Replace <sys/param.h> with <limits.h> and other less dirty headers where 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)
11 years ago
rpc.lockd.8
tweak previous;
18 years ago
test.c
Avoid unintended problems with operator precedence when doing an assignment and comparison.
10 years ago