1. NAME

task_clear_jobctl_pending - clear jobctl pending bits

2. SYNOPSIS

void task_clear_jobctl_pending(struct task_struct *  task , unsigned int  mask );

3. ARGUMENTS

task
    target task

mask
    pending bits to clear

4. DESCRIPTION

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.

5. CONTEXT

Must be called with task->sighand->siglock held.

6. COPYRIGHT