History

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/

Andrii Nakryiko committed 2 years ago

Commit ff8867a1 parent 5fa201f13 files · +24 −25Browse files

Showing the changes to include/uapi (1 of 13 files). Show all

Unified · Split

include/uapi/linux/bpf.h+1−1
@@ -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 for1206/* 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.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t