tracehook_report_clone(9) suse man page | unix.com

Man Page: tracehook_report_clone

Operating Environment: suse

Section: 9

TRACEHOOK_REPORT_CLO(9) 					 Kernel Internals					   TRACEHOOK_REPORT_CLO(9)

NAME
tracehook_report_clone - in parent, new child is about to start running
SYNOPSIS
void tracehook_report_clone(struct pt_regs * regs, unsigned long clone_flags, pid_t pid, struct task_struct * child);
ARGUMENTS
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 new child task
DESCRIPTION
Called after a child is set up, but before it has been started running. This is not a good place to block, because the child has not started yet. Suspend the child here if desired, and then block in tracehook_report_clone_complete. This must prevent the child from self-reaping if tracehook_report_clone_complete uses the child pointer; otherwise it might have died and been released by the time tracehook_report_clone_complete is called. Called with no locks held, but the child cannot run until this returns. Kernel Hackers Manual 2.6. July 2010 TRACEHOOK_REPORT_CLO(9)
Related Man Pages
fork(2) - redhat
pthread_atfork(3) - redhat
fork(2) - netbsd
pthread_atfork(3) - opendarwin
pthread_atfork(3) - x11r4
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
SOCKS proxy & PAM configuration exposure
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB