summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>1999-04-07 16:36:56 +0000
committernsayer <nsayer@FreeBSD.org>1999-04-07 16:36:56 +0000
commit0144e6c736fe82f8afc07c416098bee7049d6d32 (patch)
tree8c7dd9384435ddcdcd0a61e7569900f5b961fa94 /sys/kern/subr_smp.c
parent68fa0789d5d97a2e4c24c731f27aa3ac53443dcb (diff)
downloadFreeBSD-src-0144e6c736fe82f8afc07c416098bee7049d6d32.zip
FreeBSD-src-0144e6c736fe82f8afc07c416098bee7049d6d32.tar.gz
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
Diffstat (limited to 'sys/kern/subr_smp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud