commit | 227a89cf504188759fd3d8933a3a06fc60cca7f2 | [log] [tgz] |
---|---|---|
author | David Vernet <void@manifault.com> | Mon Nov 21 23:54:58 2022 -0600 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Nov 22 14:45:41 2022 -0800 |
tree | 7fec770a835ec1159b9e39d4097b62a5826330b9 | |
parent | 5ca7867078296cfa9c100f9a3b2d24be1e139825 [diff] |
selftests/bpf: Add selftests for bpf_cgroup_ancestor() kfunc bpf_cgroup_ancestor() allows BPF programs to access the ancestor of a struct cgroup *. This patch adds selftests that validate its expected behavior. Signed-off-by: David Vernet <void@manifault.com> Link: https://lore.kernel.org/r/20221122055458.173143-5-void@manifault.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>