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


Default branch: MAIN


Revision 1.32.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:58 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.32.4.1: +1 -1 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:22 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.32: +2 -3 lines
Diff to previous 1.32 (colored)

Merge changes from current as of 20200406

Revision 1.34 / (download) - annotate - [select for diffs], Mon Dec 2 19:23:53 2019 UTC (4 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, 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
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

drop my name from the advertising clause.

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Fri Aug 16 19:25:31 2019 UTC (4 years, 8 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

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) - annotate - [select for diffs], Thu Aug 15 08:34:19 2019 UTC (4 years, 8 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

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) - annotate - [select for diffs], Tue Jan 23 21:06:26 2018 UTC (6 years, 2 months ago) by sevan
Branch: 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
Changes since 1.31: +24 -53 lines
Diff to previous 1.31 (colored)

ansify - drop the K&R style prototypes & implementations.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jun 3 14:44:12 2017 UTC (6 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, 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
Changes since 1.30: +2 -3 lines
Diff to previous 1.30 (colored)

remove my copyright.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Aug 21 15:41:38 2015 UTC (8 years, 7 months ago) by christos
Branch: 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
Changes since 1.29: +7 -7 lines
Diff to previous 1.29 (colored)

fix bogus %m
use EXIT_FAILURE

Revision 1.28.12.1 / (download) - annotate - [select for diffs], Wed May 13 19:20:38 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

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

Revision 1.29 / (download) - annotate - [select for diffs], Sat Apr 18 13:04:50 2009 UTC (15 years ago) by lukem
Branch: 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
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored)

Fix -Wshadow and -Wcast-qual issues

Revision 1.27.10.1 / (download) - annotate - [select for diffs], Wed Jan 9 02:02:22 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Sat Dec 15 19:44:56 2007 UTC (16 years, 4 months ago) by perry
Branch: 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
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

convert __attribute__s to applicable cdefs.h macros

Revision 1.23.6.2.2.1 / (download) - annotate - [select for diffs], Wed Mar 29 14:47:36 2006 UTC (18 years ago) by riz
Branch: netbsd-3-0
CVS Tags: netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE
Changes since 1.23.6.2: +8 -7 lines
Diff to previous 1.23.6.2 (colored) next main 1.23.6.3 (colored)

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) - annotate - [select for diffs], Wed Mar 29 14:47:32 2006 UTC (18 years ago) by riz
Branch: 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
Changes since 1.23.6.2: +8 -7 lines
Diff to previous 1.23.6.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

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) - annotate - [select for diffs], Tue Mar 28 23:28:04 2006 UTC (18 years ago) by riz
Branch: netbsd-1-6
Changes since 1.20.2.5: +8 -7 lines
Diff to previous 1.20.2.5 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

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) - annotate - [select for diffs], Tue Mar 28 23:20:44 2006 UTC (18 years ago) by riz
Branch: netbsd-2-0
Changes since 1.23: +8 -7 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

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) - annotate - [select for diffs], Tue Mar 28 23:20:43 2006 UTC (18 years ago) by riz
Branch: netbsd-2-1
Changes since 1.23: +8 -7 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

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) - annotate - [select for diffs], Tue Mar 28 23:20:39 2006 UTC (18 years ago) by riz
Branch: netbsd-2
Changes since 1.23.4.2: +8 -7 lines
Diff to previous 1.23.4.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

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) - annotate - [select for diffs], Tue Mar 28 15:21:00 2006 UTC (18 years ago) by tron
Branch: 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
Changes since 1.26: +8 -7 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Fri Mar 17 02:41:31 2006 UTC (18 years, 1 month ago) by elad
Branch: MAIN
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

Overrun found by Coverity, CID 1549.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Wed Dec 14 03:52:38 2005 UTC (18 years, 4 months ago) by jmc
Branch: netbsd-2
Changes since 1.23.4.1: +13 -18 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored)

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) - annotate - [select for diffs], Wed Dec 14 03:38:37 2005 UTC (18 years, 4 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.20.2.4: +13 -18 lines
Diff to previous 1.20.2.4 (colored) to branchpoint 1.20 (colored)

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) - annotate - [select for diffs], Wed Dec 14 03:37:24 2005 UTC (18 years, 4 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.20.2.3: +37 -39 lines
Diff to previous 1.20.2.3 (colored) to branchpoint 1.20 (colored)

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) - annotate - [select for diffs], Sun Nov 27 22:55:29 2005 UTC (18 years, 4 months ago) by riz
Branch: 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
Changes since 1.23.6.1: +13 -18 lines
Diff to previous 1.23.6.1 (colored) to branchpoint 1.23 (colored)

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) - annotate - [select for diffs], Sun Nov 27 16:03:20 2005 UTC (18 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.24: +13 -18 lines
Diff to previous 1.24 (colored)

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) - annotate - [select for diffs], Fri Oct 28 03:43:13 2005 UTC (18 years, 5 months ago) by jmc
Branch: netbsd-2
Changes since 1.23: +37 -39 lines
Diff to previous 1.23 (colored)

"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) - annotate - [select for diffs], Sat Oct 22 03:41:12 2005 UTC (18 years, 5 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1
Changes since 1.23: +37 -39 lines
Diff to previous 1.23 (colored)

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) - annotate - [select for diffs], Thu Oct 20 12:53:42 2005 UTC (18 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.23: +37 -39 lines
Diff to previous 1.23 (colored)

PR/31502: John: rpc.statd doesn't save failed notifies in the database.
Tested by Martti Kuparinen.

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Tue Apr 6 09:41:54 2004 UTC (20 years ago) by grant
Branch: netbsd-1-6
Changes since 1.20.2.2: +3 -2 lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored)

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) - annotate - [select for diffs], Tue Apr 6 09:40:48 2004 UTC (20 years ago) by grant
Branch: netbsd-1-6
Changes since 1.20.2.1: +3 -2 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored)

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) - annotate - [select for diffs], Wed Jan 14 10:29:46 2004 UTC (20 years, 3 months ago) by yamt
Branch: 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
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 14 10:28:17 2004 UTC (20 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

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

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Jan 6 04:52:53 2003 UTC (21 years, 3 months ago) by jmc
Branch: 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
Changes since 1.20: +5 -2 lines
Diff to previous 1.20 (colored)

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) - annotate - [select for diffs], Fri Nov 8 00:16:39 2002 UTC (21 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.20: +5 -2 lines
Diff to previous 1.20 (colored)

Use a non-blocking SVC for TCP connections.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sun Dec 9 18:09:52 2001 UTC (22 years, 4 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.17: +13 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

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) - annotate - [select for diffs], Fri Nov 23 17:10:29 2001 UTC (22 years, 4 months ago) by christos
Branch: 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
Changes since 1.19: +7 -11 lines
Diff to previous 1.19 (colored)

Use SA_NOCLDWAIT to avoid zombies.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 22 12:23:15 2001 UTC (22 years, 4 months ago) by tron
Branch: MAIN
Changes since 1.18: +13 -2 lines
Diff to previous 1.18 (colored)

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) - annotate - [select for diffs], Mon Feb 19 23:22:47 2001 UTC (23 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

convert to use getprogname()

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Thu Jun 22 18:01:11 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.14: +38 -44 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 9 14:02:13 2000 UTC (23 years, 10 months ago) by fvdl
Branch: 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
Changes since 1.16: +8 -17 lines
Diff to previous 1.16 (colored)

Convert to tirpc interface, and to be af-independent.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 9 09:57:29 2000 UTC (23 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.15: +30 -27 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Tue Jun 6 18:17:07 2000 UTC (23 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Thu Jun 10 05:53:51 1999 UTC (24 years, 10 months ago) by scottr
Branch: 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
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored)

Tweak the usage output a bit, and exit after printing it.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 6 02:52:16 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (colored)

Use pidfile(3).

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jul 6 06:58:09 1998 UTC (25 years, 9 months ago) by mrg
Branch: 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
Changes since 1.11: +6 -4 lines
Diff to previous 1.11 (colored)

- 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) - annotate - [select for diffs], Mon Jun 22 20:40:01 1998 UTC (25 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Fix broken call to dbopen(), fixes PR bin/5637 by Azuma Okamoto.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Oct 25 01:29:30 1997 UTC (26 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Tue Oct 21 20:38:11 1997 UTC (26 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.8: +409 -239 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Tue Oct 21 19:30:10 1997 UTC (26 years, 6 months ago) by thorpej
Branch: 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
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

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) - annotate - [select for diffs], Tue Oct 21 13:33:23 1997 UTC (26 years, 6 months ago) by is
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

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) - annotate - [select for diffs], Sat Oct 18 14:11:43 1997 UTC (26 years, 6 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

The third argument to msync() got lost - bring it back.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 17 16:12:53 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

WARNSify; generate ansi c code with rpcgen, cleanup manpage, add rcsids

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 17 16:03:04 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.4: +16 -11 lines
Diff to previous 1.4 (colored)

WARNSify; generate ansi c code with rpcgen, cleanup manpage, add rcsids

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 17 13:21:06 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

call msync() correctly

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 16 23:32:27 1997 UTC (26 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

msync needs a third argument.

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 17 15:52:52 1997 UTC (26 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.1: +6 -7 lines
Diff to previous 1.1 (colored)

eliminate struct sigcontext

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 10 06:28:31 1997 UTC (27 years, 1 month ago) by scottr
Branch: 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.

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.




CVSweb <webmaster@jp.NetBSD.org>