1TRACEHOOK_FINISH_CLO(9) Kernel Internals TRACEHOOK_FINISH_CLO(9)
2
3
4
6 tracehook_finish_clone - new child created and being attached
7
9 void tracehook_finish_clone(struct task_struct * child,
10 unsigned long clone_flags, int trace);
11
13 child
14 new child task
15
16 clone_flags
17
18 CLONE_* flags from clone/fork/vfork system call
19
20 trace
21 return value from tracehook_prepare_clone
22
24 This is called immediately after adding child to its parent's children
25 list. The trace value is that returned by tracehook_prepare_clone.
26
27 Called with current's siglock and write_lock_irq(tasklist_lock) held.
28
29
30
31Kernel Hackers Manual 2.6. November 2011 TRACEHOOK_FINISH_CLO(9)