diff options
| author | James Morse <james.morse@arm.com> | 2015-12-10 10:22:41 +0000 |
|---|---|---|
| committer | Jeffrey Vander Stoep <jeffv@google.com> | 2016-09-16 21:33:36 +0000 |
| commit | 6674ba575b07febb6f025811e6afb64c15834b30 (patch) | |
| tree | a07748d5f5bcaf7be2b6136243b49c5943387069 /net/ipv4/udp.c | |
| parent | 4ba051d5a5476288cb27912c90de10aaf7c7f151 (diff) | |
UPSTREAM: arm64: don't call C code with el0's fp register
On entry from el0, we save all the registers on the kernel stack, and
restore them before returning. x29 remains unchanged when we call out
to C code, which will store x29 as the frame-pointer on the stack.
Instead, write 0 into x29 after entry from el0, to avoid any risk of
tracing into user space.
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Bug: 30369029
Patchset: per-cpu-irq-stack
(cherry picked from commit 49003a8d6b35e128ef5e51433e60e783a46fbe5f)
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Change-Id: Ifae7003018e4088d5de038cef25fa210211a75b6
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions
