diff options
author | Yang Shi <yang.shi@linaro.org> | 2015-11-12 13:57:00 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-16 14:38:42 -0500 |
commit | 0fcd593b943bfcc21ad84d3321422401de071d8a (patch) | |
tree | 8f39ef257eb47c668f0f4643856aa48e109f9bed /kernel/backtracetest.c | |
parent | 7729b053814ac91af340f5055970afc87d7fee21 (diff) |
arm64: bpf: fix JIT frame pointer setup
BPF fp should point to the top of the BPF prog stack. The original
implementation made it point to the bottom incorrectly.
Move A64_SP to fp before reserve BPF prog stack space.
CC: Zi Shen Lim <zlim.lnx@gmail.com>
CC: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Yang Shi <yang.shi@linaro.org>
Reviewed-by: Zi Shen Lim <zlim.lnx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/backtracetest.c')
0 files changed, 0 insertions, 0 deletions