The NetBSD Project

CVS log for src/usr.sbin/rpc.statd/statd.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / rpc.statd

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.32.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:58 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.32.4.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.4.1: +1 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:22 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -3 lines
Merge changes from current as of 20200406

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Dec 2 19:23:53 2019 UTC (5 years, 4 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -3 lines
drop my name from the advertising clause.

Revision 1.32.6.1: download - view: text, markup, annotated - select for diffs
Fri Aug 16 19:25:31 2019 UTC (5 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +3 -3 lines
Pull up following revision(s) (requested by kamil in ticket #70):

	usr.sbin/rpc.statd/statd.c: revision 1.33
	usr.sbin/rpc.lockd/lockd.c: revision 1.13
	usr.sbin/rpc.bootparamd/bootparamd.c: revision 1.47

Stop defining _rpcsvcdirty in bss and data

_rpcsvcdirty is already defined in the generated code from rpcgen(1).

Detected during the build with Address Sanitizer (MKSANITIZER).

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Aug 15 08:34:19 2019 UTC (5 years, 8 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Stop defining _rpcsvcdirty in bss and data

_rpcsvcdirty is already defined in the generated code from rpcgen(1).

Detected during the build with Address Sanitizer (MKSANITIZER).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jan 23 21:06:26 2018 UTC (7 years, 3 months ago) by sevan
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base
Branch point for: phil-wifi, netbsd-9
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +24 -53 lines
ansify - drop the K&R style prototypes & implementations.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jun 3 14:44:12 2017 UTC (7 years, 10 months ago) by christos
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -3 lines
remove my copyright.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Aug 21 15:41:38 2015 UTC (9 years, 8 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -7 lines
fix bogus %m
use EXIT_FAILURE

Revision 1.28.12.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:20:38 2009 UTC (15 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +6 -6 lines
Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Apr 18 13:04:50 2009 UTC (16 years ago) by lukem
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -6 lines
Fix -Wshadow and -Wcast-qual issues

Revision 1.27.10.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:02:22 2008 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +3 -3 lines
sync with HEAD

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Dec 15 19:44:56 2007 UTC (17 years, 4 months ago) by perry
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: jym-xensuspend
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
convert __attribute__s to applicable cdefs.h macros

Revision 1.23.6.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 29 14:47:36 2006 UTC (19 years, 1 month ago) by riz
Branches: netbsd-3-0
CVS tags: netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE
Diff to: previous 1.23.6.2: preferred, colored; next MAIN 1.23.6.3: preferred, colored
Changes since revision 1.23.6.2: +8 -7 lines
Pull up following revision(s) (requested by tron in ticket #1228):
	usr.sbin/rpc.statd/statd.c: revision 1.27
Use sigaction(2) to setup automatic disposal of child processes after
daemonizing. This is more portable and avoids zombie "rpc.statd"
processes after an NFS client running e.g. Mac OS X shuts down.
Reviewed by christos@.

Revision 1.23.6.3: download - view: text, markup, annotated - select for diffs
Wed Mar 29 14:47:32 2006 UTC (19 years, 1 month ago) by riz
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Diff to: previous 1.23.6.2: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.6.2: +8 -7 lines
Pull up following revision(s) (requested by tron in ticket #1228):
	usr.sbin/rpc.statd/statd.c: revision 1.27
Use sigaction(2) to setup automatic disposal of child processes after
daemonizing. This is more portable and avoids zombie "rpc.statd"
processes after an NFS client running e.g. Mac OS X shuts down.
Reviewed by christos@.

Revision 1.20.2.6: download - view: text, markup, annotated - select for diffs
Tue Mar 28 23:28:04 2006 UTC (19 years, 1 month ago) by riz
Branches: netbsd-1-6
Diff to: previous 1.20.2.5: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.5: +8 -7 lines
Pull up following revision(s) (requested by tron in ticket #6037):
	usr.sbin/rpc.statd/statd.c: revision 1.27
Use sigaction(2) to setup automatic disposal of child processes after
daemonizing. This is more portable and avoids zombie "rpc.statd"
processes after an NFS client running e.g. Mac OS X shuts down.
Reviewed by christos@.

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 23:20:44 2006 UTC (19 years, 1 month ago) by riz
Branches: netbsd-2-0
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +8 -7 lines
Pull up following revision(s) (requested by tron in ticket #10400):
	usr.sbin/rpc.statd/statd.c: revision 1.27
Use sigaction(2) to setup automatic disposal of child processes after
daemonizing. This is more portable and avoids zombie "rpc.statd"
processes after an NFS client running e.g. Mac OS X shuts down.
Reviewed by christos@.

Revision 1.23.8.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 23:20:43 2006 UTC (19 years, 1 month ago) by riz
Branches: netbsd-2-1
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +8 -7 lines
Pull up following revision(s) (requested by tron in ticket #10400):
	usr.sbin/rpc.statd/statd.c: revision 1.27
Use sigaction(2) to setup automatic disposal of child processes after
daemonizing. This is more portable and avoids zombie "rpc.statd"
processes after an NFS client running e.g. Mac OS X shuts down.
Reviewed by christos@.

Revision 1.23.4.3: download - view: text, markup, annotated - select for diffs
Tue Mar 28 23:20:39 2006 UTC (19 years, 1 month ago) by riz
Branches: netbsd-2
Diff to: previous 1.23.4.2: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.4.2: +8 -7 lines
Pull up following revision(s) (requested by tron in ticket #10400):
	usr.sbin/rpc.statd/statd.c: revision 1.27
Use sigaction(2) to setup automatic disposal of child processes after
daemonizing. This is more portable and avoids zombie "rpc.statd"
processes after an NFS client running e.g. Mac OS X shuts down.
Reviewed by christos@.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Mar 28 15:21:00 2006 UTC (19 years, 1 month ago) by tron
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -7 lines
Use sigaction(2) to setup automatic disposal of child processes after
daemonizing. This is more portable and avoids zombie "rpc.statd"
processes after an NFS client running e.g. Mac OS X shuts down.

Reviewed by christos@.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Mar 17 02:41:31 2006 UTC (19 years, 1 month ago) by elad
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3 lines
Overrun found by Coverity, CID 1549.

Revision 1.23.4.2: download - view: text, markup, annotated - select for diffs
Wed Dec 14 03:52:38 2005 UTC (19 years, 4 months ago) by jmc
Branches: netbsd-2
Diff to: previous 1.23.4.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.4.1: +13 -18 lines
Pullup rev 1.25 (requested by bouyer in ticket #10171)

	We can't call db->put() with key or data pointing back to db(3)'s memory
space, or the database will be corrupted (noticed when the database is
updated in reset_host()). Change change_host() to copy hostname and HostInfo
to local storage before calling db->put().
Change notify_one() to use change_host() instead of calling db->put()
directly.

Revision 1.20.2.5: download - view: text, markup, annotated - select for diffs
Wed Dec 14 03:38:37 2005 UTC (19 years, 4 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.20.2.4: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.4: +13 -18 lines
Pullup rev 1.25 (requested by bouyer in ticket #5970)

	We can't call db->put() with key or data pointing back to db(3)'s memory
space, or the database will be corrupted (noticed when the database is
updated in reset_host()). Change change_host() to copy hostname and HostInfo
to local storage before calling db->put().
Change notify_one() to use change_host() instead of calling db->put()
directly.

Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 14 03:37:24 2005 UTC (19 years, 4 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.20.2.3: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.3: +37 -39 lines
Pullup rev 1.24 (requested by bouyer in ticket #5959)

	rpc.statd doesn't save failed notifies in the database. PR#31502

Revision 1.23.6.2: download - view: text, markup, annotated - select for diffs
Sun Nov 27 22:55:29 2005 UTC (19 years, 5 months ago) by riz
Branches: netbsd-3
CVS tags: netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4
Branch point for: netbsd-3-0
Diff to: previous 1.23.6.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.6.1: +13 -18 lines
Pull up following revision(s) (requested by bouyer in ticket #1007):
	usr.sbin/rpc.statd/statd.c: revision 1.25
We can't call db->put() with key or data pointing back to db(3)'s memory
space, or the database will be corrupted (noticed when the database is
updated in reset_host()). Change change_host() to copy hostname and HostInfo
to local storage before calling db->put().
Change notify_one() to use change_host() instead of calling db->put()
directly.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Nov 27 16:03:20 2005 UTC (19 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +13 -18 lines
We can't call db->put() with key or data pointing back to db(3)'s memory
space, or the database will be corrupted (noticed when the database is
updated in reset_host()). Change change_host() to copy hostname and HostInfo
to local storage before calling db->put().
Change notify_one() to use change_host() instead of calling db->put()
directly.

Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 28 03:43:13 2005 UTC (19 years, 6 months ago) by jmc
Branches: netbsd-2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +37 -39 lines
"Pullup rev 1.24 (requested by christos in ticket #5934)
 rpc.statd doesn't save failed notifies in the database. PR#31502"

Revision 1.23.6.1: download - view: text, markup, annotated - select for diffs
Sat Oct 22 03:41:12 2005 UTC (19 years, 6 months ago) by riz
Branches: netbsd-3
CVS tags: netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +37 -39 lines
Pull up following revision(s) (requested by christos in ticket #905):
	usr.sbin/rpc.statd/statd.c: revision 1.24
PR/31502: John: rpc.statd doesn't save failed notifies in the database.
Tested by Martti Kuparinen.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Oct 20 12:53:42 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +37 -39 lines
PR/31502: John: rpc.statd doesn't save failed notifies in the database.
Tested by Martti Kuparinen.

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 6 09:41:54 2004 UTC (21 years ago) by grant
Branches: netbsd-1-6
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.2: +3 -2 lines
Pull up revision 1.23 (requested by bouyer in ticket #1657):

init_file: copy status_info from static storage so that
statd doesn't always use the same "status" number.

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 6 09:40:48 2004 UTC (21 years ago) by grant
Branches: netbsd-1-6
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +3 -2 lines
Pull up revision 1.22 (requested by bouyer in ticket #1656):

reset_host: reset actual host infos rather than reset copies of them.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Jan 14 10:29:46 2004 UTC (21 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: netbsd-3-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-3, netbsd-2-1, netbsd-2-0, netbsd-2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -2 lines
init_file: copy status_info from static storage so that
statd doesn't always use the same "status" number.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jan 14 10:28:17 2004 UTC (21 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -2 lines
reset_host: reset actual host infos rather than reset copies of them.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 6 04:52:53 2003 UTC (22 years, 3 months ago) by jmc
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -2 lines
Pull up revisions 1.20-1.21 (requested by fvdl in ticket #1037)
 Use a non-blocking SVC for TCP connections.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Nov 8 00:16:39 2002 UTC (22 years, 5 months ago) by fvdl
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -2 lines
Use a non-blocking SVC for TCP connections.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 18:09:52 2001 UTC (23 years, 4 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +13 -2 lines
Pull up revision 1.19 (requested by tron):
  Add a handler for SIGCHLD which collects dead children, so that
  rpc.statd won't leave zombies around.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Nov 23 17:10:29 2001 UTC (23 years, 5 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -11 lines
Use SA_NOCLDWAIT to avoid zombies.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Nov 22 12:23:15 2001 UTC (23 years, 5 months ago) by tron
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +13 -2 lines
Add a handler for SIGCHLD which collects dead childs via wait3(2) so that
"rpc.statd" won't leave zombies arround.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Feb 19 23:22:47 2001 UTC (24 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
convert to use getprogname()

Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 18:01:11 2000 UTC (24 years, 10 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +38 -44 lines
Sync w/ netbsd-1-5-base.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jun 9 14:02:13 2000 UTC (24 years, 10 months ago) by fvdl
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -17 lines
Convert to tirpc interface, and to be af-independent.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jun 9 09:57:29 2000 UTC (24 years, 10 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +30 -27 lines
Always copy pointer returned by db->get or db->seq before using, to avoid
alignements issues.
While doing this I found a bug in reset_host(), notifyReqd was set to
the wrong pointer.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jun 6 18:17:07 2000 UTC (24 years, 10 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
db->seq() returns 0 for success and 1 for failure, not the opposite.
walk_db() was silently failing because of this.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 10 05:53:51 1999 UTC (25 years, 10 months ago) by scottr
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, minoura-xpg4dl-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: minoura-xpg4dl
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -3 lines
Tweak the usage output a bit, and exit after printing it.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jun 6 02:52:16 1999 UTC (25 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -2 lines
Use pidfile(3).

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jul 6 06:58:09 1998 UTC (26 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -4 lines
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jun 22 20:40:01 1998 UTC (26 years, 10 months ago) by tron
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Fix broken call to dbopen(), fixes PR bin/5637 by Azuma Okamoto.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Oct 25 01:29:30 1997 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
To print a size_t, cast to u_long and use %lu printf format so that
this works on the Alpha.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Oct 21 20:38:11 1997 UTC (27 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +409 -239 lines
Use a db(3) hash database instead of shared memory. Don't fork() to service
requests in the database when restarting.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 21 19:30:10 1997 UTC (27 years, 6 months ago) by thorpej
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3 lines
Pull up from trunk: Make this work on systems that don't have huge
gobs of user address space (e.g. amiga).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Oct 21 13:33:23 1997 UTC (27 years, 6 months ago) by is
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Only map 16MBytes of file, enough for some 16000 hosts on the LAN.
Stopgap fix for PR 4225 by Matthias Scheler (rpc.statd doesn't run on m68k).

XXX This should be done in a different way. XXX

Matthias proposes to use a PMAP capable of mapping more than 256 MB
per user process (You can do this by changing your vm_param constants
even now).

However, statd could use saner data structure to save on address space
easily. E.g., most host names will be much smaller than the allocated
1024(+1 for trailing zero) bytes. Using variable length names would
allow, depending on environment, a factor of 30 more hosts per address
space.

Btw, if anybody really needs more than 16k hosts handled by statd, the
data structure is unsuable anyway; currently, the array of entries is
linearly searched. Something like a DB_BTREE should be used.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Oct 18 14:11:43 1997 UTC (27 years, 6 months ago) by drochner
Branches: MAIN
CVS tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
The third argument to msync() got lost - bring it back.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Oct 17 16:12:53 1997 UTC (27 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -2 lines
WARNSify; generate ansi c code with rpcgen, cleanup manpage, add rcsids

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Oct 17 16:03:04 1997 UTC (27 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +16 -11 lines
WARNSify; generate ansi c code with rpcgen, cleanup manpage, add rcsids

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Oct 17 13:21:06 1997 UTC (27 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
call msync() correctly

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 16 23:32:27 1997 UTC (27 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
msync needs a third argument.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 17 15:52:52 1997 UTC (27 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -7 lines
eliminate struct sigcontext

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Mar 10 06:28:31 1997 UTC (28 years, 1 month ago) by scottr
Branches: MAIN
Status monitor 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>