Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A Dptr_untrusted.c21 skel->links.lsm_run = bpf_program__attach_lsm(skel->progs.lsm_run); in serial_test_ptr_untrusted()
H A Dtask_under_cgroup.c36 skel->links.lsm_run = bpf_program__attach_lsm(skel->progs.lsm_run); in test_task_under_cgroup()
/linux/Documentation/bpf/
H A Dprog_lsm.rst122 using the libbpf helper ``bpf_program__attach_lsm``.
125 link returned by ``bpf_program__attach_lsm`` using ``bpf_link__destroy``.
/linux/tools/lib/bpf/
H A Dlibbpf.map157 bpf_program__attach_lsm;
H A Dlibbpf.h807 bpf_program__attach_lsm(const struct bpf_program *prog);
H A Dlibbpf.c12649 struct bpf_link *bpf_program__attach_lsm(const struct bpf_program *prog) in bpf_program__attach_lsm() function
12662 *link = bpf_program__attach_lsm(prog); in attach_lsm()