Module Name: src
Committed By: abhinav
Date: Mon Jun 12 14:59:04 UTC 2017
Modified Files:
src/lib/libc/sys: mmap.2
Log Message:
Fix typo
Insert Pp after a list to add vertical space before the next paragraph
Remove Pp before Bl at two places
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/lib/libc/sys/mmap.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/mmap.2
diff -u src/lib/libc/sys/mmap.2:1.50 src/lib/libc/sys/mmap.2:1.51
--- src/lib/libc/sys/mmap.2:1.50 Sun May 14 12:29:10 2017
+++ src/lib/libc/sys/mmap.2 Mon Jun 12 14:59:04 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: mmap.2,v 1.50 2017/05/14 12:29:10 wiz Exp $
+.\" $NetBSD: mmap.2,v 1.51 2017/06/12 14:59:04 abhinav Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -76,7 +76,6 @@ The protections (region accessibility) a
argument by
.Em OR Ns 'ing
the following values:
-.Pp
.Bl -tag -width PROT_WRITEXX -offset indent
.It Dv PROT_EXEC
Pages may be executed.
@@ -87,13 +86,14 @@ Pages may be written.
.It Dv PROT_NONE
Placeholder when requesting no access permission.
.El
+.Pp
As a
.Nx
extension,
.Dv PROT_MPROTECT
can be used to request additional permissions for later use with
.Fn mprotect 2 .
-This is necessary for switching pages between writeable and executable
+This is necessary for switching pages between writable and executable
when PAX mprotect restrictions are in place.
.Pp
.Bf -symbolic
@@ -124,7 +124,6 @@ Sharing, mapping type and options are sp
argument by
.Em OR Ns 'ing
the following values:
-.Pp
.Bl -tag -width MAP_HASSEMAPHOREXX -offset indent
.It Dv MAP_ALIGNED(n)
Request that the allocation be aligned to the given boundary.