commit | 7cccee42bf76efc9de69fa2e5b8dbe58bfc8ecdf | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Sun Mar 29 20:00:01 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Mon Mar 30 17:36:41 2020 -0700 |
tree | 1d894047fd961e9736b3a45e3bca2da53ac7a5b5 | |
parent | cc4f864bb118e0ae7bf9f4e3418eaeb083aa34f2 [diff] |
selftests/bpf: Test FD-based cgroup attachment Add selftests to exercise FD-based cgroup BPF program attachments and their intermixing with legacy cgroup BPF attachments. Auto-detachment and program replacement (both unconditional and cmpxchng-like) are tested as well. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200330030001.2312810-5-andriin@fb.com