1DO_JOBCTL_TRAP(9)                Driver Basics               DO_JOBCTL_TRAP(9)
2
3
4

NAME

6       do_jobctl_trap - take care of ptrace jobctl traps
7

SYNOPSIS

9       void do_jobctl_trap(void);
10

ARGUMENTS

12       void
13           no arguments
14

DESCRIPTION

16       When PT_SEIZED, it's used for both group stop and explicit
17       SEIZE/INTERRUPT traps. Both generate PTRACE_EVENT_STOP trap with
18       accompanying siginfo. If stopped, lower eight bits of exit_code contain
19       the stop signal; otherwise, SIGTRAP.
20
21       When !PT_SEIZED, it's used only for group stop trap with stop signal
22       number as exit_code and no siginfo.
23

CONTEXT

25       Must be called with current->sighand->siglock held, which may be
26       released and re-acquired before returning with intervening sleep.
27
29Kernel Hackers Manual 3.10         June 2019                 DO_JOBCTL_TRAP(9)
Impressum