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 4dbf00dfb359..f7b418217633 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 | ||
@@ -2191,6 +2192,9 @@ int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, | |||
2191 | struct signal_struct *signal = current->signal; | 2192 | struct signal_struct *signal = current->signal; |
2192 | int signr; | 2193 | int signr; |
2193 | 2194 | ||
2195 | if (unlikely(uprobe_deny_signal())) | ||
2196 | return 0; | ||
2197 | |||
2194 | relock: | 2198 | relock: |
2195 | /* | 2199 | /* |
2196 | * We'll jump back here after any time we were stopped in TASK_STOPPED. | 2200 | * We'll jump back here after any time we were stopped in TASK_STOPPED. |