diff options
Diffstat (limited to 'kernel/signal.c')
| -rw-r--r-- | kernel/signal.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 91b789dd6e72..e667be6907d7 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -349,7 +349,7 @@ void task_clear_jobctl_pending(struct task_struct *task, unsigned long mask)   * @task has %JOBCTL_STOP_PENDING set and is participating in a group stop.   * Group stop states are cleared and the group stop count is consumed if   * %JOBCTL_STOP_CONSUME was set.  If the consumption completes the group - * stop, the appropriate %SIGNAL_* flags are set. + * stop, the appropriate `SIGNAL_*` flags are set.   *   * CONTEXT:   * Must be called with @task->sighand->siglock held. @@ -1885,6 +1885,7 @@ static void do_notify_pidfd(struct task_struct *task)  {  	struct pid *pid; +	WARN_ON(task->exit_state == 0);  	pid = task_pid(task);  	wake_up_all(&pid->wait_pidfd);  }  | 
