Date: Wed, 7 Apr 1999 12:48:10 -0700 (PDT) From: Nick Sayer <nsayer@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_time.c Message-ID: <199904071948.MAA80792@freefall.freebsd.org>
index | next in thread | raw e-mail
nsayer 1999/04/07 12:48:10 PDT
Modified files:
sys/kern kern_time.c
Log:
More secure clock management. Allow positive steps only once per second
for as much as one second, but no more. Allows a miscreant to
double-time march the clock, but no worse.
XXX Unlike putting negative deltas in a while(1), performing small
positive steps inside of a while(1) will return EPERM for the
unpermitted ones. Repeated negative deltas are clamped without
error (but the kernel does log a notice).
Revision Changes Path
1.64 +16 -11 src/sys/kern/kern_time.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904071948.MAA80792>
