]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r236572:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Jun 2012 07:11:34 +0000 (07:11 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Jun 2012 07:11:34 +0000 (07:11 +0000)
commit66b54c4fcb1e5e90b6bb75daf2c91d72f41ea812
treef8aa75934e3a3bdb69913889831b75ff4a73c262
parent4620dee42e10ce16defdcb097a884ff5e1a275c4
MFC r236572:

Replace the use of wall clock time with monotonically increasing
clock.  In general, gettimeofday() is not appropriate interface
when accounting for elasped time because it can go backward, in
which case the policy code could errornously consider the limit
as exceeded.

Reported by: Mahesh Arumugam
Submitted by: Dorr H. Clark via gnn
Sponsored by: Citrix / NetScaler

git-svn-id: svn://svn.freebsd.org/base/stable/8@236875 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/inetd/inetd.c
usr.sbin/inetd/inetd.h