]> Zhao Yanbai Git Server - minix.git/commit
PM: rework signal handling
authorDavid van Moolenbroek <david@minix3.org>
Sun, 27 Oct 2013 12:47:45 +0000 (13:47 +0100)
committerLionel Sambuc <lionel@minix3.org>
Sat, 1 Mar 2014 08:04:59 +0000 (09:04 +0100)
commit595d73a8966e24a72fc1ecb0efa37f8f7cac435e
treeb327c588256908f0cd9d41475b1770e0b7c8f8b6
parent4d4e70daaaa544ae05c0ae3834f5988def58fdb4
PM: rework signal handling

- introduce PROC_STOPPED flag, which tracks whether the process is
  stopped on PROC_STOP in the kernel, rather than implicitly deriving
  this from PM_SIG_PENDING;
- make the process resumption test based on current state rather than
  state transitions;
- add and clarify several flag checks in the signal handling code;
- add test79 to test signal handling robustness.

Change-Id: Ic8c7527095035b300b56f2ab1b9dd190bd4bf001
12 files changed:
distrib/sets/lists/minix/mi
servers/is/dmp_pm.c
servers/pm/forkexit.c
servers/pm/main.c
servers/pm/mproc.h
servers/pm/proto.h
servers/pm/signal.c
servers/pm/trace.c
servers/procfs/pid.c
test/Makefile
test/run
test/test79.c [new file with mode: 0644]