selftests/bpf: fix test_align
authorAlexei Starovoitov <ast@fb.com>
Fri, 5 Jan 2018 23:02:00 +0000 (15:02 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 6 Jan 2018 23:10:32 +0000 (00:10 +0100)
commit2b36047e7889b7efee22c11e17f035f721855731
tree0d7ec4ba60ccb884e26837f97a0ff476e2a02e9e
parent5731a879d03bdaa00265f8ebc32dfd0e65d25276
selftests/bpf: fix test_align

since commit 82abbf8d2fc4 the verifier rejects the bit-wise
arithmetic on pointers earlier.
The test 'dubious pointer arithmetic' now has less output to match on.
Adjust it.

Fixes: 82abbf8d2fc4 ("bpf: do not allow root to mangle valid pointers")
Reported-by: kernel test robot <xiaolong.ye@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_align.c