tracehook_report_clone_complete

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

tracehook_report_clone_complete - new child is running

SYNOPSIS

void tracehook_report_clone_complete(int trace, struct pt_regs * regs, unsigned long clone_flags, pid_t pid, struct task_struct * child);

ARGUMENTS

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

DESCRIPTION

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.