linux/arch/powerpc/net
Mark Lord 6bb02ca8ac powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access
[ Upstream commit 083b209071 ]

I am using SECCOMP to filter syscalls on a ppc32 platform, and noticed
that the JIT compiler was failing on the BPF even though the
interpreter was working fine.

The issue was that the compiler was missing one of the instructions
used by SECCOMP, so here is a patch to enable JIT for that
instruction.

Fixes: eb84bab0fb ("ppc: Kconfig: Enable BPF JIT on ppc32")
Signed-off-by: Mark Lord <mlord@pobox.com>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:49:00 +02:00
..
bpf_jit_asm.S ppc: bpf: rename bpf_jit_64.S to bpf_jit_asm.S 2015-02-20 15:19:43 -05:00
bpf_jit_comp.c powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access 2018-05-30 07:49:00 +02:00
bpf_jit.h ppc: bpf: Add SKF_AD_CPU for ppc32 2015-02-20 15:19:43 -05:00
Makefile ppc: bpf: rename bpf_jit_64.S to bpf_jit_asm.S 2015-02-20 15:19:43 -05:00