Searched refs:lsm_run (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ptr_untrusted.c | 21 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 D | task_under_cgroup.c | 36 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 D | cgroup1_hierarchy.c | 16 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 D | test_ptr_untrusted.c | 10 int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
|
H A D | test_cgroup1_hierarchy.c | 54 int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
|
H A D | test_task_under_cgroup.c | 52 int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size) in BPF_PROG() argument
|