]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: BPF_PROG_TYPE_CGROUP_{SKB, SOCK, SOCK_ADDR} require cgroups enabled
authorStanislav Fomichev <sdf@google.com>
Mon, 28 Jan 2019 17:21:19 +0000 (09:21 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 31 Jan 2019 09:13:21 +0000 (10:13 +0100)
commit693d4eea93f8ed08861e1ad99d14f8b1d9d69e78
tree08828abc7e48d0403742c948bde98be61651e10e
parent4a8f80127fbbb7040778571da13f88f5d6f677aa
bpf: BPF_PROG_TYPE_CGROUP_{SKB, SOCK, SOCK_ADDR} require cgroups enabled

There is no way to exercise appropriate attach points without cgroups
enabled. This lets test_verifier correctly skip tests for these
prog_types if kernel was compiled without BPF cgroup support.

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/bpf_types.h