diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2022-07-08 19:51:03 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2023-10-04 11:14:43 +0000 |
commit | 4ae02ef76df4ad151ba927480351b9c8298fafa9 (patch) | |
tree | 50a1fb834b8a56b49e3ee574e61b189a3ea6e1bd | |
parent | 237ce4092c23b9c9e66316ecfa88c355ee3d9c8b (diff) | |
download | src-4ae02ef76df4ad151ba927480351b9c8298fafa9.tar.gz src-4ae02ef76df4ad151ba927480351b9c8298fafa9.zip |
clock_gettime.2: Add cross references and fix linter warnings
MFC after: 3 days
(cherry picked from commit 13a9da7d5550392a754fcc72d8ec74c0ddbec26f)
-rw-r--r-- | lib/libc/sys/clock_gettime.2 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 49b6bab13762..7b325a2bb394 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd July 30, 2021 +.Dd July 8, 2022 .Dt CLOCK_GETTIME 2 .Os .Sh NAME @@ -130,7 +130,9 @@ struct timespec { .Pp Only the super-user may set the time of day, using only .Fa CLOCK_REALTIME . -If the system securelevel is greater than 1 (see +If the system +.Xr securelevel 7 +is greater than 1 (see .Xr init 8 ) , the time may only be advanced. This limitation is imposed to prevent a malicious super-user @@ -183,7 +185,9 @@ The clock IDs .Fa CLOCK_UPTIME_FAST , .Fa CLOCK_UPTIME_PRECISE , .Fa CLOCK_SECOND -are FreeBSD extensions to the POSIX interface. +are +.Fx +extensions to the POSIX interface. .Sh HISTORY The .Fn clock_gettime , |