summaryrefslogtreecommitdiff
path: root/usr.bin?id=0b79eac6423ec1e204856a6d29ce600422106cd6
diff options
context:
space:
mode:
authorBen Gras <ben@minix3.org>2014-03-17 15:53:28 +0100
committerLionel Sambuc <lionel@minix3.org>2014-07-28 17:05:20 +0200
commit0b79eac6423ec1e204856a6d29ce600422106cd6 (patch)
treeb86908b3f20cb9414f21d19bfe3a9aaa166bb82d /usr.bin?id=0b79eac6423ec1e204856a6d29ce600422106cd6
parent29dca953867b73cb735105262b1df6d5c434c19e (diff)
mmap: accept non-PROT_WRITE MAP_SHARED mappings
Currently we don't accept writable file mmap()s, as there is no system in place to guarantee dirty buffers would make it back to disk. But we can actually accept MAP_SHARED for PROT_READ mappings, meaning the ranges aren't writable at all (and no private copy is made as with MAP_PRIVATE), as it turns out a fairly large class of usage. . fail writable MAP_SHARED mappings at runtime . reduces some minix-specific patches . lets binutils gold build on minix without further patching Change-Id: If2896c0a555328ac5b324afa706063fc6d86519e
Diffstat (limited to 'usr.bin?id=0b79eac6423ec1e204856a6d29ce600422106cd6')
0 files changed, 0 insertions, 0 deletions