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.