summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/verifier/unpriv.c
diff options
context:
space:
mode:
authorAndrei Matei <andreimatei1@gmail.com>2021-02-06 20:10:25 -0500
committerAlexei Starovoitov <ast@kernel.org>2021-02-10 10:44:19 -0800
commita680cb3d8e3f4f84205720b90c926579d04eedb6 (patch)
tree188871999a147071d840bd74f261e59004e06888 /tools/testing/selftests/bpf/verifier/unpriv.c
parent01f810ace9ed37255f27608a0864abebccf0aab3 (diff)
selftest/bpf: Adjust expected verifier errors
The verifier errors around stack accesses have changed slightly in the previous commit (generally for the better). Signed-off-by: Andrei Matei <andreimatei1@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210207011027.676572-3-andreimatei1@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/verifier/unpriv.c')
-rw-r--r--tools/testing/selftests/bpf/verifier/unpriv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/verifier/unpriv.c b/tools/testing/selftests/bpf/verifier/unpriv.c
index ee298627abae..b018ad71e0a8 100644
--- a/tools/testing/selftests/bpf/verifier/unpriv.c
+++ b/tools/testing/selftests/bpf/verifier/unpriv.c
@@ -108,7 +108,7 @@
BPF_EXIT_INSN(),
},
.fixup_map_hash_8b = { 3 },
- .errstr_unpriv = "invalid indirect read from stack off -8+0 size 8",
+ .errstr_unpriv = "invalid indirect read from stack R2 off -8+0 size 8",
.result_unpriv = REJECT,
.result = ACCEPT,
},