table of contents
TRACEHOOK_FINISH_CLO(9) | Kernel Internals | TRACEHOOK_FINISH_CLO(9) |
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.
May 2024 | Kernel Hackers Manual 2.6. |