[PATCH 23/26] signal: Fix SIGCONT before group stop completes.

2017-06-06 Thread Eric W. Biederman
Today initiating a group stop with SIGSTOP, SIGTSTP, SIGTTIN, or SIGTTOU and then have it contined with SIGCONT before the group stop is complete results in SIGCHLD being sent with a si_status of 0. The field si_status is defined by posix to be the stop signal. Which means we wind up violating

[PATCH 23/26] signal: Fix SIGCONT before group stop completes.

2017-06-06 Thread Eric W. Biederman
Today initiating a group stop with SIGSTOP, SIGTSTP, SIGTTIN, or SIGTTOU and then have it contined with SIGCONT before the group stop is complete results in SIGCHLD being sent with a si_status of 0. The field si_status is defined by posix to be the stop signal. Which means we wind up violating