minix/test
Cristiano Giuffrida 48c6bb79f4 Driver refactory for live update and crash recovery.
SYSLIB CHANGES:
- DS calls to publish / retrieve labels consider endpoints instead of u32_t.

VFS CHANGES:
- mapdriver() only adds an entry in the dmap table in VFS.
- dev_up() is only executed upon reception of a driver up event.

INET CHANGES:
- INET no longer searches for existing drivers instances at startup.
- A newtwork driver is (re)initialized upon reception of a driver up event.
- Networking startup is now race-free by design. No need to waste 5 seconds
at startup any more.

DRIVER CHANGES:
- Every driver publishes driver up events when starting for the first time or
in case of restart when recovery actions must be taken in the upper layers.
- Driver up events are published by drivers through DS. 
- For regular drivers, VFS is normally the only subscriber, but not necessarily.
For instance, when the filter driver is in use, it must subscribe to driver
up events to initiate recovery.
- For network drivers, inet is the only subscriber for now.
- Every VFS driver is statically linked with libdriver, every network driver
is statically linked with libnetdriver.

DRIVER LIBRARIES CHANGES:
- Libdriver is extended to provide generic receive() and ds_publish() interfaces
for VFS drivers.
- driver_receive() is a wrapper for sef_receive() also used in driver_task()
to discard spurious messages that were meant to be delivered to a previous
version of the driver.
- driver_receive_mq() is the same as driver_receive() but integrates support
for queued messages.
- driver_announce() publishes a driver up event for VFS drivers and marks
the driver as initialized and expecting a DEV_OPEN message.
- Libnetdriver is introduced to provide similar receive() and ds_publish()
interfaces for network drivers (netdriver_announce() and netdriver_receive()).
- Network drivers all support live update with no state transfer now.

KERNEL CHANGES:
- Added kernel call statectl for state management. Used by driver_announce() to
unblock eventual callers sendrecing to the driver.
2010-04-08 13:41:35 +00:00
..
ds Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
ipc ipc test improvements 2010-04-08 13:11:37 +00:00
safecopy New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
safemap New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
safeperf New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
select Removal of the executable flag from files that cannot be executed 2009-11-09 10:26:00 +00:00
common.c Initial revision 2005-04-21 14:53:53 +00:00
Makefile - Add support for the ucontext system calls (getcontext, setcontext, 2010-03-12 15:58:41 +00:00
run - Add support for the ucontext system calls (getcontext, setcontext, 2010-03-12 15:58:41 +00:00
t10a.c Initial revision 2005-04-21 14:53:53 +00:00
t11a.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
t11b.c Initial revision 2005-04-21 14:53:53 +00:00
t40a.c Added select test 2009-07-14 09:43:33 +00:00
t40b.c - Introduce support for sticky bit. 2009-12-20 20:27:14 +00:00
t40c.c Have test40 use /dev/ptypf instead of /dev/ptyp0 2010-01-25 18:14:05 +00:00
t40d.c Added select test 2009-07-14 09:43:33 +00:00
t40e.c Added select test 2009-07-14 09:43:33 +00:00
t40f.c Added select test 2009-07-14 09:43:33 +00:00
test1.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test2.c - Introduce support for sticky bit. 2009-12-20 20:27:14 +00:00
test3.c Fixed tests to use the right path when run as root 2009-12-04 17:51:06 +00:00
test4.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test5.c Man-pages on mkdep, cdprobe, loadramdisk and newroot; thanks to Antoine Leca 2010-02-02 15:10:00 +00:00
test6.c Fixed tests to use the right path when run as root 2009-12-04 17:51:06 +00:00
test7.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test8.c Swap test8 and test37 2005-09-19 13:39:27 +00:00
test9.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test10.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test11.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test12.c Initial revision 2005-04-21 14:53:53 +00:00
test13.c Initial revision 2005-04-21 14:53:53 +00:00
test14.c fix test14's "clever" (broken) filename generation 2009-08-15 15:13:57 +00:00
test15.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test16.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test17.c Fixed tests to use the right path when run as root 2009-12-04 17:51:06 +00:00
test18.c Implementations of readv and writev 2010-01-08 13:40:34 +00:00
test19.c Fixed tests to use the right path when run as root 2009-12-04 17:51:06 +00:00
test20.c 8<->37 2005-09-19 13:44:31 +00:00
test21.c Fixed tests to use the right path when run as root 2009-12-04 17:51:06 +00:00
test22.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test23.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test24.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test25.c - Fix dangling symlink regression 2010-01-21 09:32:15 +00:00
test26.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test27.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test28.c Disabled check in test 28 which hard links a directory; this is nott required by POSIX and not supported (currently) by MINIX. Also corrected total number of tests. 2009-09-04 20:23:25 +00:00
test29.c 8<->37 2005-09-19 13:44:31 +00:00
test30.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test31.c test31 fix 2009-09-20 18:15:24 +00:00
test32.c test32 fix 2009-09-20 16:47:57 +00:00
test33.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test34.c Initial revision 2005-04-21 14:53:53 +00:00
test35.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test36.c Al's no-double-empty-lines crusade 2005-08-22 15:08:27 +00:00
test37.c Add tests for sigsetjmp/siglongjmp 2010-01-12 09:53:39 +00:00
test38.c Fixed problem in subtest 1; Part of test is now in #if DEAD_CODE ... #endif, 2005-10-05 11:28:12 +00:00
test39.c Mostly a revert of r5306. com.h defines MAX_NR_TASKS value which replaces 2009-09-29 20:13:41 +00:00
test40.c Fixed case error 2009-07-22 08:59:57 +00:00
test41.c Support for setitimer(ITIMER_VIRTUAL/ITIMER_PROF). New test (41) for setitimer. 2009-08-15 21:37:26 +00:00
test42.c add ptrace(2) TO_NOEXEC flag 2010-01-05 09:30:28 +00:00
test43.c Add dirname function 2010-01-25 18:12:28 +00:00
test44.c Add Ben's test 44 2009-12-09 13:42:33 +00:00
test45.c Implementation of strto(u)ll, documentation and tests for strto(u)l(l) 2009-12-09 19:01:38 +00:00
test45.h Implementation of strto(u)ll, documentation and tests for strto(u)l(l) 2009-12-09 19:01:38 +00:00
test46.c Fix compilation errors caused by more files not added in previous commit 2009-12-20 21:31:03 +00:00
test47.c Floating point support functions 2009-12-24 20:22:41 +00:00
test48.c - Fix dangling symlink regression 2010-01-21 09:32:15 +00:00
test49.c Additions to inttypes.h format strings 2010-01-25 18:16:25 +00:00
test50.c Fixes for truncate system calls: 2010-02-09 08:12:37 +00:00
test51.c - Add support for the ucontext system calls (getcontext, setcontext, 2010-03-12 15:58:41 +00:00
testsh1.sh . swapped test26 and test40 2005-08-08 14:30:50 +00:00
testsh2.sh . swapped test26 and test40 2005-08-08 14:30:50 +00:00