tracehook_report_clone_complete — new child is running
void tracehook_report_clone_complete ( | int trace, |
struct pt_regs * regs, | |
unsigned long clone_flags, | |
pid_t pid, | |
struct task_struct * child) ; |
trace
return value from tracehook_prepare_clone
regs
parent's user register state
clone_flags
flags from parent's system call
pid
new child's PID in the parent's namespace
child
child task, already running
This is called just after the child has started running. This is
just before the clone/fork syscall returns, or blocks for vfork
child completion if clone_flags
has the CLONE_VFORK
bit set.
The child
pointer may be invalid if a self-reaping child died and
tracehook_report_clone
took no action to prevent it from self-reaping.
Called with no locks held.