| .. | .. |
|---|
| 103 | 103 | #define TIF_SYSCALL_TRACE 2 /* syscall trace active */ |
|---|
| 104 | 104 | #define TIF_SYSCALL_AUDIT 3 /* syscall auditing active */ |
|---|
| 105 | 105 | #define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */ |
|---|
| 106 | +#define TIF_NOTIFY_SIGNAL 5 /* signal notification exist */ |
|---|
| 106 | 107 | #define TIF_NOTIFY_RESUME 6 /* resumption notification requested */ |
|---|
| 107 | 108 | #define TIF_MEMDIE 17 /* is terminating due to OOM killer */ |
|---|
| 108 | 109 | #define TIF_MCA_INIT 18 /* this task is processing MCA or INIT */ |
|---|
| .. | .. |
|---|
| 115 | 116 | #define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) |
|---|
| 116 | 117 | #define _TIF_SYSCALL_TRACEAUDIT (_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SINGLESTEP) |
|---|
| 117 | 118 | #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME) |
|---|
| 119 | +#define _TIF_NOTIFY_SIGNAL (1 << TIF_NOTIFY_SIGNAL) |
|---|
| 118 | 120 | #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) |
|---|
| 119 | 121 | #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) |
|---|
| 120 | 122 | #define _TIF_MCA_INIT (1 << TIF_MCA_INIT) |
|---|
| .. | .. |
|---|
| 124 | 126 | |
|---|
| 125 | 127 | /* "work to do on user-return" bits */ |
|---|
| 126 | 128 | #define TIF_ALLWORK_MASK (_TIF_SIGPENDING|_TIF_NOTIFY_RESUME|_TIF_SYSCALL_AUDIT|\ |
|---|
| 127 | | - _TIF_NEED_RESCHED|_TIF_SYSCALL_TRACE) |
|---|
| 129 | + _TIF_NEED_RESCHED|_TIF_SYSCALL_TRACE|_TIF_NOTIFY_SIGNAL) |
|---|
| 128 | 130 | /* like TIF_ALLWORK_BITS but sans TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT */ |
|---|
| 129 | 131 | #define TIF_WORK_MASK (TIF_ALLWORK_MASK&~(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT)) |
|---|
| 130 | 132 | |
|---|