1TRACEHOOK_REPORT_CLO(9)        Kernel Internals        TRACEHOOK_REPORT_CLO(9)
2
3
4

NAME

6       tracehook_report_clone_complete - new child is running
7

SYNOPSIS

9       void tracehook_report_clone_complete(int trace, struct pt_regs * regs,
10                                            unsigned long clone_flags,
11                                            pid_t pid,
12                                            struct task_struct * child);
13

ARGUMENTS

15       trace
16           return value from tracehook_prepare_clone
17
18       regs
19           parent´s user register state
20
21       clone_flags
22           flags from parent´s system call
23
24       pid
25           new child´s PID in the parent´s namespace
26
27       child
28           child task, already running
29

DESCRIPTION

31       This is called just after the child has started running. This is just
32       before the clone/fork syscall returns, or blocks for vfork child
33       completion if clone_flags has the CLONE_VFORK bit set. The child
34       pointer may be invalid if a self-reaping child died and
35       tracehook_report_clone took no action to prevent it from self-reaping.
36
37       Called with no locks held.
38
39
40
41Kernel Hackers Manual 2.6.         June 2019           TRACEHOOK_REPORT_CLO(9)
Impressum