task_clear_jobctl_trapping(9)

task_clear_jobctl_trapping9

Clear jobctl trapping bit

Usage

void task_clear_jobctl_trapping(struct task_struct * task);

Arguments

task

target task

Overview

If JOBCTL_TRAPPING is set, a ptracer is waiting for us to enter TRACED. Clear it and wake up the ptracer. Note that we don't need any further locking. task->siglock guarantees that task->parent points to the ptracer.

Context

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

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.