Clear jobctl pending bits
void task_clear_jobctl_pending(struct task_struct * task, unsigned int mask);
task
target task
mask
pending bits to clear
Clear mask from task->jobctl. mask must be subset of JOBCTL_PENDING_MASK. If JOBCTL_STOP_PENDING is being cleared, other STOP bits are cleared together.
If clearing of mask leaves no stop or trap pending, this function calls task_clear_jobctl_trapping.
Must be called with task->sighand->siglock held.