aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2002-11-04 19:30:04 +0000
committerNick Sayer <nsayer@FreeBSD.org>2002-11-04 19:30:04 +0000
commite3979b2122187f26c79bdf5202383a187c60ea05 (patch)
treef8e7885c34adbcf0582edf7df6c8e8db2baafbc9 /lib
parentada2a050befa0ff97c42e44ac240c9497104fa00 (diff)
Notes
Diffstat (limited to 'lib')
-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 32307ad2f089..b7bfca127205 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