TRACEHOOK_INIT_TASK(9) Kernel Internals TRACEHOOK_INIT_TASK(9)NAMEtracehook_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.
Kernel Hackers Manual 2.6. November 2013 TRACEHOOK_INIT_TASK(9)