sched: Fix proc_sched_set_task()
[deliverable/linux.git] / kernel / pid_namespace.c
index 86b3796b0436726e5b0208021cc990bfdc7044e2..79aac93acf99813d3abf89967089832cc272572c 100644 (file)
@@ -161,13 +161,12 @@ void zap_pid_ns_processes(struct pid_namespace *pid_ns)
                rcu_read_lock();
 
                /*
-                * Use force_sig() since it clears SIGNAL_UNKILLABLE ensuring
-                * any nested-container's init processes don't ignore the
-                * signal
+                * Any nested-container's init processes won't ignore the
+                * SEND_SIG_NOINFO signal, see send_signal()->si_fromuser().
                 */
                task = pid_task(find_vpid(nr), PIDTYPE_PID);
                if (task)
-                       force_sig(SIGKILL, task);
+                       send_sig_info(SIGKILL, SEND_SIG_NOINFO, task);
 
                rcu_read_unlock();
 
This page took 0.03391 seconds and 5 git commands to generate.