diff options
author | Daniel Borkmann <[email protected]> | 2024-09-13 21:17:51 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-09-13 13:17:56 -0700 |
commit | b8e188f023e07a733b47d5865311ade51878fe40 (patch) | |
tree | 925ab3c4507772df4e1d83e316d544a3b5ddd06a /scripts/gdb/linux/stackdepot.py | |
parent | 4b3786a6c5397dc220b1483d8e2f4867743e966f (diff) |
selftests/bpf: Fix ARG_PTR_TO_LONG {half-,}uninitialized test
The assumption of 'in privileged mode reads from uninitialized stack locations
are permitted' is not quite correct since the verifier was probing for read
access rather than write access. Both tests need to be annotated as __success
for privileged and unprivileged.
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions