bpf: verifier: randomize high 32-bit when BPF_F_TEST_RND_HI32 is set
authorJiong Wang <jiong.wang@netronome.com>
Fri, 24 May 2019 22:25:18 +0000 (23:25 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 25 May 2019 01:58:37 +0000 (18:58 -0700)
commitd6c2308c742a655f4598364ab331959639aae166
tree32cb3095f2ab4222e39af08878b525ed3063ee18
parent9ce33e337facc678a9578f256752e39643dedf21
bpf: verifier: randomize high 32-bit when BPF_F_TEST_RND_HI32 is set

This patch randomizes high 32-bit of a definition when BPF_F_TEST_RND_HI32
is set.

Suggested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/verifier.c