android_kernel_samsung_univ.../arch/xtensa
Eric W. Biederman b7b02571b1 signal/xtensa: Consistenly use SIGBUS in do_unaligned_user
commit 7de712ccc096b81d23cc0a941cd9b8cb3956605d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-03 11:21:26 +02:00
..
boot Xtensa patchset for 4.4 2015-11-09 16:32:13 -08:00
configs Xtensa patchset for 4.4 2015-11-09 16:32:13 -08:00
include futex: Remove duplicated code and fix undefined behaviour 2018-05-26 08:48:50 +02:00
kernel signal/xtensa: Consistenly use SIGBUS in do_unaligned_user 2018-07-03 11:21:26 +02:00
lib xtensa: fixes for configs without loop option 2015-11-02 18:02:47 +03:00
mm xtensa: fix preemption in {clear,copy}_user_highpage 2016-04-12 09:08:55 -07:00
oprofile xtensa: move oprofile stack tracing to stacktrace.c 2015-08-17 07:32:49 +03:00
platforms xtensa: don't use linux IRQ #0 2017-06-17 06:39:38 +02:00
variants xtensa: add de212 core variant 2015-11-02 18:03:09 +03:00
Kconfig xtensa: add FORCE_MAX_ZONEORDER to Kconfig 2015-11-03 17:19:37 +03:00
Kconfig.debug
Makefile xtensa: enable building of all dtbs 2015-10-27 16:12:16 -05:00