summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/gettimeofday.2
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2002-11-04 19:30:04 +0000
committernsayer <nsayer@FreeBSD.org>2002-11-04 19:30:04 +0000
commit67aa0a5dc41a644381b4fa516b5d0ddfbde6882a (patch)
treef8e7885c34adbcf0582edf7df6c8e8db2baafbc9 /lib/libc/sys/gettimeofday.2
parenta4cefee670f1662bfab5493b777b4ed5857e5d7e (diff)
downloadFreeBSD-src-67aa0a5dc41a644381b4fa516b5d0ddfbde6882a.zip
FreeBSD-src-67aa0a5dc41a644381b4fa516b5d0ddfbde6882a.tar.gz
After waiting for help with the markup, I finally decided to just patch
the page myself. The new language is more accurate than what was there before, but the most accurate way of describing the funcionality eludes me. PR: kern/33904 MFC after: 1 month
Diffstat (limited to 'lib/libc/sys/gettimeofday.2')
-rw-r--r--lib/libc/sys/gettimeofday.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2
index 32307ad..b7bfca1 100644
--- a/lib/libc/sys/gettimeofday.2
+++ b/lib/libc/sys/gettimeofday.2
@@ -99,12 +99,12 @@ Daylight Saving time applies locally during
the appropriate part of the year.
.Pp
Only the super-user may set the time of day or time zone.
-If the system is running in secure mode (see
+If the system is running at securelevel >= 2 (see
.Xr init 8 ) ,
-the time may only be advanced.
+the time may only be advanced or retarded by a maximum of one second.
This limitation is imposed to prevent a malicious super-user
from setting arbitrary time stamps on files.
-The system time can still be adjusted backwards using the
+The system time can be adjusted backwards without restriction using the
.Xr adjtime 2
system call even when the system is secure.
.Sh RETURN VALUES
OpenPOWER on IntegriCloud