signal: When the process receives a termination signal, it first terminates mcexec.

refs #863
refs #870
This commit is contained in:
Tomoki Shirasawa
2018-01-23 14:40:38 +09:00
parent 2f2b3cdc6f
commit 4bb65494e9
3 changed files with 37 additions and 16 deletions

View File

@@ -488,7 +488,7 @@ struct process {
// V +---- |
// PS_STOPPED -----+
// (PS_TRACED)
int exit_status; // only for zombie
unsigned long exit_status; // only for zombie
/* Store exit_status for a group of threads when stopped by SIGSTOP.
exit_status can't be used because values of exit_status of threads