Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Dsleepable.c59 .prog_type = BPF_PROG_TYPE_LSM,
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c133 case BPF_PROG_TYPE_LSM: in probe_prog_load()
423 case BPF_PROG_TYPE_LSM: in libbpf_probe_bpf_helper()
H A Dlibbpf.c209 [BPF_PROG_TYPE_LSM] = "lsm",
3033 prog->type == BPF_PROG_TYPE_LSM) in prog_needs_vmlinux_btf()
/openbmc/linux/kernel/bpf/
H A Dtrampoline.c115 (ptype == BPF_PROG_TYPE_LSM && eatype == BPF_LSM_MAC); in bpf_prog_has_trampoline()
651 p->type = BPF_PROG_TYPE_LSM; in cgroup_shim_alloc()
1012 if (resolve_prog_type(prog) == BPF_PROG_TYPE_LSM && in bpf_trampoline_enter()
1027 if (resolve_prog_type(prog) == BPF_PROG_TYPE_LSM && in bpf_trampoline_exit()
H A Dsyscall.c2447 case BPF_PROG_TYPE_LSM: in bpf_prog_load_check_attach()
2574 case BPF_PROG_TYPE_LSM: in is_perfmon_prog_type()
3181 case BPF_PROG_TYPE_LSM: in bpf_tracing_prog_attach()
3256 prog->type != BPF_PROG_TYPE_LSM) { in bpf_tracing_prog_attach()
3683 case BPF_PROG_TYPE_LSM: in bpf_raw_tp_link_attach()
3809 return BPF_PROG_TYPE_LSM; in attach_type_to_prog_type()
3815 return BPF_PROG_TYPE_LSM; in attach_type_to_prog_type()
3949 case BPF_PROG_TYPE_LSM: in bpf_prog_attach()
3950 if (ptype == BPF_PROG_TYPE_LSM && in bpf_prog_attach()
4014 case BPF_PROG_TYPE_LSM: in bpf_prog_detach()
[all …]
H A Dverifier.c10130 if (prog_type == BPF_PROG_TYPE_LSM && in check_helper_call()
14942 case BPF_PROG_TYPE_LSM: in check_return_code()
15046 case BPF_PROG_TYPE_LSM: in check_return_code()
15081 prog_type == BPF_PROG_TYPE_LSM && in check_return_code()
20045 case BPF_PROG_TYPE_LSM: in bpf_check_attach_target()
20118 return prog->type == BPF_PROG_TYPE_LSM || in BTF_SET_START()
20150 prog->type != BPF_PROG_TYPE_LSM && in check_attach_btf_id()
20186 if (prog->type == BPF_PROG_TYPE_LSM) { in check_attach_btf_id()
H A Dcore.c2293 case BPF_PROG_TYPE_LSM: in bpf_prog_map_compatible()
H A Dbtf.c5917 case BPF_PROG_TYPE_LSM: in prog_args_trusted()
7830 case BPF_PROG_TYPE_LSM: in bpf_prog_type_to_kfunc_hook()
/openbmc/linux/include/linux/
H A Dbpf_types.h76 BPF_PROG_TYPE(BPF_PROG_TYPE_LSM, lsm,
H A Dbpf_verifier.h773 case BPF_PROG_TYPE_LSM: in bpf_prog_check_recur()
/openbmc/linux/Documentation/bpf/libbpf/
H A Dprogram_types.rst100 | ``BPF_PROG_TYPE_LSM`` | ``BPF_LSM_CGROUP`` | ``lsm_cgroup…
/openbmc/linux/tools/bpf/bpftool/
H A Dgen.c554 case BPF_PROG_TYPE_LSM: in codegen_attach_detach()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1004 BPF_PROG_TYPE_LSM, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1004 BPF_PROG_TYPE_LSM, enumerator
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c1616 prog_type == BPF_PROG_TYPE_LSM) && test->kfunc) { in do_test_single()
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c955 if (prog->type == BPF_PROG_TYPE_LSM) in BTF_ID()