1TRACEHOOK_INIT_TASK(9) Kernel Internals TRACEHOOK_INIT_TASK(9)
2
3
4
6 tracehook_init_task - task_struct has just been copied
7
9 void tracehook_init_task(struct task_struct * task);
10
12 task
13 new struct task_struct just copied from parent
14
16 Called from do_fork when task has just been duplicated. After this,
17 task will be passed to tracehook_free_task even if the rest of its
18 setup fails before it is fully created.
19
20
21
22Kernel Hackers Manual 2.6. November 2011 TRACEHOOK_INIT_TASK(9)