summaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2024-01-16 07:39:57 -0600
committerAlejandro Colomar <alx@kernel.org>2024-01-16 16:16:52 +0100
commit9e04cb40f67c83d729e6a1ace353304593b5ad40 (patch)
treedad05e6ede4e94cac1ae30ba5105900ee331a0e8 /man2
parent3a271d5b89c536ff88a238986332269b126a6e91 (diff)
mremap.2: wfix
Recast to use language paralleling that of the MREMAP_DONTUNMAP discussion elsewhere in the page. Spotted these (excessively?) abbreviated cross references while preparing for the `MR` man(7) macro migration. Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man2')
-rw-r--r--man2/mremap.213
1 files changed, 9 insertions, 4 deletions
diff --git a/man2/mremap.2 b/man2/mremap.2
index e4dd9d0ce..336aae676 100644
--- a/man2/mremap.2
+++ b/man2/mremap.2
@@ -43,9 +43,11 @@ may be provided; see the description of
below.
.P
If the value of \fIold_size\fP is zero, and \fIold_address\fP refers to
-a shareable mapping (see
-.BR mmap (2)
-.BR MAP_SHARED ),
+a shareable mapping
+(see the description of
+.B MAP_SHARED
+in
+.BR mmap (2)),
then
.BR mremap ()
will create a new mapping of the same pages.
@@ -321,7 +323,10 @@ if
was zero and the mapping referred to by
.I old_address
was a private mapping
-.RB ( mmap "(2) " MAP_PRIVATE ),
+(see the description of
+.B MAP_PRIVATE
+in
+.BR mmap (2)),
.BR mremap ()
created a new private mapping unrelated to the original mapping.
This behavior was unintended