From nobody Mon Nov 04 16:16:46 2024 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 4XhxRz1zdVz5cGWW; Mon, 04 Nov 2024 16:16: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XhxRy6R1mz4qYT; Mon, 4 Nov 2024 16:16:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730737006; 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=Uj5UrR8ilIDlYDMt5k1Eol/xe1aW+owo29/oinrPpD0=; b=Ccpsvsp5FiSe0J+mw7FAn9g0Kf902HPXoDCx+Sx9tg2FN2m7nt71llBNZbNtzPzBOCBlK2 4r2WGz2/mBgVXBu5l/wLM/d9xpA87V129Di9h4CZyvJbA4RtMe2J7nF4NeTM1XnTXXOVTS W+7rFc+D4OxepOiLNLtN7l+EWaagGkDiwEmPV317/QbOyfBEOipiu2ryIwB/SGgk0DbiEn 5klgR9mlkDW3mUNZWyu4xS1jui7uQJ86tK4EeF97Eo2zI0XlWIaPxtRxHduPBTlQJy2JXl 2y0MO9fuQ7/IA4rTWtXbNgqCJ0WHcQ4C2wqy/zNOrzvCJscTR8uLri4gO1JVCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730737006; 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=Uj5UrR8ilIDlYDMt5k1Eol/xe1aW+owo29/oinrPpD0=; b=HQGryvVOCLFgU6UiFwtcaNuqJ8wfuBkDpqAoCCVfRwhenAR9lco2LHVSDuidFfmCfgNKP1 i147F18r3b22QXW29raI193AsSwNUANQhdG0DyeG7hUlHMo0353AQrB8OtDfYGOQGRMdHZ 3xWHt74NNxlVwFZJToNidyzT98NyvJ5S8PC4ed78NNObRaAQUIRwXHFtsY4k37mlC5dNFA ZegwfCartEEFfq7BqWFXqy52dxNu/v3HGOMNXlDrx8PjwXaJsskA7e2qD6OYsKyrVttkpn k3wsa77cZwj2XXRCY9gnHEK+s0wvRtnu2K56W7TsUMGlVq1wtdP4dTaPBzZB3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730737006; a=rsa-sha256; cv=none; b=pn/aBP1ObU/ROzPl69fzM04/sDvuaxKYGOpfDKHwlRYgW2+sT76MmbQXZaL3C1UDm0eHRa RF8ePAKkjD5Q4ItVB+7oNGK0f/eS8sSURK/r4pwrz6oSB7FtOe1XHkhXhcvOCg9MS4iKUW so4gWaCmF/BdLPi/+dJYPQV7VN2mQ9hdjJTEBgqViaElffKuNjEYMOFsP8wH+JRjMqaKJM yqZs9k+ydoH2gbyXxxAs5xrq06lXnjtj/9jm4GAngIDh9yG8UpGVGZ5dl19yenH+2RqJrT SE8zrsT2Fn5Hy0Adyoh5qH1QvaJABoIzeFzo7h8sc6wYRyiN5qvNwIXUrZe7XA== 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 4XhxRy5VgqzfpN; Mon, 4 Nov 2024 16:16:46 +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 4A4GGkIA010635; Mon, 4 Nov 2024 16:16:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A4GGkiL010632; Mon, 4 Nov 2024 16:16:46 GMT (envelope-from git) Date: Mon, 4 Nov 2024 16:16:46 GMT Message-Id: <202411041616.4A4GGkiL010632@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 3dedfaa01a9c - stable/14 - mitigations.7: minor cleanup (linter errors) 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: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 3dedfaa01a9ce21bd22dafbb9b32f9d8d96b0f63 Auto-Submitted: auto-generated The branch stable/14 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=3dedfaa01a9ce21bd22dafbb9b32f9d8d96b0f63 commit 3dedfaa01a9ce21bd22dafbb9b32f9d8d96b0f63 Author: Alexander Ziaee AuthorDate: 2024-09-21 18:03:57 +0000 Commit: Mitchell Horne CommitDate: 2024-11-04 16:08:38 +0000 mitigations.7: minor cleanup (linter errors) Reviewed by: emaste MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/1428 (cherry picked from commit c3294033e024620874ecfc219174347989378a3b) --- share/man/man7/mitigations.7 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/share/man/man7/mitigations.7 b/share/man/man7/mitigations.7 index 0667d58c309b..7e3dc3078825 100644 --- a/share/man/man7/mitigations.7 +++ b/share/man/man7/mitigations.7 @@ -154,7 +154,7 @@ proccontrol .Ss Position Independent Executable (PIE) PIE binaries are executable files that do not have a fixed load address. They can be loaded at an arbitrary memory address by the -.Xr rtld +.Xr rtld 1 run-time linker. With ASLR they are loaded at a random address on each execution. .\" @@ -185,17 +185,19 @@ Allow 64-bit processes to map pages simultaneously writable and executable. .\" .Ss PROT_MAX .Dv PROT_MAX -is a FreeBSD-specific extension to +is a +.Fx Ns +-specific extension to .Xr mmap 2 . .Dv PROT_MAX provides the ability to set the maximum protection of a region allocated by -.Xr mmap +.Xr mmap 2 and later altered by -.Xr mprotect . +.Xr mprotect 2 . For example, memory allocated originally with an mmap prot argument of PROT_MAX(PROT_READ | PROT_WRITE) | PROT_READ may be made writable by a future -.Xr mprotect +.Xr mprotect 2 call, but may not be made executable. .\" .Ss Relocation Read-Only (RELRO)