From nobody Fri Dec 27 17:06:47 2024 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 4YKX3C6pcyz5j3L6; Fri, 27 Dec 2024 17:06:47 +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 4YKX3C2yntz3wd3; Fri, 27 Dec 2024 17:06:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735319207; 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=ylvXJeZQabN+U6CzRsynx9EaRtkCv1qhb6i7yv7U6u0=; b=QDY/uDRGhtHoYYkA0x/sQCKfJlq8A+22XqRVEFJ3vyH/nU414HwBOgN1AUlLyC/DB8H3A8 lNrJbZ+sXRua6utDWnBBu+4mdcW+htpQYsyOjsqa7+9ET1Xcvrw1QiqM3RtGw6m2+V5XYv 66PfOGwW/6UIFa70PcnJ7vTJy2ek4gerInw3GVkflUWhuEcajpk9+hWbwYPrd/fue2TG9j 4qH5FhAO6xY3OSBSMcCJuFT3vmbALhcsjqOa5QevMsLCx3p6lvV0S3UUZb8rkFNqGJ3Zbj ncvkq2//z7EhkrFFta8ovuTCpuqG98/KAA9wwO0gZ5OUF7k8EMRzPLtoHRfKpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735319207; 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=ylvXJeZQabN+U6CzRsynx9EaRtkCv1qhb6i7yv7U6u0=; b=cGMYecZFAK/JNwpCMWp1BnIqXqF3LE2QA5URdPul4h7zBgeadaBYsj3v+Fr54p2ySIWvzU 4up8+X31CRC0irFHbfo8vRLHep58Q8tsqpmz/VVwowN9oMhJnsaVG06f/ktoilN2BNdbPm wqyDVAfhhgOQUJ+0W4Wcc1IaP1xIkadXqykfn+5MFgonpJ1hk6+TFEdTi3wyt1iQHmEIPY TzsbcF4H70e+pI2tfT0c6DzIqfNLIYM/W9h9DoxwuPsPy8R1sMlYJxCxvJGBjDYhfz08Lm 1wY4n4Y5JDI8y4ymhJpXOiODsWnqEWbQqpAH+5NqbmUS99YFlAt6F+TV07WYug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735319207; a=rsa-sha256; cv=none; b=u8Ph3vR3G74XCW3zaJY6IysScrHIGmSE4jMgW4shcEDOLIgAFet5XdRM1q66Td1+4exdAZ pYR3+u37dp+NJ0fLRcmEj3HJx6VId6bNWvH/RSnKvd7uhjmSXblrqYooSVyXhZ4jxyaivO qrSd6n8lOpcyVFZCsJkR9ByfcW86fKZwFk7dGMBkbSCcbpkMIreRB8y1G3ogohlogRafe1 IzUAryK82EdtJ/sKkBOEZ6eCIN7PjZsZggI03rUpsmaYEw18U7GvDeuABQMR/1lg0afqj8 59vYT9sTZ38JygCuBhRvFhfbfroPMtxL2Yj4+w8u5XvKj694GtbYVRyY30fVjQ== 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 4YKX3C2ZScznhg; Fri, 27 Dec 2024 17:06:47 +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 4BRH6lmn038190; Fri, 27 Dec 2024 17:06:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BRH6lVw038187; Fri, 27 Dec 2024 17:06:47 GMT (envelope-from git) Date: Fri, 27 Dec 2024 17:06:47 GMT Message-Id: <202412271706.4BRH6lVw038187@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 3aaa2a2694cd - stable/13 - manuals: Fix errors in .2 pages 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 3aaa2a2694cd26a1706c42465d8a3c96ffd68013 Auto-Submitted: auto-generated The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3aaa2a2694cd26a1706c42465d8a3c96ffd68013 commit 3aaa2a2694cd26a1706c42465d8a3c96ffd68013 Author: Graham Percival AuthorDate: 2024-09-20 01:54:39 +0000 Commit: John Baldwin CommitDate: 2024-12-27 15:46:45 +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. (cherry picked from commit 650056363baddb83c61c85b0539ee536f3d4b56c) --- lib/libc/sys/fhlink.2 | 1 - lib/libc/sys/fhreadlink.2 | 2 -- lib/libc/sys/getfh.2 | 1 + lib/libc/sys/procctl.2 | 1 + lib/libc/sys/ptrace.2 | 2 +- lib/libc/sys/swapon.2 | 5 +++-- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libc/sys/fhlink.2 b/lib/libc/sys/fhlink.2 index 332856630879..b7f7d02dd136 100644 --- a/lib/libc/sys/fhlink.2 +++ b/lib/libc/sys/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/libc/sys/fhreadlink.2 b/lib/libc/sys/fhreadlink.2 index 23850c6a2117..222142de223e 100644 --- a/lib/libc/sys/fhreadlink.2 +++ b/lib/libc/sys/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/libc/sys/getfh.2 b/lib/libc/sys/getfh.2 index f5eaf4be7874..ae3b67edf1e8 100644 --- a/lib/libc/sys/getfh.2 +++ b/lib/libc/sys/getfh.2 @@ -214,6 +214,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/libc/sys/procctl.2 b/lib/libc/sys/procctl.2 index f6af85a873f6..0f63c37cba58 100644 --- a/lib/libc/sys/procctl.2 +++ b/lib/libc/sys/procctl.2 @@ -702,6 +702,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/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 25c7663114a5..4406a33a3748 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/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/libc/sys/swapon.2 b/lib/libc/sys/swapon.2 index c0c12d9dde68..8cfac8ce1f64 100644 --- a/lib/libc/sys/swapon.2 +++ b/lib/libc/sys/swapon.2 @@ -36,8 +36,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"