diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2015-11-14 03:16:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-16 22:41:30 +0300 |
commit | c3d4c682c240595c3637c552dc1afa985bc6d382 (patch) | |
tree | ce5cba420f360ac90831883ff7deba5b0093bfe8 /net | |
parent | ebaef649c26b44ff28114b452fd067a270ca7f02 (diff) | |
download | linux-c3d4c682c240595c3637c552dc1afa985bc6d382.tar.xz |
bpf, arm64: start flushing icache range from header
While recently going over ARM64's BPF code, I noticed that the icache
range we're flushing should start at header already and not at ctx.image.
Reason is that after b569c1c622c5 ("net: bpf: arm64: address randomize
and write protect JIT code"), we also want to make sure to flush the
random-sized trap in front of the start of the actual program (analogous
to x86). No operational differences from user side.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Zi Shen Lim <zlim.lnx@gmail.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions