Merge tag 'trace-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[sfrench/cifs-2.6.git] / kernel / events / uprobes.c
index 96fb51f3994f6306bf9d06d4ba8092ac819b7e63..96d4bee83489b113a1f37452aeffb8e13461b230 100644 (file)
@@ -2122,7 +2122,7 @@ static void handle_trampoline(struct pt_regs *regs)
 
  sigill:
        uprobe_warn(current, "handle uretprobe, sending SIGILL.");
-       force_sig_info(SIGILL, SEND_SIG_FORCED, current);
+       force_sig(SIGILL, current);
 
 }
 
@@ -2230,7 +2230,7 @@ static void handle_singlestep(struct uprobe_task *utask, struct pt_regs *regs)
 
        if (unlikely(err)) {
                uprobe_warn(current, "execute the probed insn, sending SIGILL.");
-               force_sig_info(SIGILL, SEND_SIG_FORCED, current);
+               force_sig(SIGILL, current);
        }
 }