OSDN Git Service

selftests/bpf: add selftests for wide loads
authorStanislav Fomichev <sdf@google.com>
Mon, 15 Jul 2019 16:39:55 +0000 (09:39 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 15 Jul 2019 21:15:53 +0000 (23:15 +0200)
commit7dd8d6119d481da1c4619eb7d8cfef33edfbee81
tree30553573701ad411a3fd62a0ee5e0a914ee7ee32
parent8b45063c8584b3e6caff0b109dd0f47b35487aba
selftests/bpf: add selftests for wide loads

Mirror existing wide store tests with wide loads. The only significant
difference is expected error string.

Cc: Yonghong Song <yhs@fb.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/verifier/wide_access.c