From nobody Wed Aug 10 12:23:38 2022 X-Original-To: dev-commits-src-branches@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 4M2py318pLz4YHV8; Wed, 10 Aug 2022 12:23:39 +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 4M2py30V7kz3Xms; Wed, 10 Aug 2022 12:23:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660134219; 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=iEJvhhBz9ptJXI5EDThsg2RZLelcWAzCdzdKvyPQKLg=; b=W2siQewlA7s4h20/FIzLdIcgmdE0MJSMgUxKW5GqR0kokSOKPaDSKfZHhgF1NN2MYazA0D SSW307UYxzR4ahNsu41NaEGlVRRnJj246VX+31sYzOZyM1QHB4hpY53brP37LP2clVq1QY rQHK43132cTNnQXicer47L3Yl0IyO8ari4AW8VOO/DfiaEuHPhofTu+R/NTyx54L6HJv3K 3HXw2/F7X+b23Jj96NtEarl/rWTEdjBOoN7rrUSgvoqFYr0HLftQHJDlU3vNF21iWmWr8g 8z1Ep0aPF9mglYVcaRa1RBWvrnBHPwmEm3lDwBKOgZ+2NKwO/TkXdpg002UuRw== 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 4M2py25GkFz1BCM; Wed, 10 Aug 2022 12:23:38 +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 27ACNcpW071994; Wed, 10 Aug 2022 12:23:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27ACNcCC071993; Wed, 10 Aug 2022 12:23:38 GMT (envelope-from git) Date: Wed, 10 Aug 2022 12:23:38 GMT Message-Id: <202208101223.27ACNcCC071993@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 05e4f4a08cdd - stable/13 - libutil: Fix mandoc warnings List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 05e4f4a08cdd7b3ea332605517531b57983b3bef Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660134219; 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=iEJvhhBz9ptJXI5EDThsg2RZLelcWAzCdzdKvyPQKLg=; b=EO9wZP5IFaahUqswaN+L/O/Xwf4iThJiQF2QO2ddZitPI3A2IJg7XexRVNux9ezM6jelwg 6cK+xnl7HapbNsFNUrNVddQ26QxgG7dtWFVDWeRdvU1XBR4eVnZPhnQ9LSxBKZFtAS5HPT 7HjCwdO4e6m9YpwHgHEE70iNssNlZ7Yy5k7gqmZAhMZ28uhSnPI/NJCUNmBrDuWdACAHug ikf8QJHd0WZIQ+sr1/QqHUtBND17nTYJUOd2iOJKindL51avNpTlXTH/jxoWooFQ8FO+mq K5+gIBsyfZtX289yNgrlGsTTYWI9vt48pXBS67iWvPQRJsEiOEz54h82wtYEww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660134219; a=rsa-sha256; cv=none; b=tcyU874Sg1FjaXr+PNQNzz6fPiFkUIpozCfxLSWM4uNxX5tk5h+EGvG5xFtn89ngGsZhAR 2d2Al5/mihifHPwqTV35FAO0YFjiIH0zt3HEr/RiGbyRWl2sLqqnVxuN9d98ufQ4XvSB5o QbBKxfzE+FtCnUKSu0z78UvwOk/JCKilsl5DhqmHTXwEx8uLYeb+/sGN6Wi55eJZMKBBh6 sSDRnCDt1Yg0qm2c2FtGSunIQ4C5fg0QsNbeJQYHExJGkxJx3+Kaoad4xd5AVLTd9HgtnY Icl//IijBH59T+Iq0WK2XyP+k7ZwU6LuTGgToyeLkx4bhJ+JX/mJUzp+BO5HyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=05e4f4a08cdd7b3ea332605517531b57983b3bef commit 05e4f4a08cdd7b3ea332605517531b57983b3bef Author: Gordon Bergling AuthorDate: 2022-08-07 14:30:24 +0000 Commit: Gordon Bergling CommitDate: 2022-08-10 12:23:27 +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? (cherry picked from commit 816ca3d10fd2f0c9283005a189fac156071d748d) --- 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