Skip to content

Commit

Permalink
arm64: signal: Don't print anything directly in force_signal_inject
Browse files Browse the repository at this point in the history
arm64_notify_die deals with printing out information regarding unhandled
signals, so there's no need to roll our own code here.

Signed-off-by: Will Deacon <will.deacon@arm.com>
  • Loading branch information
Will Deacon committed Mar 6, 2018
1 parent a1ece82 commit 15b6732
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm64/kernel/traps.c
Original file line number Diff line number Diff line change
@@ -363,13 +363,6 @@ void force_signal_inject(int signal, int code, unsigned long address)
signal = SIGKILL;
}

if (unhandled_signal(current, signal) &&
show_unhandled_signals_ratelimited()) {
pr_info("%s[%d]: %s: pc=%08llx\n",
current->comm, task_pid_nr(current), desc, regs->pc);
dump_instr(KERN_INFO, regs);
}

info.si_signo = signal;
info.si_errno = 0;
info.si_code = code;

0 comments on commit 15b6732

Please sign in to comment.