Scroll to navigation

TRACEHOOK_REPORT_DEA(9) Kernel Internals TRACEHOOK_REPORT_DEA(9)

NAME

tracehook_report_death - task is dead and ready to be reaped

SYNOPSIS

void tracehook_report_death(struct task_struct * task, int signal, void * death_cookie, int group_dead);

ARGUMENTS

task

current task now exiting

signal

return value from tracheook_notify_death

death_cookie

value passed back from tracehook_notify_death

group_dead

nonzero if this was the last thread in the group to die

DESCRIPTION

Thread has just become a zombie or is about to self-reap. If positive, signal is the signal number just sent to the parent (usually SIGCHLD). If signal is DEATH_REAP, this thread will self-reap. If signal is DEATH_DELAYED_GROUP_LEADER, this is a delayed_group_leader zombie. The death_cookie was passed back by tracehook_notify_death.

If normal reaping is not inhibited, task->exit_state might be changing in parallel.

Called without locks.

May 2024 Kernel Hackers Manual 2.6.