minix/test
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
..
blocktest 64-bit bdev position 2014-07-28 17:05:10 +02:00
ds libsys: various updates 2014-03-01 09:05:00 +01:00
fbdtest Add fbd -- Faulty Block Device driver 2011-12-11 22:45:46 +01:00
ipc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
kernel drop the minix_ prefixes for mmap and munmap 2014-03-03 20:47:03 +01:00
safecopy libsys: various updates 2014-03-01 09:05:00 +01:00
common.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
common.h many new tests 2013-04-19 16:21:48 +00:00
magic.h tests cleanup 2013-04-17 22:00:59 +00:00
Makefile Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
mod.c ld.so: be more mmap()-behaviour-independent 2012-06-25 14:13:07 +02:00
run test74: add mmap-related regression tests 2014-07-28 17:05:14 +02:00
t10a.c retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
t11a.c retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
t11b.c retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
t40a.c tests cleanup 2013-04-17 22:00:59 +00:00
t40b.c tests cleanup 2013-04-17 22:00:59 +00:00
t40c.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
t40d.c tests cleanup 2013-04-17 22:00:59 +00:00
t40e.c tests cleanup 2013-04-17 22:00:59 +00:00
t40f.c include/time.h: merged 2014-03-03 20:47:02 +01:00
t40g.c VFS: select(2) fixes 2014-03-01 09:04:51 +01:00
t60a.c Implement issetugid syscall 2011-11-28 10:03:43 +00:00
t60b.c Implement issetugid syscall 2011-11-28 10:03:43 +00:00
t67a.c test67: test opening files and sockets with O_CLOEXEC 2013-02-28 10:08:54 +00:00
t67b.c test67: test opening files and sockets with O_CLOEXEC 2013-02-28 10:08:54 +00:00
t68a.c test68: test pipe2 functionality 2013-02-28 10:08:54 +00:00
t68b.c test68: test pipe2 functionality 2013-02-28 10:08:54 +00:00
test1.c tests cleanup 2013-04-17 22:00:59 +00:00
test2.c Alignement on netbsd types, part 1 2014-02-18 11:25:01 +01:00
test3.c use netbsd <sys/signal.h> and sigset_t 2014-03-02 12:28:31 +01:00
test4.c use netbsd <sys/signal.h> and sigset_t 2014-03-02 12:28:31 +01:00
test5.c use netbsd <sys/signal.h> and sigset_t 2014-03-02 12:28:31 +01:00
test6.c tests cleanup 2013-04-17 22:00:59 +00:00
test7.c tests cleanup 2013-04-17 22:00:59 +00:00
test8.c tests cleanup 2013-04-17 22:00:59 +00:00
test9.c tests cleanup 2013-04-17 22:00:59 +00:00
test10.c tests cleanup 2013-04-17 22:00:59 +00:00
test11.c tests cleanup 2013-04-17 22:00:59 +00:00
test12.c tests cleanup 2013-04-17 22:00:59 +00:00
test13.c tests cleanup 2013-04-17 22:00:59 +00:00
test14.c tests cleanup 2013-04-17 22:00:59 +00:00
test15.c tests cleanup 2013-04-17 22:00:59 +00:00
test16.c tests cleanup 2013-04-17 22:00:59 +00:00
test17.c tests cleanup 2013-04-17 22:00:59 +00:00
test18.c tests cleanup 2013-04-17 22:00:59 +00:00
test19.c tests cleanup 2013-04-17 22:00:59 +00:00
test20.c tests cleanup 2013-04-17 22:00:59 +00:00
test21.c tests cleanup 2013-04-17 22:00:59 +00:00
test22.c tests cleanup 2013-04-17 22:00:59 +00:00
test23.c tests cleanup 2013-04-17 22:00:59 +00:00
test24.c test24: fix memory leak. 2014-01-13 22:22:25 -05:00
test25.c tests cleanup 2013-04-17 22:00:59 +00:00
test26.c tests cleanup 2013-04-17 22:00:59 +00:00
test27.c tests cleanup 2013-04-17 22:00:59 +00:00
test28.c tests cleanup 2013-04-17 22:00:59 +00:00
test29.c tests cleanup 2013-04-17 22:00:59 +00:00
test30.c tests cleanup 2013-04-17 22:00:59 +00:00
test31.c tests cleanup 2013-04-17 22:00:59 +00:00
test32.c tests cleanup 2013-04-17 22:00:59 +00:00
test33.c tests cleanup 2013-04-17 22:00:59 +00:00
test34.c tests cleanup 2013-04-17 22:00:59 +00:00
test35.c tests cleanup 2013-04-17 22:00:59 +00:00
test36.c tests cleanup 2013-04-17 22:00:59 +00:00
test37.c use netbsd <sys/signal.h> and sigset_t 2014-03-02 12:28:31 +01:00
test38.c tests cleanup 2013-04-17 22:00:59 +00:00
test39.c _MINIX_SYSTEM - fixes for in-minix crossbuild 2014-07-28 17:05:14 +02:00
test40.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
test41.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
test42.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
test43.c tests cleanup 2013-04-17 22:00:59 +00:00
test44.c drop the minix_ prefixes for mmap and munmap 2014-03-03 20:47:03 +01:00
test45.c tests cleanup 2013-04-17 22:00:59 +00:00
test45.h tests cleanup 2013-04-17 22:00:59 +00:00
test46.c tests cleanup 2013-04-17 22:00:59 +00:00
test47.c <machine/signal.h> 2014-03-03 20:47:07 +01:00
test48.c Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
test49.c tests cleanup 2013-04-17 22:00:59 +00:00
test50.c tests cleanup 2013-04-17 22:00:59 +00:00
test51.c align <sys/ucontext.h> <sys/uio.h> <sys/un.h> 2014-03-03 20:47:03 +01:00
test52.c tests cleanup 2013-04-17 22:00:59 +00:00
test53.c Replaced common u64.h functions with operators. 2014-03-02 12:28:32 +01:00
test54.c arm:fix for test54 and test55 2013-09-27 15:15:37 +02:00
test55.c test55: add tests for getvfsstat(2) 2014-02-18 11:25:02 +01:00
test56.c <sys/socket.h>, <netinet/{in,tcp,udp,udp_var}.h> 2014-03-03 20:47:03 +01:00
test57.c tests cleanup 2013-04-17 22:00:59 +00:00
test57loop.S Macros for symbols used in both ASM and C 2010-08-17 16:44:07 +00:00
test58.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
test59.c Experimental pthread compatibility library 2014-07-28 17:05:08 +02:00
test60.c tests cleanup 2013-04-17 22:00:59 +00:00
test61.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
test62.c tests cleanup 2013-04-17 22:00:59 +00:00
test63.c tests cleanup 2013-04-17 22:00:59 +00:00
test64.c drop the minix_ prefixes for mmap and munmap 2014-03-03 20:47:03 +01:00
test65.c <sys/wait.h> 2014-03-02 12:28:32 +01:00
test66.c tests cleanup 2013-04-17 22:00:59 +00:00
test66expected.h test66: float smoke test, floating point fixes (arm) 2013-02-20 12:29:37 +00:00
test67.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
test68.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
test69.c tests cleanup 2013-04-17 22:00:59 +00:00
test70.c test70: reduce ITERATIONS 2013-09-16 15:33:44 +00:00
test71.c vm: mmap support 2013-05-31 15:42:01 +00:00
test72.c _MINIX_SYSTEM - fixes for in-minix crossbuild 2014-07-28 17:05:14 +02:00
test73.c _MINIX_SYSTEM - fixes for in-minix crossbuild 2014-07-28 17:05:14 +02:00
test74.c mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
test75.c test75: fix child run time check bug 2013-10-14 13:20:44 +02:00
test76.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
test77.c <sys/syslimits.h> 2014-03-03 20:47:06 +01:00
test78.c netbsd dirent.h, import sys/sys *.h, mfs cleanup 2014-03-01 09:04:59 +01:00
test79.c PM: resolve fork/kill race condition 2014-03-01 09:04:59 +01:00
testcache.c vm: mmap support 2013-05-31 15:42:01 +00:00
testcache.h Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
testinterp.sh vfs,avfs: verify an interpreter was found on #! line 2011-12-21 23:44:13 +01:00
testisofs.sh run: allow scripts to be run as root 2013-11-28 13:31:37 +00:00
testmfs.sh Remove some legacy support in rc scripts & some cleanup 2014-03-01 09:05:01 +01:00
testsh1.sh Importing usr.bin/wc 2013-08-25 18:51:35 +02:00
testsh2.sh Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
testvm.c drop the minix_ prefixes for mmap and munmap 2014-03-03 20:47:03 +01:00
testvm.conf VM: readd support for forgetting cached FS blocks 2014-03-01 09:04:53 +01:00
testvm.h many new tests 2013-04-19 16:21:48 +00:00
testvnd.sh Add testvnd.sh test script 2014-03-01 09:04:54 +01:00
tvnd.c align <sys/ucontext.h> <sys/uio.h> <sys/un.h> 2014-03-03 20:47:03 +01:00