Skip to content

Commit 62edbc3

Browse files
anakryikoqmonnet
authored andcommitted
bpf: rename BPF_F_TEST_SANITY_STRICT to BPF_F_TEST_REG_INVARIANTS
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/ Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20231117171404.225508-1-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent d4ac6ea commit 62edbc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/uapi/linux/bpf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ enum bpf_perf_event_type {
12011201
#define BPF_F_XDP_DEV_BOUND_ONLY (1U << 6)
12021202

12031203
/* 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)
12051205

12061206
/* link_create.kprobe_multi.flags used in LINK_CREATE command for
12071207
* BPF_TRACE_KPROBE_MULTI attach type to create return probe.

0 commit comments

Comments
 (0)