From nobody Sun Aug 07 14:30:36 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 4M11vw32MDz4Y4Wm; Sun, 7 Aug 2022 14:30:36 +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 4M11vw2Yzmz3ZHl; Sun, 7 Aug 2022 14:30:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659882636; 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=yoI0mbGM/EpsJlyqEH5NyWLdMnHX++OEFWayhMcsijw=; b=becTKpRC4YNGR77L6WWqGuDD+OLJZOt0UZDiNkyQ/jSmkkL68BMrNxxj2mF4F006oTRyv0 Yn/poCwTdy07/4IqDrYLeacacUg+qlNPBksf1rqhMU6z07Q0eHutanLUNOUWcYls5fhiKw BS1v3JVBHVWm9a52yZQ+gcqxitvDAEBn6CrE4anBAaUShEKHRm4XsDHCLFesBvRepAsylg OI30ouvhNjOu91wcZKWhB7M7ip1YTLKMhdKMaprfICbItCxbdxBsi3eP9x8/iPL+UDyqSm c02MXXeGGJhoSOc5sRW9Jq62hN4Xp3pIyrnZ6wWF+BybSbcIsNVKVKRlX9wB8w== 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 4M11vw1djBzGG7; Sun, 7 Aug 2022 14:30:36 +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 277EUaAE068929; Sun, 7 Aug 2022 14:30:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 277EUaBi068928; Sun, 7 Aug 2022 14:30:36 GMT (envelope-from git) Date: Sun, 7 Aug 2022 14:30:36 GMT Message-Id: <202208071430.277EUaBi068928@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 816ca3d10fd2 - main - libutil: Fix mandoc 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: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 816ca3d10fd2f0c9283005a189fac156071d748d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659882636; 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=yoI0mbGM/EpsJlyqEH5NyWLdMnHX++OEFWayhMcsijw=; b=nn/Oy6Etc6OP3BtH6qWE6cJN5BcuZdZux6vGE5wulhbWuxQeaps7IPe9YSEvIYFJlx69h5 Tbv5gwXsv29obLsIQMLPEnv8BzXKOm72dAYIixy/cu9BSFgJc571WaldW00r5lept8aXGa HuLlhDlhFIKZ9h8lBfNkpfH+KI9lc44WyNQYL9NNO1PSChyHdyuxrZeVB6h2AIPG5JX5sv vKTh9l33ATCAKNM1iaywbdPBds9v6tGCbYUCP9MHNRJLjlTnDLzfHZ2n+nxfN+l9QVXkvB cKeiJd4hpBy+QPjn/CLLGEKZ4UIsAib4TCPkQ2g71AArLAbtKNtcR1ZGZqMu3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659882636; a=rsa-sha256; cv=none; b=QLp5YBVMz7p13NN9q2q7TSETDkLTupNiW4XdPJCapWTQc/Ov1LFJhJxNMBHpiP0R33EWi6 m8wMbKQTBRtj9RSHQ/vQZbCmNU14vodFFXYkNsM+oYrrskmmwddoNo5R3l1KEJn26S2fHk hC3mvFBBahCmK+szZIE5PwUyi+s1zvzU6XDUGF8n4mehAscjbqWdWmEUaGjUgIeZG2rnIZ IAvxWw9gmDrWEP22rU/5fSNGcV/k+gcpc+oCRownpzpWE0vUjuqyy3Q5sLTVAnOUKG8BBn N2lv/nr2ti3oKI+mLcur92XpmsCeOTrLWJnqYON3XUuwoVnXIWaNijuQBdN1yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=816ca3d10fd2f0c9283005a189fac156071d748d commit 816ca3d10fd2f0c9283005a189fac156071d748d Author: Gordon Bergling AuthorDate: 2022-08-07 14:30:24 +0000 Commit: Gordon Bergling CommitDate: 2022-08-07 14:30:24 +0000 libutil: Fix mandoc warnings - missing comma before name - possible typo in section name: Sh CAVEAT instead of CAVEATS - useless macro: Tn - blank line in fill mode, using .sp - no blank before trailing delimiter: Dv NULL? MFC after: 3 days --- lib/libutil/humanize_number.3 | 8 ++------ lib/libutil/kinfo_getvmmap.3 | 14 +++++++------- lib/libutil/login_tty.3 | 1 - lib/libutil/pty.3 | 2 +- lib/libutil/pw_util.3 | 2 +- lib/libutil/quotafile.3 | 22 +++++++++++----------- 6 files changed, 22 insertions(+), 27 deletions(-) diff --git a/lib/libutil/humanize_number.3 b/lib/libutil/humanize_number.3 index 9259f377abf2..2617317d6e18 100644 --- a/lib/libutil/humanize_number.3 +++ b/lib/libutil/humanize_number.3 @@ -183,12 +183,8 @@ The and .Dv HN_IEC_PREFIXES flags -conform to -.Tn ISO/IEC -Std\~80000-13:2008 -and -.Tn IEEE -Std\~1541-2002. +conform to ISO/IEC Std\~80000-13:2008 +and IEEE Std\~1541-2002. .Sh HISTORY The .Fn humanize_number diff --git a/lib/libutil/kinfo_getvmmap.3 b/lib/libutil/kinfo_getvmmap.3 index c36f5fc5b6b5..cd996128d9e0 100644 --- a/lib/libutil/kinfo_getvmmap.3 +++ b/lib/libutil/kinfo_getvmmap.3 @@ -58,13 +58,6 @@ with the mib. While the kernel returns a packed structure, this function expands the data into a fixed record format. -.Sh CAVEAT -.Fn kinfo_getvmmap -calls can cause significant CPU consumption because calculating the residency -counts requires iterating over all memory pages of the process. -Setting the sysctl variable -.Va kern.proc_vmmap_skip_resident_count -to 1 prevents this calculation. .Sh RETURN VALUES On success the .Fn kinfo_getvmmap @@ -89,3 +82,10 @@ The .Fn kinfo_getvmmap function first appeared in .Fx 7.0 . +.Sh CAVEATS +.Fn kinfo_getvmmap +calls can cause significant CPU consumption because calculating the residency +counts requires iterating over all memory pages of the process. +Setting the sysctl variable +.Va kern.proc_vmmap_skip_resident_count +to 1 prevents this calculation. diff --git a/lib/libutil/login_tty.3 b/lib/libutil/login_tty.3 index 89636d86686d..97327db13714 100644 --- a/lib/libutil/login_tty.3 +++ b/lib/libutil/login_tty.3 @@ -68,4 +68,3 @@ The function .Fn login_tty first appeared in .Bx 4.4 . - diff --git a/lib/libutil/pty.3 b/lib/libutil/pty.3 index c676447d20e4..86280299a43f 100644 --- a/lib/libutil/pty.3 +++ b/lib/libutil/pty.3 @@ -149,7 +149,7 @@ The and .Fn forkpty functions first appeared in -.Bx 4.3 Reno. +.Bx 4.3 Reno . .Sh BUGS .Fn openpty writes the slave terminal's name to diff --git a/lib/libutil/pw_util.3 b/lib/libutil/pw_util.3 index 8855eba8d925..d91e19373515 100644 --- a/lib/libutil/pw_util.3 +++ b/lib/libutil/pw_util.3 @@ -191,7 +191,7 @@ it will default to .Fa master is the name of the password file. If set to -.Dv NULL? +.Dv NULL ? it will default to .Pa master.passwd .Pp diff --git a/lib/libutil/quotafile.3 b/lib/libutil/quotafile.3 index 362cf018554a..153fc106c589 100644 --- a/lib/libutil/quotafile.3 +++ b/lib/libutil/quotafile.3 @@ -29,17 +29,17 @@ .Dt QUOTAFILE 3 .Os .Sh NAME -.Nm quota_open -.Nm quota_close -.Nm quota_on -.Nm quota_off -.Nm quota_read -.Nm quota_write_limits -.Nm quota_write_usage -.Nm quota_fsname -.Nm quota_qfname -.Nm quota_maxid -.Nm quota_check_path +.Nm quota_open , +.Nm quota_close , +.Nm quota_on , +.Nm quota_off , +.Nm quota_read , +.Nm quota_write_limits , +.Nm quota_write_usage , +.Nm quota_fsname , +.Nm quota_qfname , +.Nm quota_maxid , +.Nm quota_check_path , .Nm quota_convert .Nd "Manipulate quotas" .Sh LIBRARY