summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Rosenstock <jrosenstock@google.com>2022-06-03 16:45:13 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-06-03 18:24:59 +0200
commit8a7c2ab937d3e97ba7ea053ad1db73accae54c03 (patch)
treef19e58d66a9b9df3a03c659820742f012a8e7772
parent97e09fde6fb5c8323f4a0287ddb314bfe913a48f (diff)
mmap.2: wfixman-pages-5.19-rc1
Change "supported only since" to "support was added in". Previously, this said, "MAP_POPULATE is supported for private mappings only since Linux 2.6.23." This could be parsed as "MAP_POPULATE is supported for private mappings only [not shared mappings] since Linux 2.6.23." Someone (a native English speaker) tried to tell me this. Change to "Support for MAP_POPULATE in conjunction with private mappings was added in Linux 2.6.23." This is unambiguous, and "support was added" is more common in other man pages. There are more instances of "supported only since", but they seem clearer. I could send a separate patch for them if desired. Signed-off-by: Jesse Rosenstock <jmr@google.com> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man2/mmap.27
1 files changed, 4 insertions, 3 deletions
diff --git a/man2/mmap.2 b/man2/mmap.2
index 3f339457b..eae5d8d4e 100644
--- a/man2/mmap.2
+++ b/man2/mmap.2
@@ -198,11 +198,11 @@ The
argument should be zero.
.\" See the pgoff overflow check in do_mmap().
.\" See the offset check in sys_mmap in arch/x86/kernel/sys_x86_64.c.
-The use of
+Support for
.B MAP_ANONYMOUS
in conjunction with
.B MAP_SHARED
-is supported on Linux only since kernel 2.4.
+was added in Linux 2.4.
.TP
.B MAP_DENYWRITE
This flag is ignored.
@@ -388,8 +388,9 @@ The
call doesn't fail if the mapping cannot be populated (for example, due
to limitations on the number of mapped huge pages when using
.BR MAP_HUGETLB ).
+Support for
.B MAP_POPULATE
-is supported for private mappings only since Linux 2.6.23.
+in conjunction with private mappings was added in Linux 2.6.23.
.TP
.BR MAP_STACK " (since Linux 2.6.27)"
Allocate the mapping at an address suitable for a process