Skip to content
Commit 912616f1 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

exit: Guarantee make_task_dead leaks the tsk when calling do_task_exit

Change the task state to EXIT_DEAD and take an extra rcu_refernce
to guarantee the task will not be reaped and that it will not be
freed.

Link: https://lkml.kernel.org/r/YdUzjrLAlRiNLQp2@zeniv-ca.linux.org.uk


Pointed-out-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Fixes: 7f80a2fd ("exit: Stop poorly open coding do_task_dead in make_task_dead")
Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 85be9ae7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment