From owner-cvs-all Wed Apr 7 12:50:11 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5839B14E85; Wed, 7 Apr 1999 12:50:09 -0700 (PDT) (envelope-from nsayer@FreeBSD.org) Received: (from nsayer@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id MAA80792; Wed, 7 Apr 1999 12:48:10 -0700 (PDT) (envelope-from nsayer@FreeBSD.org) Message-Id: <199904071948.MAA80792@freefall.freebsd.org> From: Nick Sayer Date: Wed, 7 Apr 1999 12:48:10 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_time.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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