aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorJohn Fastabend <[email protected]>2020-05-24 16:50:33 +0000
committerAlexei Starovoitov <[email protected]>2020-06-01 21:38:20 +0000
commitabe3cac8706bffeda3ebc06e4a9fa6e9cadacf26 (patch)
treebc46d5b791ee91b93716a916cbafb802a9858cf0 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentlibbpf: Use .so dynamic symbols for abi check (diff)
downloadkernel-abe3cac8706bffeda3ebc06e4a9fa6e9cadacf26.tar.gz
kernel-abe3cac8706bffeda3ebc06e4a9fa6e9cadacf26.zip
bpf, sk_msg: Add some generic helpers that may be useful from sk_msg
Add these generic helpers that may be useful to use from sk_msg programs. The helpers do not depend on ctx so we can simply add them here, BPF_FUNC_perf_event_output BPF_FUNC_get_current_uid_gid BPF_FUNC_get_current_pid_tgid BPF_FUNC_get_current_cgroup_id BPF_FUNC_get_current_ancestor_cgroup_id BPF_FUNC_get_cgroup_classid Signed-off-by: John Fastabend <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/159033903373.12355.15489763099696629346.stgit@john-Precision-5820-Tower Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions