Add text noting that PROT_WRITE may (and on x86 does) imply PROT_READ.

This commit is contained in:
Michael Kerrisk 2007-09-10 04:10:36 +00:00
parent 005d444876
commit f3edaabb5d
2 changed files with 8 additions and 0 deletions

View File

@ -455,6 +455,10 @@ wrapper function invokes
with a suitably adjusted value for
.IR offset .
On some hardware architectures (e.g., x86),
.BR PROT_WRITE
implies
.BR PROT_READ .
It is architecture dependent whether
.B PROT_READ
implies

View File

@ -124,6 +124,10 @@ Whether
has any effect different from
.B PROT_READ
is architecture and kernel version dependent.
On some hardware architectures (e.g., x86),
.BR PROT_WRITE
implies
.BR PROT_READ .
POSIX.1-2001 says that an implementation may permit access
other than that specified in