minix/servers/vm
Ben Gras 0b79eac642 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
2014-07-28 17:05:20 +02:00
..
arch arm:refactor move pagetable to the common directory. 2013-12-17 14:41:35 +01:00
acl.c VM: support for shared call mask ACLs 2013-08-08 23:22:58 +02:00
alloc.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
break.c Clean up interface to PM and VFS 2014-03-01 09:05:01 +01:00
cache.c VM: readd support for forgetting cached FS blocks 2014-03-01 09:04:53 +01:00
cache.h vm: new secondary cache code 2013-04-24 10:18:16 +00:00
cavl_if.h vm: make WARNS=5 proof 2013-09-06 11:51:20 +02:00
cavl_impl.h vm: make WARNS=5 proof 2013-09-06 11:51:20 +02:00
exit.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
fdref.c vm: make WARNS=5 proof 2013-09-06 11:51:20 +02:00
fdref.h Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
fork.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
glo.h make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
main.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
Makefile arm:refactor move pagetable to the common directory. 2013-12-17 14:41:35 +01:00
mem_anon.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
mem_anon_contig.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
mem_cache.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
mem_directphys.c arm:vm allow per memory type flags. 2013-09-26 12:11:28 +02:00
mem_file.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
mem_shared.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
memlist.h VM: only single page chunks 2012-09-18 13:17:49 +02:00
memtype.h make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
mmap.c mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
pagefaults.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
pagetable.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
pb.c vm: make WARNS=5 proof 2013-09-06 11:51:20 +02:00
phys_region.h VM: memtype fix 2013-04-24 10:18:15 +00:00
proto.h make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
pt.h vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
queryexit.c Adding ipc_ prefix to ipc primitives 2014-03-01 09:05:01 +01:00
region.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
region.h Input infrastructure, INPUT server, PCKBD driver 2014-03-01 09:04:55 +01:00
regionavl.c vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
regionavl.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
regionavl_defs.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
rs.c Adding ipc_ prefix to ipc primitives 2014-03-01 09:05:01 +01:00
sanitycheck.h make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
slaballoc.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
unavl.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
util.h vm: make WARNS=5 proof 2013-09-06 11:51:20 +02:00
utility.c make vfs & filesystems use failable copying 2014-07-28 17:05:14 +02:00
vfs.c 64-bit VFS_VMCALL_OFFSET 2014-07-28 17:05:10 +02:00
vm.h vm: new secondary cache code 2013-04-24 10:18:16 +00:00
vmproc.h VM: support for shared call mask ACLs 2013-08-08 23:22:58 +02:00