OpenBSD CVS

CVS log for src/usr.sbin/rpc.lockd/procs.c


[BACK] Up to [local] / src / usr.sbin / rpc.lockd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:15 2023 UTC (14 months, 3 weeks ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.15: +1 -14 lines
Diff to previous 1.15 (colored)

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:20 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

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)

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 22 10:16:23 2011 UTC (13 years, 2 months ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.13: +9 -9 lines
Diff to previous 1.13 (colored)

use timerclear macro

ok miod@

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 15 04:48:03 2008 UTC (15 years, 11 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.12: +15 -1 lines
Diff to previous 1.12 (colored)

add glue for rpc.lockd to talk to rpc.statd

"just get it in" deraadt

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 13 21:32:26 2008 UTC (15 years, 11 months ago) by sturm
Branch: MAIN
Changes since 1.11: +838 -94 lines
Diff to previous 1.11 (colored)

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.

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

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 6 21:26:14 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.10: +23 -67 lines
Diff to previous 1.10 (colored)

protos and ansi

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 29 18:39:00 2002 UTC (22 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

more strlcat and strlcpy

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Sat Oct 7 04:57:54 2000 UTC (23 years, 8 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pull in patch from current:
Fix (millert):
use %s with syslog, probably just paranoia but it is good form

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 29 00:30:39 2000 UTC (23 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

use %s with syslog, probably just paranoia but it is good form

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 10 08:06:52 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Branch point for: OPENBSD_2_7
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabbling

Revision 1.7 / (download) - annotate - [select for diffs], Wed Sep 17 23:09:38 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.6: +387 -541 lines
Diff to previous 1.6 (colored)

make this readable, so that i can think about actually coding it..

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 10 21:06:40 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (colored)

Pass -Wall and add OpenBSD tags.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 14 10:56:34 1997 UTC (27 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)

#include <string.h>

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 13 06:45:49 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

typo

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 13 03:45:25 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

hostname can be longer; noticed by bitblt

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 27 10:25:57 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

strncpy correctly

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 20 05:02:36 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN

rpc.lockd from freebsd; has a problem yet

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.