Re: RFC: mmap(PROT_READ, MAP_SHARED) fails if !writepage.

From: David Woodhouse (dwmw2@infradead.org)
Date: Sat Nov 09 2002 - 11:36:49 EST


dwmw2@infradead.org said:
> Suggested patch below.... or should I just hack fsx-linux to use
> MAP_PRIVATE for its readonly mappings and ignore it?

torvalds@transmeta.com said:
> You have two choices: make gratuitous changes to the kernel to make
> some random test happy, or fix the test.

> I think you should fix the test. The kernel change buys you _zero_ new
> features.

Works for me. Thanks for the answer.

--
dwmw2

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



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:18 EST