aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2003-02-11 06:05:00 +0000
committerNick Sayer <nsayer@FreeBSD.org>2003-02-11 06:05:00 +0000
commit946a5cde424f7008016023a5ffedeb12fe23d0d4 (patch)
treeaf8c4df968aa3ed17bbdeb27965d077f5668ac17 /lib/libc/sys
parentb29612ffcb72da71e241466e0561a68a9f0a05c2 (diff)
Notes
Diffstat (limited to 'lib/libc/sys')
-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 2a486d162e4a..d333080ce65d 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