summaryrefslogtreecommitdiff
path: root/arch/arm/lib/putuser.S
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-09-07 18:21:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-02 10:29:52 -0700
commiteff605bb6c699aae80b199010f0beb26563fc399 (patch)
tree2ea63babae83d99425cdcaa65967e17323333cdd /arch/arm/lib/putuser.S
parentdab510cf4641187bf69e1b5e1be014848c1b473f (diff)
ARM: 7526/1: traps: send SIGILL if get_user fails on undef handling path
commit 2b2040af0b64cd93e5d4df2494c4486cf604090d upstream. 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> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/lib/putuser.S')
0 files changed, 0 insertions, 0 deletions