1TASK_SET_JOBCTL_PEND(9) Driver Basics TASK_SET_JOBCTL_PEND(9)
2
3
4
6 task_set_jobctl_pending - set jobctl pending bits
7
9 bool task_set_jobctl_pending(struct task_struct * task,
10 unsigned int mask);
11
13 task
14 target task
15
16 mask
17 pending bits to set
18
20 Clear mask from task->jobctl. mask must be subset of
21 JOBCTL_PENDING_MASK | JOBCTL_STOP_CONSUME | JOBCTL_STOP_SIGMASK |
22 JOBCTL_TRAPPING. If stop signo is being set, the existing signo is
23 cleared. If task is already being killed or exiting, this function
24 becomes noop.
25
27 Must be called with task->sighand->siglock held.
28
30 true if mask is set, false if made noop because task was dying.
31
33Kernel Hackers Manual 3.10 June 2019 TASK_SET_JOBCTL_PEND(9)