Home
last modified time | relevance | path

Searched refs:BPF_F_ALLOW_OVERRIDE (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dcgroup_attach_override.c46 BPF_F_ALLOW_OVERRIDE), in test_cgroup_attach_override()
64 BPF_F_ALLOW_OVERRIDE), in test_cgroup_attach_override()
82 BPF_F_ALLOW_OVERRIDE), in test_cgroup_attach_override()
96 BPF_F_ALLOW_OVERRIDE), in test_cgroup_attach_override()
127 BPF_F_ALLOW_OVERRIDE), in test_cgroup_attach_override()
133 BPF_F_ALLOW_OVERRIDE), in test_cgroup_attach_override()
Dcgroup_attach_multi.c132 BPF_F_ALLOW_OVERRIDE), in test_cgroup_attach_multi()
142 BPF_F_ALLOW_OVERRIDE), in test_cgroup_attach_multi()
195 attach_opts.flags = BPF_F_ALLOW_OVERRIDE | BPF_F_REPLACE; in test_cgroup_attach_multi()
/Linux-v5.15/tools/bpf/bpftool/
Dcgroup.c146 case BPF_F_ALLOW_OVERRIDE: in show_attached_bpf_progs()
415 attach_flags |= BPF_F_ALLOW_OVERRIDE; in do_attach()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_sock.c352 return bpf_prog_attach(progfd, cgfd, attach_type, BPF_F_ALLOW_OVERRIDE); in attach_sock_prog()
Dtest_sock_addr.c1322 BPF_F_ALLOW_OVERRIDE); in run_test_case()
Dtest_sysctl.c1569 if (bpf_prog_attach(progfd, cgfd, atype, BPF_F_ALLOW_OVERRIDE) == -1) { in run_test_case()
/Linux-v5.15/kernel/bpf/
Dcgroup.c215 return !!(flags & BPF_F_ALLOW_OVERRIDE); in hierarchy_allows_attach()
438 u32 saved_flags = (flags & (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI)); in __cgroup_bpf_attach()
447 if (((flags & BPF_F_ALLOW_OVERRIDE) && (flags & BPF_F_ALLOW_MULTI)) || in __cgroup_bpf_attach()
Dsyscall.c3151 (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI | BPF_F_REPLACE)
/Linux-v5.15/include/uapi/linux/
Dbpf.h1059 #define BPF_F_ALLOW_OVERRIDE (1U << 0) macro
/Linux-v5.15/tools/include/uapi/linux/
Dbpf.h1059 #define BPF_F_ALLOW_OVERRIDE (1U << 0) macro