diff options
author | 2006-06-04 19:45:37 +0000 | |
---|---|---|
committer | 2006-06-04 19:45:37 +0000 | |
commit | 83c02c46e7deba98b5883a71ccf9bbbb528cfde2 (patch) | |
tree | 9a908147f0ccaac7cd6f08fae2e96043c434c696 | |
parent | Missing RCS Id (diff) | |
download | wireguard-openbsd-83c02c46e7deba98b5883a71ccf9bbbb528cfde2.tar.xz wireguard-openbsd-83c02c46e7deba98b5883a71ccf9bbbb528cfde2.zip |
Add a CAVEATS section: other systems might have more restrictive adjtime(2).
With help from jmc@; ok deraadt@ jmc@
-rw-r--r-- | lib/libc/sys/adjtime.2 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/sys/adjtime.2 b/lib/libc/sys/adjtime.2 index a214c30796f..39e9e9dc7b1 100644 --- a/lib/libc/sys/adjtime.2 +++ b/lib/libc/sys/adjtime.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: adjtime.2,v 1.14 2006/06/04 18:47:33 otto Exp $ +.\" $OpenBSD: adjtime.2,v 1.15 2006/06/04 19:45:37 otto Exp $ .\" $NetBSD: adjtime.2,v 1.5 1995/10/12 15:40:44 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -88,7 +88,10 @@ will fail if: .It Bq Er EFAULT Either of the arguments point outside the process's allocated address space. .It Bq Er EPERM -The process's effective user ID is not that of the superuser. +The +.Fn delta +argument is non-null and the process's effective user ID is not that +of the superuser. .El .Sh SEE ALSO .Xr date 1 , @@ -105,3 +108,8 @@ The .Fn adjtime function call appeared in .Bx 4.3 . +.Sh CAVEATS +Other operating systems restrict calling +.Nm +to the superuser and might not allow requesting the current +correction without specifying a new value. |