Re: mmap bug in 2.2.13 (or in documentation)

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Wed, 29 Dec 1999 14:23:25 +0000


Abramo Bagnara wrote:
> As I'm unable to understand why a file opened WR_ONLY cannot be mmap'ed
> PROT_WRITE, MAP_SHARED I deduce that a break is missing at line 222.

On some platforms (i386), PROT_WRITE is equivalent to PROT_READ |
PROT_WRITE. The processor provides no mechanism for write-only access.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/