summaryrefslogtreecommitdiffstats
path: root/arch/c6x/kernel/traps.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-04-17 22:23:48 +0200
committerEric W. Biederman <ebiederm@xmission.com>2018-04-25 17:40:33 +0200
commitf6ed1ecad56fec7ab5c6bf741064b95801e9688f (patch)
tree55d26c715eb120bf5cfabb11dd1cee77e1ad3861 /arch/c6x/kernel/traps.c
parentsignal/nds32: Use force_sig in unhandled_interruption and unhandled_exceptions (diff)
downloadlinux-f6ed1ecad56fec7ab5c6bf741064b95801e9688f.tar.xz
linux-f6ed1ecad56fec7ab5c6bf741064b95801e9688f.zip
signal/nds32: Use force_sig(SIGILL) in do_revisn
As originally committed do_revisn would deliver a siginfo for SIGILL with an si_code composed of random stack contents. That makes no sense and is not something userspace can depend on. So simplify the code and just use "force_sig(SIG_ILL, current)" instead. Fixes: 2923f5ea7738 ("nds32: Exception handling") Cc: Vincent Chen <vincentc@andestech.com> Cc: Greentime Hu <greentime@andestech.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/c6x/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions