minix/minix/tests/safecopy
Ben Gras c2808d8b07 remove libcompat_minix as library
. get rid of includes in libcompat_minix:
	  . move configfile.h to minix/include/
	  . all others are unneeded as they point to other files
	. merge the .c files with libc

Change-Id: I5e840c66fb9bc484f377926aa9d66473bbd16259
2014-08-28 18:49:13 +02:00
..
down New sources layout 2014-07-31 16:00:30 +02:00
grantor.c New sources layout 2014-07-31 16:00:30 +02:00
inc.h New sources layout 2014-07-31 16:00:30 +02:00
Makefile remove libcompat_minix as library 2014-08-28 18:49:13 +02:00
README New sources layout 2014-07-31 16:00:30 +02:00
requestor.c New sources layout 2014-07-31 16:00:30 +02:00
run New sources layout 2014-07-31 16:00:30 +02:00
system.conf New sources layout 2014-07-31 16:00:30 +02:00

Test Program for Safecopy with or without COW

How to run
==========

Test safecopy with COW:
  1. Set USE_COW_SAFECOPY to 1 in /usr/src/kernel/system/do_safecopy.c
  2. Type `make run` to prepare and run test.
  3. When done testing, type `make clean` to clean up.

Test safecopy without COW:
  1. Set USE_COW_SAFECOPY to 0 in /usr/src/kernel/system/do_safecopy.c
  2. Type `make run` to prepare and run test.
  3. When done testing, type `make clean` to clean up.

If you want to modify the test buffer size:
  1. Modify TEST_PAGE_NUM in inc.h
  2. Modify TEST_PAGE_SHIFT in inc.h