From nobody Wed Oct 4 11:23:55 2023 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 4S0slJ2K0Kz4vkfc; Wed, 4 Oct 2023 11:23:56 +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 4S0slJ0v19z4cNQ; Wed, 4 Oct 2023 11:23:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696418636; 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=vtrS0kePUUWkoveHpXYzS06D9UvQlYikvORt9PYGosU=; b=YiQmfaL35O3YpfUAwoyMC3MWtaTA9uFDULmb6oLBi8lKKqTRdGdOAB5PhLjXYx5QSYGLtC CpapAu8tWqqor2ISKcu4Imx+0iMQt1yUGctYIKl5Nu4+0fLZM4Rm5C3woBQGIuOvoHeKjb iDuEv3wIhwNh+zUHdVpktKH7XQFc8I1K/MZ5ve8GZ5/RZtO0uYff/tZybp8x6r3l+8iAfl vA9vnoSXTJm4TFzBXDBBGz7WMiqznmsgpVXKsxfW14x0/wpRElXypoPX3vrkNlvK+yneQ9 ybu5+sbY/Rd3dXUQJ23VPPF9/k/F9ev7u9eSo1p137zkuq/280tFcCMWRd2r2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696418636; a=rsa-sha256; cv=none; b=jnYkLjS3d3/I5fY0B+cGbBZwKX9GX6HybNm1bgVNQ4gtvI+k95sBoXq1ai7+PcuzXy8HTn iibt9K53uPyOgXDEqZbyP5gUjxQRgygTETw2nMC9WRCagZVe+iTdaBpmMiZ7PipB4Wxko5 xB7uai6ZpwdpWpvtD2yFIGkK0VstZH2e9cGGVikPq1rtzCebjGQZsGBfZYnPSlGC+uIOvM T7aralW9VGIa1fPm1LegYEIagA80mYHvNye/mh1P9XQopQ/eo+ejUP5yZcdkZhXc+fIgQa tGx2W/PAIOGMyA60GnGtSHlq3RqU/UrRyV/VBgqjtTqL+xc3/NdO6pLhbD+PRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696418636; 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=vtrS0kePUUWkoveHpXYzS06D9UvQlYikvORt9PYGosU=; b=XGB4OJq0j/hJ871Er2JvsQ6wRe94fJLM6QCQD3qU+sefSkyD5SpYqv/IZewZr4tGL3Ylfk /wD1UNNlvcg2okDHerxksHHvreKrRaQiAj80AB9fVPvapx/LFjXEi8IxxobL3Wn30NyfLU jQofAaVDPmbqMxtk4IeI3ZrQbrmI6I0a7ZSmnthmWHz9vxxeYYRlkhJ7pWg/TAywaCgvd+ SfudtlJmP+cBxJFFEV/ZmTlxymSs8WkTt/cgVYQkgvtKDDmItH50qGimzJgLF/S9WRrd8O Qye1nKb0cEfqUeDsJCCFhtVFxP8I4wH2GPLlAqhGuEHkUnUT07MJRMCEHuiNlA== 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 4S0slH70TYzbjj; Wed, 4 Oct 2023 11:23:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 394BNt1j085183; Wed, 4 Oct 2023 11:23:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 394BNtAn085180; Wed, 4 Oct 2023 11:23:55 GMT (envelope-from git) Date: Wed, 4 Oct 2023 11:23:55 GMT Message-Id: <202310041123.394BNtAn085180@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 4ae02ef76df4 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 4ae02ef76df4ad151ba927480351b9c8298fafa9 Auto-Submitted: auto-generated The branch stable/13 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=4ae02ef76df4ad151ba927480351b9c8298fafa9 commit 4ae02ef76df4ad151ba927480351b9c8298fafa9 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-08 19:51:03 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-10-04 11:14:43 +0000 clock_gettime.2: Add cross references and fix linter warnings MFC after: 3 days (cherry picked from commit 13a9da7d5550392a754fcc72d8ec74c0ddbec26f) --- 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 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 ,