Home
last modified time | relevance | path

Searched refs:BPF_LSM_MAC (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/verifier/
Dsleepable.c61 .expected_attach_type = BPF_LSM_MAC,
/Linux-v6.6/kernel/bpf/
Dtrampoline.c115 (ptype == BPF_PROG_TYPE_LSM && eatype == BPF_LSM_MAC); in bpf_prog_has_trampoline()
500 case BPF_LSM_MAC: in bpf_attach_type_to_tramp()
652 p->expected_attach_type = BPF_LSM_MAC; in cgroup_shim_alloc()
Dsyscall.c3113 if (prog->expected_attach_type != BPF_LSM_MAC) { in bpf_tracing_prog_attach()
3709 case BPF_LSM_MAC: in attach_type_to_prog_type()
Dbtf.c5966 case BPF_LSM_MAC: in btf_ctx_access()
Dverifier.c19415 case BPF_LSM_MAC: in bpf_check_attach_target()
/Linux-v6.6/Documentation/bpf/libbpf/
Dprogram_types.rst102 | | ``BPF_LSM_MAC`` | ``lsm+`` [#l…
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbpf_cookie.c558 lsm_fd = bpf_link_create(prog_fd, 0, BPF_LSM_MAC, &link_opts); in lsm_subtest()
/Linux-v6.6/tools/lib/bpf/
Dbpf.c784 case BPF_LSM_MAC: in bpf_link_create()
843 case BPF_LSM_MAC: in bpf_link_create()
Dlibbpf.c108 [BPF_LSM_MAC] = "lsm_mac",
8809 SEC_DEF("lsm+", LSM, BPF_LSM_MAC, SEC_ATTACH_BTF, attach_lsm),
8810 SEC_DEF("lsm.s+", LSM, BPF_LSM_MAC, SEC_ATTACH_BTF | SEC_SLEEPABLE, attach_lsm),
9250 case BPF_LSM_MAC: in btf_get_kernel_prefix_kind()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1021 BPF_LSM_MAC, enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h1021 BPF_LSM_MAC, enumerator