[PATCH net] bpf, arm: start flushing icache range from header

David Miller davem at davemloft.net
Mon Nov 16 11:41:46 PST 2015

From: Daniel Borkmann <daniel at iogearbox.net>
Date: Sat, 14 Nov 2015 01:26:53 +0100

> During review I noticed that the icache range we're flushing should
> start at header already and not at ctx.image.
> Reason is that after 55309dd3d4cd ("net: bpf: arm: 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 at iogearbox.net>
> Tested-by: Nicolas Schichan <nschichan at freebox.fr>
> Cc: Alexei Starovoitov <ast at kernel.org>


More information about the linux-arm-kernel mailing list