From nobody Fri Oct 27 17:26: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 4SH8jW5CSTz4yTJc; Fri, 27 Oct 2023 17:26:55 +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 4SH8jW4j4Cz3WjC; Fri, 27 Oct 2023 17:26:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698427615; 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=LVrDx3ii/9Qvbyu+WSRsmczK3dRVWlHxyNEL5ZrgMaA=; b=QqPL5RUh4bDz8qOVkOAeKlfCPBLQpuslAEz45RtMmN58sG4kBuHSdMjR+QRjpPJ2187GOV 0eZAbpixrGxtP7lhdU0ZJxXJXFTOzXdfZDlK8G+sSruVC5Pi8ZQFDYjI5v8XZNOuk0Z959 ZSWNd2zLaDm02EvLc5v1qsPDnRApwSc7mWkAJUNJ73mHl2eYTUv1c6ZVcRQugerCPO56EC fEA+zA00CiE5Ri22/TQEzn4nXNZNRwk40vyDA/MUe23F54Os7pFnjkGND/W3qohsLI0mgk qhb4tTH3x9rFpX+DQlm0I+dC2MfY7Tvr8w/JAbdzTiZ3JjLvVvGMRMqCYDcfzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698427615; 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=LVrDx3ii/9Qvbyu+WSRsmczK3dRVWlHxyNEL5ZrgMaA=; b=rYTv73wLtrw5mXRFL8Rzt6anh+JG0U/RQb1VrEa5W3I2ZO6ZlbtprbF9CGenWmuuSjsI3M rQHQvquortIw3xNZB58dJ3dtTTLfsPDhjYpvtdOH20LSqdkJa1h8oVIJSUyOzE4t3Y03R4 gOpWHW3tdDqY3SCDjdqPpX40Nq8N9yluCcpLDx9KAv1MH2u2ExgyJAdycUa1v8wlqWYnUI rpONe3DZRB3qp7IKm583ADwlDqfYWaDZyjfeV/f++isjaSEBUYeZ3nffxSWaE9EDWnnzzu SFEgK43CmIIp33yGRlKNyEmdlHjTsWHFiYYakUecmkIuIrmYIpO9kOEJIrFn0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698427615; a=rsa-sha256; cv=none; b=e2eK1vlo1dGLtOcxEBMc7tTCDWZvVPj5Y5aCq+LmUJBUiiJTcl0aq+Qwwp+1/il98oAgYI sg8/o1slrm7A3PKOurz9j7pMibMdY034RrN+DDdrlgsBLS6WpWIb96J81gEOOtOLUcr64l tER2ry1lzSK87X767HowJ6XHsAl0jG8BIUxUXEymEx2p8tXKtk0gCef/im1IR9yMj4tP8n a3g28T2OCb72hVEvcdfR4oW6LBCupizlOJl+FfHQ/t/byL2iD/jRCCNLFv+tO0iYdmZ774 v0jNS3kKiWL6GcpEBNq5tqNyL2AF7SpS4CMAOQloeMZ/6y0rgY4Y12yWzkh8iw== 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 4SH8jW3g6cz7lc; Fri, 27 Oct 2023 17:26: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 39RHQtm7076353; Fri, 27 Oct 2023 17:26:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39RHQt8v076350; Fri, 27 Oct 2023 17:26:55 GMT (envelope-from git) Date: Fri, 27 Oct 2023 17:26:55 GMT Message-Id: <202310271726.39RHQt8v076350@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 314542de6d0a - main - clock_gettime: Minor clarification 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 314542de6d0a044640d349d68b2d1a1fe5f427ff Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=314542de6d0a044640d349d68b2d1a1fe5f427ff commit 314542de6d0a044640d349d68b2d1a1fe5f427ff Author: Warner Losh AuthorDate: 2022-08-03 16:24:47 +0000 Commit: Warner Losh CommitDate: 2023-10-27 17:20:28 +0000 clock_gettime: Minor clarification Add a note saying that the CLOCK_BOOTTIME is unrelated to FreeBSD's kern.boottime sysctl. Make a minor tweak to markup. Feedback from: pauammu Sponsored by: Netflix Differential Revsion: https://reviews.freebsd.org/D36037 --- lib/libc/sys/clock_gettime.2 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index ed469153a40e..a0f1274f0eff 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 8, 2022 +.Dd October 27, 2023 .Dt CLOCK_GETTIME 2 .Os .Sh NAME @@ -120,10 +120,12 @@ and are aliases of corresponding IDs with _FAST suffix for compatibility with other systems. Finally, -.Dv CLOCK_BOOTTIME +.Fa CLOCK_BOOTTIME is an alias for -.Dv CLOCK_UPTIME -for compatibility with other systems. +.Fa CLOCK_UPTIME +for compatibility with other systems and is unrelated to the +.Fa kern.boottime +.Xr sysctl 8 . .Pp The structure pointed to by .Fa tp