diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 17afcaf582d0..60d80ab2601c 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/pid_namespace.h> | 29 | #include <linux/pid_namespace.h> |
30 | #include <linux/nsproxy.h> | 30 | #include <linux/nsproxy.h> |
31 | #include <linux/user_namespace.h> | 31 | #include <linux/user_namespace.h> |
32 | #include <linux/uprobes.h> | ||
32 | #define CREATE_TRACE_POINTS | 33 | #define CREATE_TRACE_POINTS |
33 | #include <trace/events/signal.h> | 34 | #include <trace/events/signal.h> |
34 | 35 | ||
@@ -2202,6 +2203,9 @@ int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, | |||
2202 | struct signal_struct *signal = current->signal; | 2203 | struct signal_struct *signal = current->signal; |
2203 | int signr; | 2204 | int signr; |
2204 | 2205 | ||
2206 | if (unlikely(uprobe_deny_signal())) | ||
2207 | return 0; | ||
2208 | |||
2205 | relock: | 2209 | relock: |
2206 | /* | 2210 | /* |
2207 | * We'll jump back here after any time we were stopped in TASK_STOPPED. | 2211 | * We'll jump back here after any time we were stopped in TASK_STOPPED. |