Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 1999 09:36:57 -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:  <199904071636.JAA15238@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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?199904071636.JAA15238>