]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Don't panic on user mode non-resumable errors
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 22 Dec 2016 02:57:42 +0000 (21:57 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 9 Mar 2017 03:30:05 +0000 (19:30 -0800)
commitf6100a00a484ee012b501e7bf65f89bb546365f8
tree4c8952dc088966d418e903600ea7426e4ef05c1c
parent11c4cd6938aa8d95f435bdf4c17c8076e6c16c20
sparc64: Don't panic on user mode non-resumable errors

Send a SIGBUS to the offending process on all userspace non-resumable
traps.  This prevents userspace applications from creating a kernel
panic.  The siginfo will return the code BUS_ADRERR and a valid address
if possible.

orabug: 23054018

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/kernel/traps_64.c