diff options
| author | Alexander Ziaee <concussious@runbox.com> | 2024-09-21 18:03:57 +0000 |
|---|---|---|
| committer | Mitchell Horne <mhorne@FreeBSD.org> | 2024-11-04 16:08:38 +0000 |
| commit | 3dedfaa01a9ce21bd22dafbb9b32f9d8d96b0f63 (patch) | |
| tree | 9ab9201be3ff8342708bf45ea3f9540501e6f02e | |
| parent | 64e8a9679ead6f7e2ab3617b50d5edc99f410e52 (diff) | |
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)
| -rw-r--r-- | share/man/man7/mitigations.7 | 12 |
1 files 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) |
