From nobody Fri Sep 20 14:37:22 2024 X-Original-To: dev-commits-src-main@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 4X9FN30qMVz5XPt7; Fri, 20 Sep 2024 14:37:23 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9FN26mdwz4JTd; Fri, 20 Sep 2024 14:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726843043; 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=FmB1SxSX2r6KsbnlLxAr1sJOvpx4S+4XpGL0DAF0KFA=; b=oKEtYQAsA8HxoEonm8YXAdYdliZtFGdFSeiFnDIgjCh/NVVwANxuRkhEWzbCpmT5xnShIZ +H8XKBsAJsKQWywYUfIq4BRc+FXLCZd5Ybhnr4glJL4HH85DIuxzwgWExEg8I+9lFUc7lJ 8QNg+RntKN1iWXqOVl0/j2JnT4xjzDLIikfhOBq71JFfCcjrVIuno1AtheuYaSTXSq5ELo BX1Q/C0REExLvgfTuKAf3HJLUuir12bQ+7PBxDlGcmxkOqi7ZGqlpa7c4cisr9VffVB+pP NkbtompZg4OxRuPZpCCneWfCO5OP9oQpI8t1CHvUq/RWA+I3ihqEn7Sb8e8WTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726843042; a=rsa-sha256; cv=none; b=TpOiii/1JZCGmE3+k+oRHFZCZv+V2sUSNmkvNNC1DkgGTW0Si8KKt5fS8eaCUhp/G37Td8 vyuDNFQo5m2SWYdvG0cpBGvwE4+U7EJ1Z4vYtKuyGV+bnKSS0I3kMr5LJsr2GJ7/iMCmsS PQmFN3kRaKiFM+zviA2EyOcPAODRE8klOBjn5Hgqe8cxGOofxFXyRz7vc+A6PC4SjpMSmg rFIDpl3e6x5vqmGZyMmCuOG3D28aYSCoBhsDzX6OnJXrFXVzC4PwSrFfPtSRvWutc0BbtO tMbaS1uFRiV6Zr18f6RHEGa35NddnHVAaPeDi7yvMDKOa2Y5Srgjh6qxMQY7Zg== 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=1726843042; 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=FmB1SxSX2r6KsbnlLxAr1sJOvpx4S+4XpGL0DAF0KFA=; b=rynKBOrjGf1Dm5UhMFHHThJ59Gd5tGkeiHuDNh3s8TKqq+pMClvAT/gFMHzdIrKQEn2RNn k2dpBeVigHJdYMSVMga9z4CwALGfS2zrd9aM2cTtsTiv4yJiWF2xzk0/Z9nGouo36l7Tfx k8Gea8fO36if7Yzsmkl50l8DMbdKsJvt91U5Y+tj3rRPMsnHuVCs7GnIkaXcfLTbrehHqT aUdxvF5yDaLTHGyE5+n7TU3GeLpf2nD08S/GKuKu46/0IjGFbBR6Qv/YYIaQqV1QHVo4dY Oz2DkNdCR1vegEB22x/ip40K0JiKKi7lUp/VdNjhMtMovIMUUicR+qBtZbHWTw== 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 4X9FN265JnzswG; Fri, 20 Sep 2024 14:37:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48KEbMGT013015; Fri, 20 Sep 2024 14:37:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48KEbMqF013012; Fri, 20 Sep 2024 14:37:22 GMT (envelope-from git) Date: Fri, 20 Sep 2024 14:37:22 GMT Message-Id: <202409201437.48KEbMqF013012@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 650056363bad - main - manuals: Fix errors in .2 pages List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 650056363baddb83c61c85b0539ee536f3d4b56c Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=650056363baddb83c61c85b0539ee536f3d4b56c commit 650056363baddb83c61c85b0539ee536f3d4b56c Author: Graham Percival AuthorDate: 2024-09-20 01:54:39 +0000 Commit: Mitchell Horne CommitDate: 2024-09-20 14:37:02 +0000 manuals: Fix errors in .2 pages These were reported by `mandoc -T lint ...` as errors. fhlink.2, fhreadlink.2: remove unneeded block closing. getfh.2, procctl.2: add necessary block closing. ptrace.2: -width only takes one argument. swapon.2: and weren't being displayed, because .It is for a list item whereas .In is for included files. Also, we want a blank line between headers and the other one. Signed-off-by: Graham Percival PR: 281597 Reviewed by: mhorne Sponsored by: Tarsnap Backup Inc. --- lib/libsys/fhlink.2 | 1 - lib/libsys/fhreadlink.2 | 2 -- lib/libsys/getfh.2 | 1 + lib/libsys/procctl.2 | 1 + lib/libsys/ptrace.2 | 2 +- lib/libsys/swapon.2 | 5 +++-- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libsys/fhlink.2 b/lib/libsys/fhlink.2 index 332856630879..b7f7d02dd136 100644 --- a/lib/libsys/fhlink.2 +++ b/lib/libsys/fhlink.2 @@ -38,7 +38,6 @@ .Fn fhlink "fhandle_t *fhp" "const char *to" .Ft int .Fn fhlinkat "fhandle_t *fhp" "int tofd" "const char *to" -.Fc .Sh DESCRIPTION The .Fn fhlink diff --git a/lib/libsys/fhreadlink.2 b/lib/libsys/fhreadlink.2 index 23850c6a2117..222142de223e 100644 --- a/lib/libsys/fhreadlink.2 +++ b/lib/libsys/fhreadlink.2 @@ -36,7 +36,6 @@ .In sys/mount.h .Ft int .Fn fhreadlink "fhandle_t *fhp" "char *buf" "size_t bufsize" -.Fc .Sh DESCRIPTION The .Fn fhreadlink @@ -86,7 +85,6 @@ The file handle .Fa fhp is no longer valid .El -.El .Sh SEE ALSO .Xr fhstat 2 , .Xr fhlink 2 , diff --git a/lib/libsys/getfh.2 b/lib/libsys/getfh.2 index a03a3394aabb..d16a34da4f28 100644 --- a/lib/libsys/getfh.2 +++ b/lib/libsys/getfh.2 @@ -212,6 +212,7 @@ argument is not an absolute path and is neither .Dv AT_FDCWD nor a file descriptor associated with a directory. +.El .Sh SEE ALSO .Xr fhopen 2 , .Xr open 2 , diff --git a/lib/libsys/procctl.2 b/lib/libsys/procctl.2 index 049568c5fc09..cdb379696401 100644 --- a/lib/libsys/procctl.2 +++ b/lib/libsys/procctl.2 @@ -712,6 +712,7 @@ following statuses: The status is or-ed with the .Va PROC_KPTI_STATUS_ACTIVE in case KPTI is active for the current address space of the process. +.El .Sh NOTES Disabling tracing on a process should not be considered a security feature, as it is bypassable both by the kernel and privileged processes, diff --git a/lib/libsys/ptrace.2 b/lib/libsys/ptrace.2 index ae1770315aa5..9b789a0e45b3 100644 --- a/lib/libsys/ptrace.2 +++ b/lib/libsys/ptrace.2 @@ -830,7 +830,7 @@ value. If the system call completed in an unusual fashion, .Va sr_error is set to a negative value: -.Bl -tag -width Dv EJUSTRETURN -compact +.Bl -tag -width EJUSTRETURN -compact .It Dv ERESTART System call will be restarted. .It Dv EJUSTRETURN diff --git a/lib/libsys/swapon.2 b/lib/libsys/swapon.2 index 78fc94eb6e34..d7694ed48c8e 100644 --- a/lib/libsys/swapon.2 +++ b/lib/libsys/swapon.2 @@ -34,8 +34,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.It vm/vm_param.h -.It vm/swap_pager.h +.In vm/vm_param.h +.In vm/swap_pager.h +.Pp .In unistd.h .Ft int .Fn swapon "const char *special"