summaryrefslogtreecommitdiff
path: root/kernel/kprobes.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2022-01-05 16:30:21 -0600
committerEric W. Biederman <ebiederm@xmission.com>2022-01-08 10:51:23 -0600
commit912616f142bfeb1dc41f40dbe7ce38331886a94a (patch)
treed29c454bf48689bce407da914b8d5fbe4a3ccbd4 /kernel/kprobes.c
parent85be9ae7b63092895b6e7ac87a3ef383c679866c (diff)
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: Al Viro <viro@zeniv.linux.org.uk> Fixes: 7f80a2fd7db9 ("exit: Stop poorly open coding do_task_dead in make_task_dead") Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions