diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-07-01 10:38:41 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-07-08 16:22:55 +0200 |
commit | 76d950773cd2a365f492ce973429ae629d58131c (patch) | |
tree | 86a942c737a700f4d82bd74ab4a8b874d0ffd8ca /arch | |
parent | 4cfacbe6df972db4081dd76feb7871fce996118d (diff) |
selftests/bpf: add verifier tests for wide stores
Make sure that wide stores are allowed at proper (aligned) addresses.
Note that user_ip6 is naturally aligned on 8-byte boundary, so
correct addresses are user_ip6[0] and user_ip6[2]. msg_src_ip6 is,
however, aligned on a 4-byte bondary, so only msg_src_ip6[1]
can be wide-stored.
Cc: Andrii Nakryiko <andriin@fb.com>
Cc: Yonghong Song <yhs@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions