mirror of https://github.com/mkerrisk/man-pages
Add text noting that PROT_WRITE may (and on x86 does) imply PROT_READ.
This commit is contained in:
parent
005d444876
commit
f3edaabb5d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue