diff options
author | Stanislav Fomichev <sdf@google.com> | 2022-06-28 20:43:14 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-06-29 23:21:52 +0300 |
commit | dca85aac8895708b74c7f2264e3ab5048c02b8b2 (patch) | |
tree | c9d5a8066e9746d08b2dc123694f6c30093363f7 /tools/testing/selftests/bpf/progs/bpf_tracing_net.h | |
parent | 596f5fb2ea2a38032abb8043606ce7168f21f6ab (diff) | |
download | linux-dca85aac8895708b74c7f2264e3ab5048c02b8b2.tar.xz |
selftests/bpf: lsm_cgroup functional test
Functional test that exercises the following:
1. apply default sk_priority policy
2. permit TX-only AF_PACKET socket
3. cgroup attach/detach/replace
4. reusing trampoline shim
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/r/20220628174314.1216643-12-sdf@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bpf_tracing_net.h')
-rw-r--r-- | tools/testing/selftests/bpf/progs/bpf_tracing_net.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/progs/bpf_tracing_net.h b/tools/testing/selftests/bpf/progs/bpf_tracing_net.h index 1c1289ba5fc5..98dd2c4815f0 100644 --- a/tools/testing/selftests/bpf/progs/bpf_tracing_net.h +++ b/tools/testing/selftests/bpf/progs/bpf_tracing_net.h @@ -8,6 +8,7 @@ #define SOL_SOCKET 1 #define SO_SNDBUF 7 #define __SO_ACCEPTCON (1 << 16) +#define SO_PRIORITY 12 #define SOL_TCP 6 #define TCP_CONGESTION 13 |