diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-07-22 12:48:34 +0100 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2017-08-08 16:28:26 +0100 |
commit | c7365330753c55a061db0a1837a27fd5e44b1408 (patch) | |
tree | 496297bba1f31b647063b6d2c2440eebe4884521 /arch/arm64/kernel/asm-offsets.c | |
parent | 096683724cb2eb95fea759a2580996df1039fdd0 (diff) | |
download | op-kernel-dev-c7365330753c55a061db0a1837a27fd5e44b1408.zip op-kernel-dev-c7365330753c55a061db0a1837a27fd5e44b1408.tar.gz |
arm64: unwind: disregard frame.sp when validating frame pointer
Currently, when unwinding the call stack, we validate the frame pointer
of each frame against frame.sp, whose value is not clearly defined, and
which makes it more difficult to link stack frames together across
different stacks. It is far better to simply check whether the frame
pointer itself points into a valid stack.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions