• Keith Owens's avatar
    [IA64] Correct unwind validation code · 66fa9b10
    Keith Owens authored
    Both rp_loc and pfs_loc can be in the register stack area _or_ they can
    be in the memory stack area, the latter occurs when a struct pt_regs is
    pushed.  Correct the validation check on these fields to check for both
    stack areas.  Not allowing for memory stack locations means no
    backtrace past ia64_leave_kernel, or any other code that uses
    PT_REGS_UNWIND_INFO.
    Signed-off-by: default avatarKeith Owens <kaos@sgi.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    66fa9b10
unwind.c 62.1 KB