aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/usercopy_64.c
diff options
context:
space:
mode:
authorMark Nelson <markn@au1.ibm.com>2009-02-25 13:46:24 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-02-26 14:02:54 +1100
commitf72b728bf100f276628e378e1fe6c6acd5d09401 (patch)
treeedc7e3f0ad62669a188c24d92831565dc5c35bfd /arch/powerpc/lib/usercopy_64.c
parente423b9ecd6aa434ce9ba72a21fdc61079e620e0a (diff)
downloadkernel_samsung_espresso10-f72b728bf100f276628e378e1fe6c6acd5d09401.zip
kernel_samsung_espresso10-f72b728bf100f276628e378e1fe6c6acd5d09401.tar.gz
kernel_samsung_espresso10-f72b728bf100f276628e378e1fe6c6acd5d09401.tar.bz2
powerpc: Fix 64bit __copy_tofrom_user() regression
This fixes a regression introduced by commit a4e22f02f5b6518c1484faea1f88d81802b9feac ("powerpc: Update 64bit __copy_tofrom_user() using CPU_FTR_UNALIGNED_LD_STD"). The same bug that existed in the 64bit memcpy() also exists here so fix it here too. The fix is the same as that applied to memcpy() with the addition of fixes for the exception handling code required for __copy_tofrom_user(). This stops us reading beyond the end of the source region we were told to copy. Signed-off-by: Mark Nelson <markn@au1.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/lib/usercopy_64.c')
0 files changed, 0 insertions, 0 deletions