Go to file
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
benchmarks Import NetBSD true and false commands 2014-07-28 17:05:09 +02:00
bin Import NetBSD sleep command 2014-07-28 17:05:09 +02:00
commands writeisofs build fix (missing NAME_MAX define). 2014-07-28 17:05:20 +02:00
common mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
distrib Importing games/arithmetic 2014-07-28 17:05:19 +02:00
docs Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
drivers TTY: do not reply to KERNEL 2014-07-28 17:05:13 +02:00
etc Importing games/fortune 2014-07-28 17:05:16 +02:00
external fix for ld.so @ bitcode build 2014-07-28 17:05:12 +02:00
games Importing games/arithmetic 2014-07-28 17:05:19 +02:00
gnu Replace wget with ftp as default in fetch scripts 2014-07-28 17:05:08 +02:00
include _MINIX_SYSTEM - fixes for in-minix crossbuild 2014-07-28 17:05:14 +02:00
kernel fix declaration of minix_kerninfo_user 2014-07-28 17:05:15 +02:00
lib mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
libexec mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
man Importing games/fortune 2014-07-28 17:05:16 +02:00
releasetools Importing games/arithmetic 2014-07-28 17:05:19 +02:00
sbin Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
servers mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
share _MINIX_SYSTEM - fixes for in-minix crossbuild 2014-07-28 17:05:14 +02:00
sys mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
test mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
tests Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
tools Importing games/fortune 2014-07-28 17:05:16 +02:00
usr.bin mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
usr.sbin Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Install sources with MKSRC=yes 2014-07-28 17:05:12 +02:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00