diff options
| author | abhinav <abhinav@NetBSD.org> | 2017-06-12 14:59:04 +0000 |
|---|---|---|
| committer | abhinav <abhinav@NetBSD.org> | 2017-06-12 14:59:04 +0000 |
| commit | 7dbf7c0fcd80e75d9f54d1130815ddbc06d39686 (patch) | |
| tree | 734922c029e0f6e46e2b65b570ef7920ebfcbbda /lib/libc/sys | |
| parent | 47f6882988eb919a3005663ae0f64b1a1268f39c (diff) | |
Fix typo
Insert Pp after a list to add vertical space before the next paragraph
Remove Pp before Bl at two places
Diffstat (limited to 'lib/libc/sys')
| -rw-r--r-- | lib/libc/sys/mmap.2 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index df4636fab79..d3f242e6a87 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -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) are specified in the 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 specified in the 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. |
