Re: make PROT_WRITE imply PROT_READ

From: Ulrich Drepper
Date: Wed Jun 28 2006 - 19:45:59 EST


On 6/28/06, Pavel Machek <pavel@xxxxxx> wrote:
mmap() behaviour always was platform-specific, and it happens to be
quite strange on i386. So what.

Nonsense. The mmap semantics is specified in POSIX. If something
doesn't work as requested it is a bug. For the specific issue hurting
x86 and likely others the standard explicitly allows requiring
PROT_READ to be used or implicitly adding it. Don't confuse people
with wrong statement like yours.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/