diff options
author | David Vernet <void@manifault.com> | 2022-12-07 14:49:11 -0600 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-12-07 17:11:24 -0800 |
commit | 36aa10ffd6480b93e32611411be4a8fc49804aba (patch) | |
tree | 0aff864f87bd286b0da3d0424e6156f56b03719c /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | 25c5e92d197bd721e706444c5910fd386c330456 (diff) |
bpf/docs: Document struct cgroup * kfuncs
bpf_cgroup_acquire(), bpf_cgroup_release(), bpf_cgroup_kptr_get(), and
bpf_cgroup_ancestor(), are kfuncs that were recently added to
kernel/bpf/helpers.c. These are "core" kfuncs in that they're available
for use in any tracepoint or struct_ops BPF program. Though they have no
ABI stability guarantees, we should still document them. This patch adds
a struct cgroup * subsection to the Core kfuncs section which describes
each of these kfuncs.
Signed-off-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20221207204911.873646-3-void@manifault.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions