295bd89279
The exception handler in copy user always expects fault occurs only on user space address and the fall back recovery code is written with that very assumption in mind. Recent source code inspection revealed that while it worked splendid and to the expectation under normal circumstances, It broke down under unexpected condition where some address calculation might go outside the legal address range the original copy_user was called for. This patch is to make copy_user exception handler more robust and to prevent potential memory corruption. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com> |
||
---|---|---|
.. | ||
bitop.c | ||
carta_random.S | ||
checksum.c | ||
clear_page.S | ||
clear_user.S | ||
copy_page_mck.S | ||
copy_page.S | ||
copy_user.S | ||
csum_partial_copy.c | ||
dec_and_lock.c | ||
do_csum.S | ||
flush.S | ||
idiv32.S | ||
idiv64.S | ||
io.c | ||
ip_fast_csum.S | ||
Makefile | ||
memcpy_mck.S | ||
memcpy.S | ||
memset.S | ||
strlen_user.S | ||
strlen.S | ||
strncpy_from_user.S | ||
strnlen_user.S | ||
swiotlb.c | ||
xor.S |