Home
last modified time | relevance | path

Searched refs:link_legacy_eperm (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_getset_retval.c231 struct bpf_link *link_legacy_eperm = NULL, *link_get_retval = NULL; in test_setsockopt_legacy_eperm() local
244 link_legacy_eperm = bpf_program__attach_cgroup(obj->progs.legacy_eperm, in test_setsockopt_legacy_eperm()
246 if (!ASSERT_OK_PTR(link_legacy_eperm, "cg-attach-legacy_eperm")) in test_setsockopt_legacy_eperm()
267 bpf_link__destroy(link_legacy_eperm); in test_setsockopt_legacy_eperm()
276 struct bpf_link *link_set_eunatch = NULL, *link_legacy_eperm = NULL; in test_setsockopt_legacy_no_override() local
295 link_legacy_eperm = bpf_program__attach_cgroup(obj->progs.legacy_eperm, in test_setsockopt_legacy_no_override()
297 if (!ASSERT_OK_PTR(link_legacy_eperm, "cg-attach-legacy_eperm")) in test_setsockopt_legacy_no_override()
319 bpf_link__destroy(link_legacy_eperm); in test_setsockopt_legacy_no_override()