Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dptr_untrusted.c21 skel->links.lsm_run = bpf_program__attach_lsm(skel->progs.lsm_run); in serial_test_ptr_untrusted()
22 if (!ASSERT_OK_PTR(skel->links.lsm_run, "lsm_attach")) 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()
37 if (!ASSERT_OK_PTR(skel->links.lsm_run, "attach_lsm")) in test_task_under_cgroup()
H A Dcgroup1_hierarchy.c16 lsm_link = bpf_program__attach_lsm(skel->progs.lsm_run); in bpf_cgroup1()
52 lsm_link = bpf_program__attach_lsm(skel->progs.lsm_run); in bpf_cgroup1_invalid_id()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_ptr_untrusted.c10 int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
H A Dtest_cgroup1_hierarchy.c54 int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
H A Dtest_task_under_cgroup.c52 int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument