[PATCH net-next] bpf/cgroup: fix a verification error for a CGROUP_DEVICE type prog

2017-12-18 Thread Yonghong Song
The tools/testing/selftests/bpf test program test_dev_cgroup fails with the following error when compiled with llvm 6.0. (I did not try with earlier versions.) libbpf: load bpf program failed: Permission denied libbpf: -- BEGIN DUMP LOG --- libbpf: 0: (61) r2 = *(u32 *)(r1 +4) 1: (b7) r0

Re: [PATCH net-next] bpf/cgroup: fix a verification error for a CGROUP_DEVICE type prog

2017-12-18 Thread Daniel Borkmann
On 12/18/2017 07:13 PM, Yonghong Song wrote: > The tools/testing/selftests/bpf test program > test_dev_cgroup fails with the following error > when compiled with llvm 6.0. (I did not try > with earlier versions.) > > libbpf: load bpf program failed: Permission denied > libbpf: -- BEGIN DUMP LO