Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup1_hierarchy.c12 struct bpf_link *lsm_link, *fentry_link; in bpf_cgroup1() local
16 lsm_link = bpf_program__attach_lsm(skel->progs.lsm_run); in bpf_cgroup1()
17 if (!ASSERT_OK_PTR(lsm_link, "lsm_attach")) in bpf_cgroup1()
24 err = bpf_link__destroy(lsm_link); in bpf_cgroup1()
30 struct bpf_link *lsm_link, *fentry_link; in bpf_cgroup1_sleepable() local
34 lsm_link = bpf_program__attach_lsm(skel->progs.lsm_s_run); in bpf_cgroup1_sleepable()
35 if (!ASSERT_OK_PTR(lsm_link, "lsm_attach")) in bpf_cgroup1_sleepable()
42 err = bpf_link__destroy(lsm_link); in bpf_cgroup1_sleepable()
48 struct bpf_link *lsm_link, *fentry_link; in bpf_cgroup1_invalid_id() local
52 lsm_link = bpf_program__attach_lsm(skel->progs.lsm_run); in bpf_cgroup1_invalid_id()
[all …]