Commit Graph

24 Commits

Author SHA1 Message Date
oster
4a785b3509 Fix a memory leak: when unlocking make sure we release the memory associated
with the lock begin removed!

Reviewed by thorpej.
2001-10-23 19:54:53 +00:00
wiz
0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
wiz
14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
enami
6bc7e18094 Don't try to deallocate an object pointed by NULL pointer. Instead,
deallocate the right one.
2000-11-21 03:47:41 +00:00
is
d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
thorpej
8521dd166a Clean up some include paths. 2000-08-12 18:08:43 +00:00
thorpej
d7018d707f Fix slight error in last. 2000-08-07 16:23:31 +00:00
thorpej
5535e3de10 Simplify. 2000-08-07 16:16:23 +00:00
cgd
4bf5f7086b ${RPCGEN}, not hard-coded rpcgen 2000-07-25 06:29:44 +00:00
itojun
4941865cd4 setproctitle fix. from openbsd 2000-07-05 22:21:15 +00:00
mycroft
45d698dd33 Make the rpcsvc dependencies work a bit better. 2000-06-12 01:57:25 +00:00
cgd
82990223e4 typo 2000-06-09 18:51:47 +00:00
fvdl
7704425071 Convert to tirpc interface, and to be af-independent. 2000-06-09 14:00:52 +00:00
bouyer
227ed98327 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 (but you're supposed to kill statd at the same time, so
remote hosts will know it and re-establish the lock).
Tested against solaris 2.7 and linux 2.2.14 clients.
Shared lock are not handled efficiently, they're serialised in lockd when they
could be granted.
2000-06-07 14:34:40 +00:00
bouyer
a3bc666f44 Supports nlm version 4 (for use with nfsv3). 2000-02-02 18:17:42 +00:00
thorpej
56c5efa335 Use pidfile(3). 1999-06-06 02:52:16 +00:00
perry
34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
lukem
0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem
1b31876813 WARNSify 1997-10-18 04:01:10 +00:00
cjs
7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs
5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
perry
2b46e80f93 transations -> transactions per pr 3333 from SAITOH Masanobu 1997-03-14 23:23:24 +00:00
scottr
6a8f5a85fd RCS Id police 1997-03-11 04:13:02 +00:00
scottr
a6fdc939ab NFS locking daemon by A.R. Gordon, ported from FreeBSD. While the
functionality was not significantly altered, the code was KNFed and
the build process cleaned up considerably.
1997-03-10 06:26:19 +00:00