Searched refs:jobctl (Results 1 – 9 of 9) sorted by relevance
142 } else if (!(current->jobctl & JOBCTL_TRAP_FREEZE)) { in cgroup_leave_frozen()144 current->jobctl |= JOBCTL_TRAP_FREEZE; in cgroup_leave_frozen()164 task->jobctl |= JOBCTL_TRAP_FREEZE; in cgroup_freeze_task()167 task->jobctl &= ~JOBCTL_TRAP_FREEZE; in cgroup_freeze_task()
6604 child->jobctl |= JOBCTL_TRAP_FREEZE; in cgroup_post_fork()
148 child->jobctl |= JOBCTL_STOP_PENDING; in __ptrace_unlink()157 if (!(child->jobctl & JOBCTL_STOP_SIGMASK)) in __ptrace_unlink()158 child->jobctl |= SIGSTOP; in __ptrace_unlink()167 if (child->jobctl & JOBCTL_STOP_PENDING || task_is_traced(child)) in __ptrace_unlink()199 if (task->jobctl & JOBCTL_LISTENING) in ptrace_freeze_traced()205 task->jobctl |= JOBCTL_PTRACE_FROZEN; in ptrace_freeze_traced()223 task->jobctl &= ~JOBCTL_PTRACE_FROZEN; in ptrace_unfreeze_traced()225 task->jobctl &= ~JOBCTL_TRACED; in ptrace_unfreeze_traced()473 task->jobctl &= ~JOBCTL_STOPPED; in ptrace_attach()493 wait_on_bit(&task->jobctl, JOBCTL_TRAPPING_BIT, TASK_KILLABLE); in ptrace_attach()[all …]
182 if (p->jobctl & JOBCTL_TRACED) in __set_task_special()185 else if (p->jobctl & JOBCTL_STOPPED) in __set_task_special()
156 if ((t->jobctl & (JOBCTL_PENDING_MASK | JOBCTL_TRAP_FREEZE)) || in recalc_sigpending_tsk()294 task->jobctl &= ~JOBCTL_STOP_SIGMASK; in task_set_jobctl_pending()296 task->jobctl |= mask; in task_set_jobctl_pending()314 if (unlikely(task->jobctl & JOBCTL_TRAPPING)) { in task_clear_jobctl_trapping()315 task->jobctl &= ~JOBCTL_TRAPPING; in task_clear_jobctl_trapping()317 wake_up_bit(&task->jobctl, JOBCTL_TRAPPING_BIT); in task_clear_jobctl_trapping()343 task->jobctl &= ~mask; in task_clear_jobctl_pending()345 if (!(task->jobctl & JOBCTL_PENDING_MASK)) in task_clear_jobctl_pending()368 bool consume = task->jobctl & JOBCTL_STOP_CONSUME; in task_participate_group_stop()370 WARN_ON_ONCE(!(task->jobctl & JOBCTL_STOP_PENDING)); in task_participate_group_stop()[all …]
1158 if (task_is_traced(p) && !(p->jobctl & JOBCTL_LISTENING)) in task_stopped_code()
298 if (current->jobctl & JOBCTL_STOP_DEQUEUED) { in kernel_signal_stop()299 current->jobctl |= JOBCTL_STOPPED; in kernel_signal_stop()453 if (fatal && !(t->jobctl & JOBCTL_PTRACE_FROZEN)) { in signal_wake_up()454 t->jobctl &= ~(JOBCTL_STOPPED | JOBCTL_TRACED); in signal_wake_up()463 t->jobctl &= ~JOBCTL_TRACED; in ptrace_signal_wake_up()
132 #define task_is_traced(task) ((READ_ONCE(task->jobctl) & JOBCTL_TRACED) != 0)133 #define task_is_stopped(task) ((READ_ONCE(task->jobctl) & JOBCTL_STOPPED) != 0)134 #define task_is_stopped_or_traced(task) ((READ_ONCE(task->jobctl) & (JOBCTL_STOPPED | JOBCTL_TRACED…882 unsigned long jobctl; member
204 child->jobctl = 0; in ptrace_init_task()