From e3979b2122187f26c79bdf5202383a187c60ea05 Mon Sep 17 00:00:00 2001 From: Nick Sayer Date: Mon, 4 Nov 2002 19:30:04 +0000 Subject: [PATCH] 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 --- lib/libc/sys/gettimeofday.2 | 6 +++--- 1 file 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