minix/test/safecopy
David van Moolenbroek 80bd109cd3 libsys: various updates
- move system calls for use by services from libminlib into libsys;
- move srv_fork(2) and srv_kill(2) from RS and into libsys;
- replace getprocnr(2) with sef_self(3);
- rename previous getnprocnr(2) to getprocnr(2);
- clean up getepinfo(2);
- change all libsys calls that used _syscall to use _taskcall, so as
  to avoid going through errno to pass errors; this is already how
  most calls work anyway, and many of the calls previously using
  _syscall were already assumed to return the actual error;
- initialize request messages to zero, for future compatibility
  (note that this does not include PCI calls, which are in need of a
  much bigger overhaul, nor kernel calls);
- clean up more of dead DS code as a side effect.

Change-Id: I8788f54c68598fcf58e23486e270c2d749780ebb
2014-03-01 09:05:00 +01:00
..
down minor fixes for safecopy & safemap tests 2012-10-10 19:12:42 +02:00
grantor.c libsys: various updates 2014-03-01 09:05:00 +01:00
inc.h libsys: various updates 2014-03-01 09:05:00 +01:00
Makefile minor fixes for safecopy & safemap tests 2012-10-10 19:12:42 +02:00
README Merge of Wu's GSOC 09 branch (src.20090525.r4372.wu) 2010-01-14 15:24:16 +00:00
requestor.c libsys: various updates 2014-03-01 09:05:00 +01:00
run minor fixes for safecopy & safemap tests 2012-10-10 19:12:42 +02:00
system.conf New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00: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