Query: do_jobctl_trap
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DO_JOBCTL_TRAP(9) Driver Basics DO_JOBCTL_TRAP(9)NAMEdo_jobctl_trap - take care of ptrace jobctl trapsSYNOPSISvoid do_jobctl_trap(void);ARGUMENTSvoid no argumentsDESCRIPTIONWhen PT_SEIZED, it's used for both group stop and explicit SEIZE/INTERRUPT traps. Both generate PTRACE_EVENT_STOP trap with accompanying siginfo. If stopped, lower eight bits of exit_code contain the stop signal; otherwise, SIGTRAP. When !PT_SEIZED, it's used only for group stop trap with stop signal number as exit_code and no siginfo.CONTEXTMust be called with current->sighand->siglock held, which may be released and re-acquired before returning with intervening sleep.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DO_JOBCTL_TRAP(9)