History

bpf: introduce verifier internal test flag

Introduce BPF_F_TEST_STATE_FREQ flag to stress test parentage chain and state pruning.

Alexei Starovoitov committed 7 years ago

Commit 10d274e1 parent 0bb52b04 files · +9 −1Browse files

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

Unified · Split

include/uapi/linux/bpf.h+3−0
@@ -285,6 +285,9 @@ enum bpf_attach_type { · 284 unmodified lines
285285 */
286286 #define BPF_F_TEST_RND_HI32 (1U << 2)
287287
288+/* The verifier internal test flag. Behavior is undefined */
289+#define BPF_F_TEST_STATE_FREQ (1U << 3)
290+
288291 /* When BPF ldimm64's insn[0].src_reg != 0 then this can have
289292 * two extensions:
290293 *