1DO_NOTIFY_PARENT_CLD(9)          Driver Basics         DO_NOTIFY_PARENT_CLD(9)
2
3
4

NAME

6       do_notify_parent_cldstop - notify parent of stopped/continued state
7       change
8

SYNOPSIS

10       void do_notify_parent_cldstop(struct task_struct * tsk,
11                                     bool for_ptracer, int why);
12

ARGUMENTS

14       tsk
15           task reporting the state change
16
17       for_ptracer
18           the notification is for ptracer
19
20       why
21           CLD_{CONTINUED|STOPPED|TRAPPED} to report
22

DESCRIPTION

24       Notify tsk's parent that the stopped/continued state has changed. If
25       for_ptracer is false, tsk's group leader notifies to its real parent.
26       If true, tsk reports to tsk->parent which should be the ptracer.
27

CONTEXT

29       Must be called with tasklist_lock at least read locked.
30
32Kernel Hackers Manual 3.10         June 2019           DO_NOTIFY_PARENT_CLD(9)
Impressum