diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2021-09-03 18:30:23 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2021-09-03 18:30:23 +0000 |
commit | e51b29b5a931a8020de3c9de8f400b5bfa802eff (patch) | |
tree | a2b61b391415d01af12f0822aded06c46d745d1d | |
parent | 9895a2073f98be927041f5a73d0d3ff5e8844bfb (diff) |
mprotect.2: Remove legacy BSD text
This text dates to the BSD 4.4 import and is misleading. The mprotect
syscall acts on page granularity and breaks up mappings as required to
do so.
Note that with the addition of non-transparent superpages (aka
largepages) the size of a page at a given address may vary. This
commit does not attempt to address the lack of documentation of this
feature.
Sponsored by: DARPA
Reviewed by: alc, mckusick, imp, kib, markj
Differential Revision: https://reviews.freebsd.org/D31776
-rw-r--r-- | lib/libc/sys/mprotect.2 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/sys/mprotect.2 b/lib/libc/sys/mprotect.2 index 0568343232b7..5c024dd24d56 100644 --- a/lib/libc/sys/mprotect.2 +++ b/lib/libc/sys/mprotect.2 @@ -28,7 +28,7 @@ .\" @(#)mprotect.2 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd February 26, 2020 +.Dd September 3, 2021 .Dt MPROTECT 2 .Os .Sh NAME @@ -46,11 +46,6 @@ The system call changes the specified pages to have protection .Fa prot . -Not all implementations will guarantee protection on a page basis; -the granularity of protection changes may be as large as an entire region. -A region is the virtual address space defined by the start -and end addresses of a -.Vt "struct vm_map_entry" . .Pp Currently these protection bits are known, which can be combined, OR'd together: |