diff options
author | Will Deacon <will.deacon@arm.com> | 2012-09-07 19:21:44 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-09-07 21:40:44 +0200 |
commit | 2b2040af0b64cd93e5d4df2494c4486cf604090d (patch) | |
tree | 2e3a2b1cd980f978375eda1c76b1d86e17db38bf /arch/arm/lib | |
parent | ARM: 7521/1: Fix semihosting Kconfig text (diff) | |
download | linux-2b2040af0b64cd93e5d4df2494c4486cf604090d.tar.xz linux-2b2040af0b64cd93e5d4df2494c4486cf604090d.zip |
ARM: 7526/1: traps: send SIGILL if get_user fails on undef handling path
get_user may fail to load from the provided __user address due to an
unhandled fault generated by the access.
In the case of the undefined instruction trap, this results in failure
to load the faulting instruction, in which case we should send SIGILL to
the task rather than continue with potentially uninitialised data.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib')
0 files changed, 0 insertions, 0 deletions