Rename verifier internal flag BPF_F_TEST_SANITY_STRICT to more neutral BPF_F_TEST_REG_INVARIANTS. This is a follow up to [0]. A few selftests and veristat need to be adjusted in the same patch as well. [0] https://patchwork.kernel.org/project/netdevbpf/patch/20231112010609.848406-5-andrii@kernel.org/
Showing the changes to include/uapi (1 of 13 files). Show all
Unified · Split
| @@ -1201,7 +1201,7 @@ enum bpf_perf_event_type { · 1200 unmodified lines | |||
| 1201 | #define BPF_F_XDP_DEV_BOUND_ONLY (1U << 6) | 1201 | #define BPF_F_XDP_DEV_BOUND_ONLY (1U << 6) |
| 1202 | 1202 | ||
| 1203 | /* The verifier internal test flag. Behavior is undefined */ | 1203 | /* The verifier internal test flag. Behavior is undefined */ |
| 1204 | #define BPF_F_TEST_SANITY_STRICT (1U << 7) | 1204 | #define BPF_F_TEST_REG_INVARIANTS (1U << 7) |
| 1205 | 1205 | ||
| 1206 | /* link_create.kprobe_multi.flags used in LINK_CREATE command for | 1206 | /* link_create.kprobe_multi.flags used in LINK_CREATE command for |
| 1207 | * BPF_TRACE_KPROBE_MULTI attach type to create return probe. | 1207 | * BPF_TRACE_KPROBE_MULTI attach type to create return probe. |