• Chen, Kenneth W's avatar
    [IA64] make exception handler in copy_user more robust · 295bd892
    Chen, Kenneth W authored
    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: default avatarKen Chen <kenneth.w.chen@intel.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    295bd892
memcpy_mck.S 17.6 KB