Re: [PATCH bpf-next 09/11] bpf: fix context access in tracing progs on 32 bit archs

2018-05-30 Thread Song Liu
On Sun, May 27, 2018 at 5:43 PM, Daniel Borkmann wrote: > Wang reported that all the testcases for BPF_PROG_TYPE_PERF_EVENT > program type in test_verifier report the following errors on x86_32: > > 172/p unpriv: spill/fill of different pointers ldx FAIL > Unexpected error message! > 0: (bf)

[PATCH bpf-next 09/11] bpf: fix context access in tracing progs on 32 bit archs

2018-05-27 Thread Daniel Borkmann
Wang reported that all the testcases for BPF_PROG_TYPE_PERF_EVENT program type in test_verifier report the following errors on x86_32: 172/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! 0: (bf) r6 = r10 1: (07) r6 += -8 2: (15) if r1 == 0x0 goto pc+3 R1=c