Continued work towards getting iRPC test passing on FreeBSD.
authorDan McNulty <mcnulty@cs.wisc.edu>
Wed, 28 Jul 2010 17:11:45 +0000 (12:11 -0500)
committerDan McNulty <mcnulty@cs.wisc.edu>
Wed, 28 Jul 2010 17:11:45 +0000 (12:11 -0500)
commit8110dd6d7c073ed3d2ce4cc3bc36d52ee8a44967
treea17d8c13605c0ab4c01e405a47b6456ad28c6d58
parentc5d720e397473ebaec3122d20c6b549eac1234e3
Continued work towards getting iRPC test passing on FreeBSD.

Added bug definitions for FreeBSD process control-related bugs.

Added a new event ChangePCStop to help workaround bug_freebsd_change_pc.
See the code for a description of this bug.

Changed exec handling to use kqueue/kevent so SIGTRAPs sent by other
processes or users do not get classified as exec's. Removed assert in
SIGSTOP handling for similar reason.

Added some preliminary code for handling forks. This cannot currently
be tested because fork events are never generated on FreeBSD.

Did code cleanup to improve readability.

Changed some code in ProcControl testsuite (some changes are temporary).
13 files changed:
make.config
proccontrol/h/Event.h
proccontrol/h/EventType.h
proccontrol/src/event.C
proccontrol/src/freebsd.C
proccontrol/src/freebsd.h
proccontrol/src/handler.C
proccontrol/src/int_process.h
proccontrol/src/int_thread_db.C
proccontrol/src/irpc.C
proccontrol/src/process.C
testsuite/src/proccontrol/pc_irpc_mutatee.c
testsuite/src/proccontrol/pcontrol_mutatee_tools.c