Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dcgroup1_hierarchy.c16 lsm_link = bpf_program__attach_lsm(skel->progs.lsm_run); in bpf_cgroup1()
34 lsm_link = bpf_program__attach_lsm(skel->progs.lsm_s_run); in bpf_cgroup1_sleepable()
52 lsm_link = bpf_program__attach_lsm(skel->progs.lsm_run); in bpf_cgroup1_invalid_id()
Dptr_untrusted.c21 skel->links.lsm_run = bpf_program__attach_lsm(skel->progs.lsm_run); in serial_test_ptr_untrusted()
Dtask_under_cgroup.c36 skel->links.lsm_run = bpf_program__attach_lsm(skel->progs.lsm_run); in test_task_under_cgroup()
/linux-6.12.1/Documentation/bpf/
Dprog_lsm.rst122 using the libbpf helper ``bpf_program__attach_lsm``.
125 link returned by ``bpf_program__attach_lsm`` using ``bpf_link__destroy``.
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map157 bpf_program__attach_lsm;
Dlibbpf.h805 bpf_program__attach_lsm(const struct bpf_program *prog);
Dlibbpf.c12605 struct bpf_link *bpf_program__attach_lsm(const struct bpf_program *prog) in bpf_program__attach_lsm() function
12618 *link = bpf_program__attach_lsm(prog); in attach_lsm()