From nobody Tue Oct 15 20:21:25 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 4XSlqV1rgBz5YxHw; Tue, 15 Oct 2024 20:21:26 +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 4XSlqV0p5Sz4vfp; Tue, 15 Oct 2024 20:21:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729023686; 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=O8FMDhkncuKrkUU475UIagEJIzjvrVkzJh5wGHjN0Vc=; b=ih3qq5aT6UzjxwjQXI4o4Mwx0t6+V2LvETp00jZmSE87YSRcnUAS2cYoEps5PQWJS1Qsqa meQMBqD5XLMxOp0ZkereTwAC7onTd7CuHP9BAxJe2JFLRuCSwRCR0puf2odW7Tl+DtUaFJ ccKiRpn35iN6pGGNlFAzk5OQGbzhG5OsKrl+GDQhI7YEd+jkv/A2od7AQKJGTKrQtGRFlE 2Ox2jACQBS24tof68hbfYd6CFdXdCSOYmx1n7CoGplCKqsFp72Nd0K/GaSAhbNoabUq8CX xbnx+ey0gBLAxjCS+XAc/YDgKnoMTjQQIwmMXZJ0pHoec/4SltY2sAidt1z9dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729023686; 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=O8FMDhkncuKrkUU475UIagEJIzjvrVkzJh5wGHjN0Vc=; b=OzoKniEFrQ9MfcgpIfLNgqaFkU371oS2IYBXSV5DOmDt0uuTMGG3lKCGBadSBMZXQkYwAY SxS9gVVrRuFMxLLqu9S994poC0hZewwEJ7NlxVAdZTGIxSHvCpiXdo5iOVyexRKPfB407j R+5CLyqvjo9pkpN/qvbBwLkgsP5EBU/8iXuk0baobBytRdOjeBg0LyecnvgsAV6vIevW/K 14t9e4URCc70y0QID+5zb/O74ygePWTA3VhbdBT2HfSwSZilElckIZMlbjEMnB56rOHr8u e7stiugICCvFE/s4DY65y/cVNINwOc28bgsdA/OGm2X3yruxazSA5f3MHQRZsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729023686; a=rsa-sha256; cv=none; b=nq5BwkWF7h9uQbK1Xxduq1Jv6pg8j/fNz7GWJvrtTV97vzE/k2YEkcbhitMBc3orHugk5O uj9+3C0Y7cJ5qjZY9LQ+Pp7icO1r+FxgwjUnvTqLu826W1jle/vA/Ge+7uQz00nIbyGQZ8 ok4DCdPEKJNKrof7xg9FyQWUG6XZgeIt90FTUDGTg/O69DNLvcBcrVQdT4mnxYUQjZY5b5 kI9hc8kQWXzd2wCJcJf7SWLSx0pAv937qHTjEankoteL7+H9kpahaUa+zibrsQ+IBbeYCf UTBz/TyeWHVPMud3DQWaEjWRpp73x4yGtE5SwkR9C9MdNtHjViitpGEdvn7hfA== 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 4XSlqV00qGzc3f; Tue, 15 Oct 2024 20:21:26 +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 49FKLPGS028931; Tue, 15 Oct 2024 20:21:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49FKLPkp028928; Tue, 15 Oct 2024 20:21:25 GMT (envelope-from git) Date: Tue, 15 Oct 2024 20:21:25 GMT Message-Id: <202410152021.49FKLPkp028928@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: c3294033e024 - main - mitigations.7: minor cleanup (linter errors) 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: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c3294033e024620874ecfc219174347989378a3b Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=c3294033e024620874ecfc219174347989378a3b commit c3294033e024620874ecfc219174347989378a3b Author: Alexander Ziaee AuthorDate: 2024-09-21 18:03:57 +0000 Commit: Mitchell Horne CommitDate: 2024-10-15 20:18:14 +0000 mitigations.7: minor cleanup (linter errors) Reviewed by: emaste MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/1428 --- 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 61fd8641cf4e..c487e4e1000b 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)