diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 1854def284f5..87f7ca7ed6f6 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1813,6 +1813,7 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t * | |||
1813 | #define JOBCTL_TRAP_STOP_BIT 19 /* trap for STOP */ | 1813 | #define JOBCTL_TRAP_STOP_BIT 19 /* trap for STOP */ |
1814 | #define JOBCTL_TRAP_NOTIFY_BIT 20 /* trap for NOTIFY */ | 1814 | #define JOBCTL_TRAP_NOTIFY_BIT 20 /* trap for NOTIFY */ |
1815 | #define JOBCTL_TRAPPING_BIT 21 /* switching to TRACED */ | 1815 | #define JOBCTL_TRAPPING_BIT 21 /* switching to TRACED */ |
1816 | #define JOBCTL_LISTENING_BIT 22 /* ptracer is listening for events */ | ||
1816 | 1817 | ||
1817 | #define JOBCTL_STOP_DEQUEUED (1 << JOBCTL_STOP_DEQUEUED_BIT) | 1818 | #define JOBCTL_STOP_DEQUEUED (1 << JOBCTL_STOP_DEQUEUED_BIT) |
1818 | #define JOBCTL_STOP_PENDING (1 << JOBCTL_STOP_PENDING_BIT) | 1819 | #define JOBCTL_STOP_PENDING (1 << JOBCTL_STOP_PENDING_BIT) |
@@ -1820,6 +1821,7 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t * | |||
1820 | #define JOBCTL_TRAP_STOP (1 << JOBCTL_TRAP_STOP_BIT) | 1821 | #define JOBCTL_TRAP_STOP (1 << JOBCTL_TRAP_STOP_BIT) |
1821 | #define JOBCTL_TRAP_NOTIFY (1 << JOBCTL_TRAP_NOTIFY_BIT) | 1822 | #define JOBCTL_TRAP_NOTIFY (1 << JOBCTL_TRAP_NOTIFY_BIT) |
1822 | #define JOBCTL_TRAPPING (1 << JOBCTL_TRAPPING_BIT) | 1823 | #define JOBCTL_TRAPPING (1 << JOBCTL_TRAPPING_BIT) |
1824 | #define JOBCTL_LISTENING (1 << JOBCTL_LISTENING_BIT) | ||
1823 | 1825 | ||
1824 | #define JOBCTL_TRAP_MASK (JOBCTL_TRAP_STOP | JOBCTL_TRAP_NOTIFY) | 1826 | #define JOBCTL_TRAP_MASK (JOBCTL_TRAP_STOP | JOBCTL_TRAP_NOTIFY) |
1825 | #define JOBCTL_PENDING_MASK (JOBCTL_STOP_PENDING | JOBCTL_TRAP_MASK) | 1827 | #define JOBCTL_PENDING_MASK (JOBCTL_STOP_PENDING | JOBCTL_TRAP_MASK) |