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
regsparent's user register state
clone_flagsflags from parent's system call
pidnew child's PID in the parent's namespace
childchild 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.