Name
tracehook_finish_clone —
new child created and being attached
Synopsis
void tracehook_finish_clone ( | struct task_struct * child, |
| | unsigned long clone_flags, |
| | int trace); |
Arguments
child
new child task
clone_flags
CLONE_* flags from clone/fork/vfork system call
trace
return value from tracehook_prepare_clone
Description
This is called immediately after adding child to its parent's children list.
The trace value is that returned by tracehook_prepare_clone.
Called with current's siglock and write_lock_irq(tasklist_lock) held.