summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/traps.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-02-20 14:46:05 +0100
committerWill Deacon <will.deacon@arm.com>2018-03-06 19:52:23 +0100
commita1ece8216c41c9dbb4040f7b8b3fbcd17662c665 (patch)
tree9a29a92b0e56524f92328dc8cf9ca5fee688b049 /arch/arm64/include/asm/traps.h
parentarm64: signal: Force SIGKILL for unknown signals in force_signal_inject (diff)
downloadlinux-a1ece8216c41c9dbb4040f7b8b3fbcd17662c665.tar.xz
linux-a1ece8216c41c9dbb4040f7b8b3fbcd17662c665.zip
arm64: Introduce arm64_force_sig_info and hook up in arm64_notify_die
In preparation for consolidating our handling of printing unhandled signals, introduce a wrapper around force_sig_info which can act as the canonical place for dealing with show_unhandled_signals. Initially, we just hook this up to arm64_notify_die. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/traps.h')
-rw-r--r--arch/arm64/include/asm/traps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/traps.h b/arch/arm64/include/asm/traps.h
index 1ee63dc38579..c320f3bf6c57 100644
--- a/arch/arm64/include/asm/traps.h
+++ b/arch/arm64/include/asm/traps.h
@@ -37,6 +37,8 @@ void register_undef_hook(struct undef_hook *hook);
void unregister_undef_hook(struct undef_hook *hook);
void force_signal_inject(int signal, int code, unsigned long address);
void arm64_notify_segfault(unsigned long addr);
+void arm64_force_sig_info(struct siginfo *info, const char *str,
+ struct task_struct *tsk);
/*
* Move regs->pc to next instruction and do necessary setup before it