diff options
author | Anurag Aggarwal <a.anurag@samsung.com> | 2014-02-24 11:17:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-02-25 11:48:24 +0000 |
commit | a51345770e519552e749ff457a2a9f83171a67b5 (patch) | |
tree | 94b29eee74c40959705274948ad87c90de4797e4 /mm/memblock.c | |
parent | 8258a9895c99cdaacad8edc4748c0a624c710961 (diff) |
ARM: 7987/1: ARM : unwinder : Prevent data abort due to stack overflow
While unwinding backtrace, stack overflow is possible. This stack
overflow can sometimes lead to data abort in system if the area after
stack is not mapped to physical memory.
To prevent this problem from happening, execute the instructions that
can cause a data abort in separate helper functions, where a check for
feasibility is made before reading each word from the stack.
Signed-off-by: Anurag Aggarwal <a.anurag@samsung.com>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'mm/memblock.c')
0 files changed, 0 insertions, 0 deletions