Searched refs:BPF_F_ALLOW_OVERRIDE (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
| D | cgroup_attach_override.c | 46 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()
|
| D | cgroup_attach_multi.c | 132 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/ |
| D | cgroup.c | 146 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/ |
| D | test_sock.c | 352 return bpf_prog_attach(progfd, cgfd, attach_type, BPF_F_ALLOW_OVERRIDE); in attach_sock_prog()
|
| D | test_sock_addr.c | 1322 BPF_F_ALLOW_OVERRIDE); in run_test_case()
|
| D | test_sysctl.c | 1569 if (bpf_prog_attach(progfd, cgfd, atype, BPF_F_ALLOW_OVERRIDE) == -1) { in run_test_case()
|
| /Linux-v5.15/kernel/bpf/ |
| D | cgroup.c | 215 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()
|
| D | syscall.c | 3151 (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI | BPF_F_REPLACE)
|
| /Linux-v5.15/include/uapi/linux/ |
| D | bpf.h | 1059 #define BPF_F_ALLOW_OVERRIDE (1U << 0) macro
|
| /Linux-v5.15/tools/include/uapi/linux/ |
| D | bpf.h | 1059 #define BPF_F_ALLOW_OVERRIDE (1U << 0) macro
|