From nobody Fri Jul 08 19:58:07 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7D4DA180FE6B; Fri, 8 Jul 2022 19:58:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lfkbg39C7z3Whn; Fri, 8 Jul 2022 19:58:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657310287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oNScZ/otUaFzVCKENHGraGc2TvjC0GnyRxotJAmSsI0=; b=Ug32yhMTmnbua88wTPWFIXH4pMc/HtPmgSEXsLeHjKGI2EIv802udtciaavcg3r+Cp5yhl OnKsmbkKbfMXTHcGN0P031xdWcWpIlXDLvc9A3YI9RySalZH8t1YfFK+tNFLjh3HXWE5CU DcmzXxFjRB91vfYaIKwwAk6u289jhaqSGrAlJu8wTRv7vu5PEL8NHq6AOvBnS+l/aNg3cn IJNt5rg2fLPTxkT6SJKh/IqpnDfSC5EiIYxCvql11lDD8Je1noG9oZIbKDZwfCO4s6hG6S 6T7N22aOrq/TVWA8lF3MjJcOkoWAi1GRbOVojf38dOh2LXHxOa6/x2uR0KcXHw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lfkbg2D0KzJW2; Fri, 8 Jul 2022 19:58:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 268Jw78W045909; Fri, 8 Jul 2022 19:58:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 268Jw7AW045908; Fri, 8 Jul 2022 19:58:07 GMT (envelope-from git) Date: Fri, 8 Jul 2022 19:58:07 GMT Message-Id: <202207081958.268Jw7AW045908@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 13a9da7d5550 - main - clock_gettime.2: Add cross references and fix linter warnings List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 13a9da7d5550392a754fcc72d8ec74c0ddbec26f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657310287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oNScZ/otUaFzVCKENHGraGc2TvjC0GnyRxotJAmSsI0=; b=PEkObIzL1+ieZ5LbvWil2OOmRAcvlbD2/dBeU4lG0EFMY1x0ixaAnKljs9ehU4qsTB/m8J ecN2hjENd0uA+YLLtjDLt+u6QEA6w3sdi8Rw5F8r5s2CSQH96g5Lm8PG0SldQRxlZNoeEx iGrpIP5k83LT+w5SQdn8h4FBdVFHe6m9CkhFM00eNx0Z4RWa/D4P7VwGmEGNnCcXs/Fh9I ySHDhILUqokb5g3/4P7rEWcUxWABA4CSj+JaayjAX20aiFVvXHN46cL75vLC56NPP59s+i KqIrPT7uzqMQ4XISfPR0Dr1ybNWiAC9BgwHHQ46tHd27vZ2h2O7v3jZxnz+Fbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657310287; a=rsa-sha256; cv=none; b=jnPRL7C67BfeJHZwk5sGGBsWHgffVlBqpJjhYWmDNtefRnPQDfT21Ii+e1I8uplQ6MupEg O8ptJqtUtf6BEUcz8RxDq0ywq1pGk53vTFNd+FcVhE4Lh8s/uXKaKiaMvCOsxH/DxAk3W2 XBfUpXtRLHRxYDY8tB1nCxKL3j4kSiklyQSfhcxM3QdosR/9NaxChPnzAgVrk/+ewusvUG doV3rAmFv8c0Qlv8FBH70LLnecmO7F2u3nsHRiEv1mlWopvjOn24J86GLiORKGLmp88dhR I53G6mTUg9zVm79YgQd2sEomGBLeRbOkVpD6d2ukoooOUHoWIB8jvNHwg+lLIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=13a9da7d5550392a754fcc72d8ec74c0ddbec26f commit 13a9da7d5550392a754fcc72d8ec74c0ddbec26f Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-08 19:51:03 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-08 19:51:03 +0000 clock_gettime.2: Add cross references and fix linter warnings MFC after: 3 days --- lib/libc/sys/clock_gettime.2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index d620ed0f03f2..b04732fc993e 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 1, 2021 +.Dd July 8, 2022 .Dt CLOCK_GETTIME 2 .Os .Sh NAME @@ -132,7 +132,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 @@ -185,7 +187,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 ,