Searched refs:BPF_F_ALLOW_OVERRIDE (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_attach_override.c | 46 BPF_F_ALLOW_OVERRIDE), in serial_test_cgroup_attach_override() 64 BPF_F_ALLOW_OVERRIDE), in serial_test_cgroup_attach_override() 82 BPF_F_ALLOW_OVERRIDE), in serial_test_cgroup_attach_override() 96 BPF_F_ALLOW_OVERRIDE), in serial_test_cgroup_attach_override() 127 BPF_F_ALLOW_OVERRIDE), in serial_test_cgroup_attach_override() 133 BPF_F_ALLOW_OVERRIDE), in serial_test_cgroup_attach_override()
|
D | cgroup_attach_multi.c | 132 BPF_F_ALLOW_OVERRIDE), in serial_test_cgroup_attach_multi() 142 BPF_F_ALLOW_OVERRIDE), in serial_test_cgroup_attach_multi() 195 attach_opts.flags = BPF_F_ALLOW_OVERRIDE | BPF_F_REPLACE; in serial_test_cgroup_attach_multi()
|
/Linux-v6.6/tools/bpf/bpftool/ |
D | cgroup.c | 259 case BPF_F_ALLOW_OVERRIDE: in show_attached_bpf_progs() 545 attach_flags |= BPF_F_ALLOW_OVERRIDE; in do_attach()
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | test_sock.c | 410 return bpf_prog_attach(progfd, cgfd, attach_type, BPF_F_ALLOW_OVERRIDE); in attach_sock_prog()
|
D | test_sock_addr.c | 1331 BPF_F_ALLOW_OVERRIDE); in run_test_case()
|
D | test_sysctl.c | 1563 if (bpf_prog_attach(progfd, cgfd, atype, BPF_F_ALLOW_OVERRIDE) < 0) { in run_test_case()
|
/Linux-v6.6/kernel/bpf/ |
D | cgroup.c | 389 return !!(flags & BPF_F_ALLOW_OVERRIDE); in hierarchy_allows_attach() 612 u32 saved_flags = (flags & (BPF_F_ALLOW_OVERRIDE | BPF_F_ALLOW_MULTI)); in __cgroup_bpf_attach() 622 if (((flags & BPF_F_ALLOW_OVERRIDE) && (flags & BPF_F_ALLOW_MULTI)) || in __cgroup_bpf_attach()
|
D | syscall.c | 3784 (BPF_F_ALLOW_OVERRIDE | \
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf.h | 1119 #define BPF_F_ALLOW_OVERRIDE (1U << 0) macro
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 1119 #define BPF_F_ALLOW_OVERRIDE (1U << 0) macro
|