|
@@ -1835,11 +1835,9 @@ relock:
|
|
|
continue;
|
|
|
|
|
|
/*
|
|
|
- * Init of a pid space gets no signals it doesn't want from
|
|
|
- * within that pid space. It can of course get signals from
|
|
|
- * its parent pid space.
|
|
|
+ * Global init gets no signals it doesn't want.
|
|
|
*/
|
|
|
- if (current == task_child_reaper(current))
|
|
|
+ if (is_global_init(current))
|
|
|
continue;
|
|
|
|
|
|
if (sig_kernel_stop(signr)) {
|