Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlsm_cgroup.c76 int alloc_prog_fd = -1; in test_lsm_cgroup_functional() local
103 alloc_prog_fd = bpf_program__fd(skel->progs.socket_alloc); in test_lsm_cgroup_functional()
108 err = bpf_prog_attach(alloc_prog_fd, cgroup_fd, BPF_LSM_CGROUP, 0); in test_lsm_cgroup_functional()
295 ASSERT_GE(bpf_prog_detach2(alloc_prog_fd, cgroup_fd, in test_lsm_cgroup_functional()