Re: [PATCH bpf] selftests/bpf: Fix cgroup sockopt verifier test

2020-07-10 Thread Daniel Borkmann
On 7/10/20 5:04 PM, Jean-Philippe Brucker wrote: Since the BPF_PROG_TYPE_CGROUP_SOCKOPT verifier test does not set an attach type, bpf_prog_load_check_attach() disallows loading the program and the test is always skipped: #434/p perfevent for cgroup sockopt SKIP (unsupported program type 25)

Re: [PATCH bpf] selftests/bpf: Fix cgroup sockopt verifier test

2020-07-10 Thread Jakub Sitnicki
On Fri, 10 Jul 2020 17:04:40 +0200 Jean-Philippe Brucker wrote: > Since the BPF_PROG_TYPE_CGROUP_SOCKOPT verifier test does not set an > attach type, bpf_prog_load_check_attach() disallows loading the program > and the test is always skipped: > > #434/p perfevent for cgroup sockopt SKIP (unsupp

[PATCH bpf] selftests/bpf: Fix cgroup sockopt verifier test

2020-07-10 Thread Jean-Philippe Brucker
Since the BPF_PROG_TYPE_CGROUP_SOCKOPT verifier test does not set an attach type, bpf_prog_load_check_attach() disallows loading the program and the test is always skipped: #434/p perfevent for cgroup sockopt SKIP (unsupported program type 25) Fix the issue by setting a valid attach type. Fixes