Scroll to navigation

TRACEHOOK_REPORT_VFO(9) Kernel Internals TRACEHOOK_REPORT_VFO(9)

NAME

tracehook_report_vfork_done - vfork parent´s child has exited or exec´d

SYNOPSIS

void tracehook_report_vfork_done(struct task_struct * child, pid_t pid);

ARGUMENTS

child

child task, already running

pid

new child´s PID in the parent´s namespace

DESCRIPTION

Called after a CLONE_VFORK parent has waited for the child to complete. The clone/vfork system call will return immediately after this. 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.

May 2024 Kernel Hackers Manual 2.6.