Date: Wed, 7 Apr 1999 13:42:05 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: Nick Sayer <nsayer@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_time.c Message-ID: <Pine.BSF.3.95.990407134118.2116C-100000@current1.whistle.com> In-Reply-To: <199904071636.JAA15238@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
shouldn't Ntp simply be able to get the time to slow down drastically for a few seconds rather than actually step backwards? On Wed, 7 Apr 1999, Nick Sayer wrote: > nsayer 1999/04/07 09:36:57 PDT > > Modified files: > sys/kern kern_time.c > Log: > If securelevel>1, allow the clock to be adjusted negatively only up to > 1 second prior to the highest the clock has run so far. This allows > time adjusters like xntpd to do their work, but the worst a miscreant > can do is "freeze" the clock, not go back in time. > > We still need to decide on an algorithm to clamp positive adjustments. > As it stands, it is possible to achieve arbitrary negative adjustments > by "wrapping" time around. > > PR: 10361 > > Revision Changes Path > 1.62 +27 -8 src/sys/kern/kern_time.c > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.990407134118.2116C-100000>