Searched refs:BPF_LSM_MAC (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/verifier/ |
D | sleepable.c | 61 .expected_attach_type = BPF_LSM_MAC,
|
/Linux-v6.6/kernel/bpf/ |
D | trampoline.c | 115 (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()
|
D | syscall.c | 3113 if (prog->expected_attach_type != BPF_LSM_MAC) { in bpf_tracing_prog_attach() 3709 case BPF_LSM_MAC: in attach_type_to_prog_type()
|
D | btf.c | 5966 case BPF_LSM_MAC: in btf_ctx_access()
|
D | verifier.c | 19415 case BPF_LSM_MAC: in bpf_check_attach_target()
|
/Linux-v6.6/Documentation/bpf/libbpf/ |
D | program_types.rst | 102 | | ``BPF_LSM_MAC`` | ``lsm+`` [#l…
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_cookie.c | 558 lsm_fd = bpf_link_create(prog_fd, 0, BPF_LSM_MAC, &link_opts); in lsm_subtest()
|
/Linux-v6.6/tools/lib/bpf/ |
D | bpf.c | 784 case BPF_LSM_MAC: in bpf_link_create() 843 case BPF_LSM_MAC: in bpf_link_create()
|
D | libbpf.c | 108 [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/ |
D | bpf.h | 1021 BPF_LSM_MAC, enumerator
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 1021 BPF_LSM_MAC, enumerator
|