linux_dsm_epyc7002/arch/xtensa
Eric W. Biederman 7de712ccc0 signal/xtensa: Consistenly use SIGBUS in do_unaligned_user
While working on changing this code to use force_sig_fault I
discovered that do_unaliged_user is sets si_signo to SIGBUS and passes
SIGSEGV to force_sig_info.  Which is just b0rked.

The code is reporting a SIGBUS error so replace the SIGSEGV with SIGBUS.

Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: linux-xtensa@linux-xtensa.org
Cc: stable@vger.kernel.org
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Fixes: 5a0015d626 ("[PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3")
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-04-25 10:44:11 -05:00
..
boot
configs
include mm: introduce MAP_FIXED_NOREPLACE 2018-04-11 10:28:38 -07:00
kernel signal/xtensa: Consistenly use SIGBUS in do_unaligned_user 2018-04-25 10:44:11 -05:00
lib
mm signal: Ensure every siginfo we send has all bits initialized 2018-04-25 10:40:51 -05:00
oprofile
platforms
variants
Kconfig
Kconfig.debug
Makefile