Subject: [PATCH] Stop everything in a pspace when the pspace leader stops From: Eric W. Biederman Date: 1129923247 -0600 --- kernel/signal.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) 2a3836867caf3ec7a4845a9ce63a1d030ad5ddc0 diff --git a/kernel/signal.c b/kernel/signal.c index 6349ab5..4842b9e 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -1717,6 +1717,9 @@ finish_stop(int stop_count) goto out; read_lock(&tasklist_lock); + /* If init stops stop all of it's children */ + if (pspace_leader(current)) + __kill_pspace_info(SIGSTOP, (void *)1, current->tgid); do_notify_parent_cldstop(current, to_self, CLD_STOPPED); read_unlock(&tasklist_lock); -- 1.0.GIT