]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] Correct unwind validation code
authorKeith Owens <kaos@sgi.com>
Tue, 26 Jun 2007 06:25:22 +0000 (16:25 +1000)
committerTony Luck <tony.luck@intel.com>
Tue, 26 Jun 2007 20:33:10 +0000 (13:33 -0700)
commit4b6c28e4f3781d24f03e8f0edacf6606287d9234
tree6fe7bde9c86a4d5dffae53ab815b34362eb19571
parent0737332170139bf7c7d2cd99c9022862e2bcce3f
[IA64] Correct unwind validation code

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: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unwind.c