|
@@ -1870,9 +1870,16 @@ relock:
|
|
|
|
|
|
/*
|
|
/*
|
|
* Global init gets no signals it doesn't want.
|
|
* Global init gets no signals it doesn't want.
|
|
|
|
+ * Container-init gets no signals it doesn't want from same
|
|
|
|
+ * container.
|
|
|
|
+ *
|
|
|
|
+ * Note that if global/container-init sees a sig_kernel_only()
|
|
|
|
+ * signal here, the signal must have been generated internally
|
|
|
|
+ * or must have come from an ancestor namespace. In either
|
|
|
|
+ * case, the signal cannot be dropped.
|
|
*/
|
|
*/
|
|
if (unlikely(signal->flags & SIGNAL_UNKILLABLE) &&
|
|
if (unlikely(signal->flags & SIGNAL_UNKILLABLE) &&
|
|
- !signal_group_exit(signal))
|
|
|
|
|
|
+ !sig_kernel_only(signr))
|
|
continue;
|
|
continue;
|
|
|
|
|
|
if (sig_kernel_stop(signr)) {
|
|
if (sig_kernel_stop(signr)) {
|