Scroll to navigation

TRACEHOOK_INIT_TASK(9) Kernel Internals TRACEHOOK_INIT_TASK(9)

NAME

tracehook_init_task - task_struct has just been copied

SYNOPSIS

void tracehook_init_task(struct task_struct * task);

ARGUMENTS

task

new struct task_struct just copied from parent

DESCRIPTION

Called from do_fork when task has just been duplicated. After this, task will be passed to tracehook_free_task even if the rest of its setup fails before it is fully created.

April 2023 Kernel Hackers Manual 2.6.